pub struct FilteredEdge<G> {
pub grade: G,
pub edge: BareEdge,
}Expand description
An edge with its associated critical grade.
Fields§
§grade: GThe critical grade of this edge.
edge: BareEdgeThe endpoints of this edge.
Trait Implementations§
Source§impl<G: Clone> Clone for FilteredEdge<G>
impl<G: Clone> Clone for FilteredEdge<G>
Source§fn clone(&self) -> FilteredEdge<G>
fn clone(&self) -> FilteredEdge<G>
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<G: Debug> Debug for FilteredEdge<G>
impl<G: Debug> Debug for FilteredEdge<G>
Source§impl<G: Display> Display for FilteredEdge<G>
impl<G: Display> Display for FilteredEdge<G>
Source§impl<G> Edge for FilteredEdge<G>
impl<G> Edge for FilteredEdge<G>
Source§impl<G> From<FilteredEdge<G>> for BareEdge
impl<G> From<FilteredEdge<G>> for BareEdge
Source§fn from(e: FilteredEdge<G>) -> Self
fn from(e: FilteredEdge<G>) -> Self
Converts to this type from the input type.
Source§impl<G: Hash> Hash for FilteredEdge<G>
impl<G: Hash> Hash for FilteredEdge<G>
Source§impl<G: Ord> Ord for FilteredEdge<G>
Implements a lexicographic ordering.
First lexicographically compare the grades, and resolve ties by comparing edges.
impl<G: Ord> Ord for FilteredEdge<G>
Implements a lexicographic ordering. First lexicographically compare the grades, and resolve ties by comparing edges.
Source§impl<G: PartialEq> PartialEq for FilteredEdge<G>
impl<G: PartialEq> PartialEq for FilteredEdge<G>
Source§impl<G: Ord> PartialOrd for FilteredEdge<G>
Implements a total ordering, same as .cmp().
impl<G: Ord> PartialOrd for FilteredEdge<G>
Implements a total ordering, same as .cmp().
impl<G: Copy> Copy for FilteredEdge<G>
impl<G: Eq> Eq for FilteredEdge<G>
impl<G> StructuralPartialEq for FilteredEdge<G>
Auto Trait Implementations§
impl<G> Freeze for FilteredEdge<G>where
G: Freeze,
impl<G> RefUnwindSafe for FilteredEdge<G>where
G: RefUnwindSafe,
impl<G> Send for FilteredEdge<G>where
G: Send,
impl<G> Sync for FilteredEdge<G>where
G: Sync,
impl<G> Unpin for FilteredEdge<G>where
G: Unpin,
impl<G> UnwindSafe for FilteredEdge<G>where
G: 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