pub struct EdgeKey { /* private fields */ }Expand description
An undirected mesh edge, named by its two vertex indices in sorted order.
Sorting is what makes the name canonical: the two faces sharing an edge visit it in opposite directions, and both must produce the same key.
Implementations§
Trait Implementations§
Source§impl Ord for EdgeKey
impl Ord for EdgeKey
Source§impl PartialOrd for EdgeKey
impl PartialOrd for EdgeKey
impl Copy for EdgeKey
impl Eq for EdgeKey
impl StructuralPartialEq for EdgeKey
Auto Trait Implementations§
impl Freeze for EdgeKey
impl RefUnwindSafe for EdgeKey
impl Send for EdgeKey
impl Sync for EdgeKey
impl Unpin for EdgeKey
impl UnwindSafe for EdgeKey
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