Add PointId::into_inner() helper for bindings

This commit is contained in:
Dirkjan Ochtman 2021-03-17 16:42:41 +01:00
parent 55ead5da9c
commit 27c65be250
1 changed files with 5 additions and 0 deletions

View File

@ -246,6 +246,11 @@ impl PointId {
pub fn is_valid(self) -> bool { pub fn is_valid(self) -> bool {
self.0 != u32::MAX self.0 != u32::MAX
} }
#[doc(hidden)]
pub fn into_inner(self) -> u32 {
self.0
}
} }
impl Default for PointId { impl Default for PointId {