pub enum GraphOperation {
AddVertex(u32),
RemoveVertex(usize),
AddEdge(usize, usize),
RemoveEdge(usize),
}
Variants§
Trait Implementations§
Source§impl Clone for GraphOperation
impl Clone for GraphOperation
Source§fn clone(&self) -> GraphOperation
fn clone(&self) -> GraphOperation
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 moreAuto Trait Implementations§
impl Freeze for GraphOperation
impl RefUnwindSafe for GraphOperation
impl Send for GraphOperation
impl Sync for GraphOperation
impl Unpin for GraphOperation
impl UnwindSafe for GraphOperation
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