Enum graph_types::EdgeQuery
source · pub enum EdgeQuery {
EdgeID(usize),
Directed(DirectedEdge),
Undirected(UndirectedEdge),
}
Expand description
Variants§
EdgeID(usize)
No need to remove anything
Directed(DirectedEdge)
Removed one node, return the node id
Undirected(UndirectedEdge)
Removed two nodes, return these node ids
Trait Implementations§
source§impl From<DirectedEdge> for EdgeQuery
impl From<DirectedEdge> for EdgeQuery
source§fn from(edge: DirectedEdge) -> Self
fn from(edge: DirectedEdge) -> Self
Converts to this type from the input type.
source§impl From<UndirectedEdge> for EdgeQuery
impl From<UndirectedEdge> for EdgeQuery
source§fn from(edge: UndirectedEdge) -> Self
fn from(edge: UndirectedEdge) -> Self
Converts to this type from the input type.
source§impl PartialEq<EdgeQuery> for EdgeQuery
impl PartialEq<EdgeQuery> for EdgeQuery
impl Copy for EdgeQuery
impl Eq for EdgeQuery
impl StructuralEq for EdgeQuery
impl StructuralPartialEq for EdgeQuery
Auto Trait Implementations§
impl RefUnwindSafe for EdgeQuery
impl Send for EdgeQuery
impl Sync for EdgeQuery
impl Unpin for EdgeQuery
impl UnwindSafe for EdgeQuery
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