pub enum EdgeQuery {
EdgeID(usize),
Directed(DirectedEdge),
Undirected(UndirectedEdge),
Dynamic(IndeterminateEdge),
}
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
Dynamic(IndeterminateEdge)
Account for the fact that the graph is dynamic
Trait Implementations§
Source§impl From<DirectedEdge> for EdgeQuery
impl From<DirectedEdge> for EdgeQuery
Source§fn from(edge: DirectedEdge) -> EdgeQuery
fn from(edge: DirectedEdge) -> EdgeQuery
Converts to this type from the input type.
Source§impl From<UndirectedEdge> for EdgeQuery
impl From<UndirectedEdge> for EdgeQuery
Source§fn from(edge: UndirectedEdge) -> EdgeQuery
fn from(edge: UndirectedEdge) -> EdgeQuery
Converts to this type from the input type.
impl Copy for EdgeQuery
impl Eq for EdgeQuery
impl StructuralPartialEq for EdgeQuery
Auto Trait Implementations§
impl Freeze for EdgeQuery
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