Struct hypergraph::HyperedgeIndex
source · [−]pub struct HyperedgeIndex(pub usize);Expand description
Hyperedge stable index representation as usize. Uses the newtype index pattern. https://matklad.github.io/2018/06/04/newtype-index-pattern.html
Tuple Fields
0: usizeTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for HyperedgeIndex
impl Send for HyperedgeIndex
impl Sync for HyperedgeIndex
impl Unpin for HyperedgeIndex
impl UnwindSafe for HyperedgeIndex
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.