pub enum ExpandDirection {
Down,
Up,
Both,
Semantic,
}Expand description
Direction for graph expansion
Variants§
Down
Expand to children (BFS)
Up
Expand to ancestors
Both
Expand both directions
Semantic
Follow semantic edges only
Implementations§
Trait Implementations§
Source§impl Clone for ExpandDirection
impl Clone for ExpandDirection
Source§fn clone(&self) -> ExpandDirection
fn clone(&self) -> ExpandDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExpandDirection
impl Debug for ExpandDirection
Source§impl Default for ExpandDirection
impl Default for ExpandDirection
Source§fn default() -> ExpandDirection
fn default() -> ExpandDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpandDirection
impl<'de> Deserialize<'de> for ExpandDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExpandDirection
impl PartialEq for ExpandDirection
Source§impl Serialize for ExpandDirection
impl Serialize for ExpandDirection
impl Copy for ExpandDirection
impl Eq for ExpandDirection
impl StructuralPartialEq for ExpandDirection
Auto Trait Implementations§
impl Freeze for ExpandDirection
impl RefUnwindSafe for ExpandDirection
impl Send for ExpandDirection
impl Sync for ExpandDirection
impl Unpin for ExpandDirection
impl UnwindSafe for ExpandDirection
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