pub enum EdgeInsertID {
Nothing,
OneEdge(usize),
TwoEdges(usize, usize),
}
Expand description
Variants§
Nothing
No need to insert anything
OneEdge(usize)
Inserted one node, return the node id
TwoEdges(usize, usize)
Inserted two nodes, return these node ids
Trait Implementations§
Source§impl Clone for EdgeInsertID
impl Clone for EdgeInsertID
Source§fn clone(&self) -> EdgeInsertID
fn clone(&self) -> EdgeInsertID
Returns a copy 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 Debug for EdgeInsertID
impl Debug for EdgeInsertID
Source§impl PartialEq for EdgeInsertID
impl PartialEq for EdgeInsertID
impl Copy for EdgeInsertID
impl Eq for EdgeInsertID
impl StructuralPartialEq for EdgeInsertID
Auto Trait Implementations§
impl Freeze for EdgeInsertID
impl RefUnwindSafe for EdgeInsertID
impl Send for EdgeInsertID
impl Sync for EdgeInsertID
impl Unpin for EdgeInsertID
impl UnwindSafe for EdgeInsertID
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