pub struct RingId(pub u16);Expand description
Identifies a ring of a Polygon. Ring 0 is always the outer boundary.
Tuple Fields§
§0: u16Trait Implementations§
impl Copy for RingId
Source§impl<'de> Deserialize<'de> for RingId
impl<'de> Deserialize<'de> for RingId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RingId
Source§impl Ord for RingId
impl Ord for RingId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RingId
impl PartialOrd for RingId
impl StructuralPartialEq for RingId
Auto Trait Implementations§
impl Freeze for RingId
impl RefUnwindSafe for RingId
impl Send for RingId
impl Sync for RingId
impl Unpin for RingId
impl UnsafeUnpin for RingId
impl UnwindSafe for RingId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more