pub struct CdtEdge<UE>(/* private fields */);
Expand description
Undirected edge type of a ConstrainedDelaunayTriangulation (CDT).
CDTs need to store if an undirected edge is a constrained edge. To do so, CDTs don’t use
the configured undirected edge type directly but wrap it into CdtEdge<UE>
first.
This type will only be relevant if the triangulation’s undirected edge type is being overwritten.
§Type parameters
UE: The user configurable undirected edge type.
Implementations§
Trait Implementations§
source§impl<UE: Ord> Ord for CdtEdge<UE>
impl<UE: Ord> Ord for CdtEdge<UE>
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<UE: PartialEq> PartialEq for CdtEdge<UE>
impl<UE: PartialEq> PartialEq for CdtEdge<UE>
source§impl<UE: PartialOrd> PartialOrd for CdtEdge<UE>
impl<UE: PartialOrd> PartialOrd for CdtEdge<UE>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<UE: Copy> Copy for CdtEdge<UE>
impl<UE: Eq> Eq for CdtEdge<UE>
impl<UE> StructuralPartialEq for CdtEdge<UE>
Auto Trait Implementations§
impl<UE> Freeze for CdtEdge<UE>where
UE: Freeze,
impl<UE> RefUnwindSafe for CdtEdge<UE>where
UE: RefUnwindSafe,
impl<UE> Send for CdtEdge<UE>where
UE: Send,
impl<UE> Sync for CdtEdge<UE>where
UE: Sync,
impl<UE> Unpin for CdtEdge<UE>where
UE: Unpin,
impl<UE> UnwindSafe for CdtEdge<UE>where
UE: UnwindSafe,
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