#[non_exhaustive]pub enum GraphMatchDirection {
Left,
Undirected,
Right,
LeftOrUndirected,
UndirectedOrRight,
LeftOrRight,
LeftOrUndirectedOrRight,
}Expand description
The direction of an edge
| Orientation | Edge pattern | Abbreviation |
|---|---|---|
| Pointing left | <−[ spec ]− | <− |
| Undirected | ~ | |
| Pointing right | −[ spec ]−> | −> |
| Left or undirected | < | <~ |
| Undirected or right | ~> | |
| Left or right | <−[ spec ]−> | <−> |
| Left, undirected or right | −[ spec ]− | − |
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for GraphMatchDirection
impl Clone for GraphMatchDirection
Source§impl Debug for GraphMatchDirection
impl Debug for GraphMatchDirection
impl Eq for GraphMatchDirection
Source§impl PartialEq for GraphMatchDirection
impl PartialEq for GraphMatchDirection
impl StructuralPartialEq for GraphMatchDirection
Auto Trait Implementations§
impl Freeze for GraphMatchDirection
impl RefUnwindSafe for GraphMatchDirection
impl Send for GraphMatchDirection
impl Sync for GraphMatchDirection
impl Unpin for GraphMatchDirection
impl UnsafeUnpin for GraphMatchDirection
impl UnwindSafe for GraphMatchDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.