pub struct VertexIndex(pub u32);Expand description
Index of a corner-table vertex.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for VertexIndex
impl Clone for VertexIndex
Source§fn clone(&self) -> VertexIndex
fn clone(&self) -> VertexIndex
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 moreimpl Copy for VertexIndex
Source§impl Debug for VertexIndex
impl Debug for VertexIndex
impl Eq for VertexIndex
Source§impl Hash for VertexIndex
impl Hash for VertexIndex
Source§impl Ord for VertexIndex
impl Ord for VertexIndex
Source§fn cmp(&self, other: &VertexIndex) -> Ordering
fn cmp(&self, other: &VertexIndex) -> 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 VertexIndex
impl PartialEq for VertexIndex
Source§fn eq(&self, other: &VertexIndex) -> bool
fn eq(&self, other: &VertexIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VertexIndex
impl PartialOrd for VertexIndex
impl StructuralPartialEq for VertexIndex
Auto Trait Implementations§
impl Freeze for VertexIndex
impl RefUnwindSafe for VertexIndex
impl Send for VertexIndex
impl Sync for VertexIndex
impl Unpin for VertexIndex
impl UnsafeUnpin for VertexIndex
impl UnwindSafe for VertexIndex
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