pub enum ExpandDirection {
Down,
Up,
Both,
Semantic,
}Expand description
Direction for expansion.
Variants§
Down
Expand to children (descendants).
Up
Expand to parents (ancestors).
Both
Expand in both directions.
Semantic
Expand via semantic edges only.
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 From<ExpandDirection> for ExpandDirection
impl From<ExpandDirection> for ExpandDirection
Source§fn from(d: ExpandDirection) -> Self
fn from(d: ExpandDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExpandDirection
impl PartialEq 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