#[repr(transparent)]pub struct PolygonType(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for PolygonType
impl Clone for PolygonType
Source§fn clone(&self) -> PolygonType
fn clone(&self) -> PolygonType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolygonType
impl Debug for PolygonType
Source§impl Default for PolygonType
impl Default for PolygonType
Source§fn default() -> PolygonType
fn default() -> PolygonType
Returns the “default value” for a type. Read more
Source§impl From<PolygonType> for usize
impl From<PolygonType> for usize
Source§fn from(value: PolygonType) -> Self
fn from(value: PolygonType) -> Self
Converts to this type from the input type.
Source§impl From<usize> for PolygonType
impl From<usize> for PolygonType
Source§impl Hash for PolygonType
impl Hash for PolygonType
Source§impl Ord for PolygonType
impl Ord for PolygonType
Source§fn cmp(&self, other: &PolygonType) -> Ordering
fn cmp(&self, other: &PolygonType) -> Ordering
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 PartialEq for PolygonType
impl PartialEq for PolygonType
Source§fn eq(&self, other: &PolygonType) -> bool
fn eq(&self, other: &PolygonType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PolygonType
impl PartialOrd for PolygonType
impl Copy for PolygonType
impl Eq for PolygonType
impl StructuralPartialEq for PolygonType
Auto Trait Implementations§
impl Freeze for PolygonType
impl RefUnwindSafe for PolygonType
impl Send for PolygonType
impl Sync for PolygonType
impl Unpin for PolygonType
impl UnsafeUnpin for PolygonType
impl UnwindSafe for PolygonType
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