Enum graph_types::Query
source · pub enum Query {
NodeID(usize),
EdgeID(usize),
Directed(DirectedEdge),
Undirected(UndirectedEdge),
}
Expand description
Variants§
NodeID(usize)
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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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