pub struct CornerIndex(pub u32);Expand description
Index of a corner in triangle corner-table topology.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Add<u32> for CornerIndex
impl Add<u32> for CornerIndex
Source§type Output = CornerIndex
type Output = CornerIndex
The resulting type after applying the
+ operator.Source§impl Clone for CornerIndex
impl Clone for CornerIndex
Source§fn clone(&self) -> CornerIndex
fn clone(&self) -> CornerIndex
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 CornerIndex
Source§impl Debug for CornerIndex
impl Debug for CornerIndex
impl Eq for CornerIndex
Source§impl From<CornerIndex> for u32
impl From<CornerIndex> for u32
Source§fn from(ci: CornerIndex) -> u32
fn from(ci: CornerIndex) -> u32
Converts to this type from the input type.
Source§impl Hash for CornerIndex
impl Hash for CornerIndex
Source§impl Ord for CornerIndex
impl Ord for CornerIndex
Source§fn cmp(&self, other: &CornerIndex) -> Ordering
fn cmp(&self, other: &CornerIndex) -> 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 CornerIndex
impl PartialEq for CornerIndex
Source§fn eq(&self, other: &CornerIndex) -> bool
fn eq(&self, other: &CornerIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CornerIndex
impl PartialOrd for CornerIndex
impl StructuralPartialEq for CornerIndex
Source§impl Sub<u32> for CornerIndex
impl Sub<u32> for CornerIndex
Source§type Output = CornerIndex
type Output = CornerIndex
The resulting type after applying the
- operator.Auto Trait Implementations§
impl Freeze for CornerIndex
impl RefUnwindSafe for CornerIndex
impl Send for CornerIndex
impl Sync for CornerIndex
impl Unpin for CornerIndex
impl UnsafeUnpin for CornerIndex
impl UnwindSafe for CornerIndex
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