Enum charcoal::traversal::VisitorDirection [−][src]
The direction in which a visitor wishes to go after visiting a node.
Variants
Visit the parent of the node which has been visited.
Visit the sibling of the node which has been visited.
Child(u32)
Visit the n
-th child of the node which has been visited.
Visit a specific cursor.
Used when the traversable cannot figure out where to go on its own, for example if a visitor removes the node it was on.
Stop the execution of the algorithm, producing a final value.
Trait Implementations
impl<C: Clone + Debug + Eq, V: Clone> Clone for VisitorDirection<C, V>
[src]
fn clone(&self) -> VisitorDirection<C, V>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Copy + Clone + Debug + Eq, V: Copy> Copy for VisitorDirection<C, V>
[src]
impl<C: Debug + Clone + Eq, V: Debug> Debug for VisitorDirection<C, V>
[src]
impl<C: Eq + Clone + Debug, V: Eq> Eq for VisitorDirection<C, V>
[src]
impl<C: Hash + Clone + Debug + Eq, V: Hash> Hash for VisitorDirection<C, V>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<C: PartialEq + Clone + Debug + Eq, V: PartialEq> PartialEq<VisitorDirection<C, V>> for VisitorDirection<C, V>
[src]
fn eq(&self, other: &VisitorDirection<C, V>) -> bool
[src]
fn ne(&self, other: &VisitorDirection<C, V>) -> bool
[src]
impl<C: Clone + Debug + Eq, V> StructuralEq for VisitorDirection<C, V>
[src]
impl<C: Clone + Debug + Eq, V> StructuralPartialEq for VisitorDirection<C, V>
[src]
Auto Trait Implementations
impl<C, V> RefUnwindSafe for VisitorDirection<C, V> where
C: RefUnwindSafe,
V: RefUnwindSafe,
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<C, V> Send for VisitorDirection<C, V> where
C: Send,
V: Send,
C: Send,
V: Send,
impl<C, V> Sync for VisitorDirection<C, V> where
C: Sync,
V: Sync,
C: Sync,
V: Sync,
impl<C, V> Unpin for VisitorDirection<C, V> where
C: Unpin,
V: Unpin,
C: Unpin,
V: Unpin,
impl<C, V> UnwindSafe for VisitorDirection<C, V> where
C: UnwindSafe,
V: UnwindSafe,
C: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,