pub struct VertexId(pub usize);Expand description
Stable index into a HypergraphRule::vertices vector.
Allocated in first-appearance order during construction. Two
Vertexes with the same logical variable name share one
VertexId. Used by Hyperedge::vertex_positions and
crate::hypergraph::var_order::VariableOrder implementations.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Ord for VertexId
impl Ord for VertexId
Source§impl PartialOrd for VertexId
impl PartialOrd for VertexId
impl Copy for VertexId
impl Eq for VertexId
impl StructuralPartialEq for VertexId
Auto Trait Implementations§
impl Freeze for VertexId
impl RefUnwindSafe for VertexId
impl Send for VertexId
impl Sync for VertexId
impl Unpin for VertexId
impl UnsafeUnpin for VertexId
impl UnwindSafe for VertexId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more