Add PointId::into_inner() helper for bindings

This commit is contained in:
Dirkjan Ochtman 2021-03-17 16:42:41 +01:00
parent 349582b5b1
commit 28d18d451e
1 changed files with 5 additions and 0 deletions

View File

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