pub enum EdgeSide {
Left,
Right,
Both,
}
Expand description
EdgeSide
is used to indicate which side of the edge caused an error.
Usually returned as Result::Err(EdgeSide) by the VariableEdges::add_edge() method when
it was impossible to add the edge due to the absence of one of the concerned vertexes.
Can be used by user defined functions or types for error handling.
Variants§
Trait Implementations§
impl Eq for EdgeSide
impl StructuralPartialEq for EdgeSide
Auto Trait Implementations§
impl Freeze for EdgeSide
impl RefUnwindSafe for EdgeSide
impl Send for EdgeSide
impl Sync for EdgeSide
impl Unpin for EdgeSide
impl UnwindSafe for EdgeSide
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