pub struct HalfEdgeId(/* private fields */);Expand description
An index pointing to a half-edge.
This is just a thin newtype wrapper over usize for clarity and to disambiguate it from other index types. Use the [id()] method to access the underlying index.
Implementations§
Trait Implementations§
Source§impl Clone for HalfEdgeId
impl Clone for HalfEdgeId
Source§fn clone(&self) -> HalfEdgeId
fn clone(&self) -> HalfEdgeId
Returns a duplicate of the value. Read more
1.0.0 · 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 HalfEdgeId
impl Debug for HalfEdgeId
Source§impl Ord for HalfEdgeId
impl Ord for HalfEdgeId
Source§fn cmp(&self, other: &HalfEdgeId) -> Ordering
fn cmp(&self, other: &HalfEdgeId) -> Ordering
1.21.0 · 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 HalfEdgeId
impl PartialEq for HalfEdgeId
Source§impl PartialOrd for HalfEdgeId
impl PartialOrd for HalfEdgeId
impl Copy for HalfEdgeId
impl Eq for HalfEdgeId
impl StructuralPartialEq for HalfEdgeId
Auto Trait Implementations§
impl Freeze for HalfEdgeId
impl RefUnwindSafe for HalfEdgeId
impl Send for HalfEdgeId
impl Sync for HalfEdgeId
impl Unpin for HalfEdgeId
impl UnsafeUnpin for HalfEdgeId
impl UnwindSafe for HalfEdgeId
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