Enum graph_types::EdgeRemoveAction
source · pub enum EdgeRemoveAction {
EdgeID(usize),
Directed(DirectedEdge),
Undirected(UndirectedEdge),
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for EdgeRemoveAction
impl Clone for EdgeRemoveAction
source§fn clone(&self) -> EdgeRemoveAction
fn clone(&self) -> EdgeRemoveAction
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 EdgeRemoveAction
impl Debug for EdgeRemoveAction
source§impl From<DirectedEdge> for EdgeRemoveAction
impl From<DirectedEdge> for EdgeRemoveAction
source§fn from(edge: DirectedEdge) -> Self
fn from(edge: DirectedEdge) -> Self
Converts to this type from the input type.
source§impl From<UndirectedEdge> for EdgeRemoveAction
impl From<UndirectedEdge> for EdgeRemoveAction
source§fn from(edge: UndirectedEdge) -> Self
fn from(edge: UndirectedEdge) -> Self
Converts to this type from the input type.
source§impl From<usize> for EdgeRemoveAction
impl From<usize> for EdgeRemoveAction
source§impl PartialEq<EdgeRemoveAction> for EdgeRemoveAction
impl PartialEq<EdgeRemoveAction> for EdgeRemoveAction
source§fn eq(&self, other: &EdgeRemoveAction) -> bool
fn eq(&self, other: &EdgeRemoveAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EdgeRemoveAction
impl Eq for EdgeRemoveAction
impl StructuralEq for EdgeRemoveAction
impl StructuralPartialEq for EdgeRemoveAction
Auto Trait Implementations§
impl RefUnwindSafe for EdgeRemoveAction
impl Send for EdgeRemoveAction
impl Sync for EdgeRemoveAction
impl Unpin for EdgeRemoveAction
impl UnwindSafe for EdgeRemoveAction
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