pub type Operation = UpdateOperation<AddVertex, RemoveVertex, AddEdge, RemoveEdge>;Expand description
An update operation for Graph.
Aliased Type§
pub enum Operation {
AddVertex(AddVertex),
RemoveVertex(RemoveVertex),
AddEdge(AddEdge),
RemoveEdge(RemoveEdge),
}Variants§
Trait Implementations§
Source§impl From<RemoveEdge> for Operation
impl From<RemoveEdge> for Operation
Source§fn from(e: RemoveEdge) -> Self
fn from(e: RemoveEdge) -> Self
Converts to this type from the input type.
Source§impl From<RemoveVertex> for Operation
impl From<RemoveVertex> for Operation
Source§fn from(v: RemoveVertex) -> Self
fn from(v: RemoveVertex) -> Self
Converts to this type from the input type.