Add PointId::into_inner() helper for bindings
This commit is contained in:
parent
349582b5b1
commit
28d18d451e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue