pub enum Walk {
Into,
Past,
}Expand description
Whether a walk_nodes visitor goes on into the children of the node it was handed.
Variants§
Into
Visit the node’s children too.
Past
Leave the node’s children unvisited — another scope’s, say: a function’s body is not the scope that defines the function.
Trait Implementations§
impl Copy for Walk
impl Eq for Walk
impl StructuralPartialEq for Walk
Auto Trait Implementations§
impl Freeze for Walk
impl RefUnwindSafe for Walk
impl Send for Walk
impl Sync for Walk
impl Unpin for Walk
impl UnsafeUnpin for Walk
impl UnwindSafe for Walk
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.