Skip to main content

Walk

Struct Walk 

Source
pub struct Walk<K> { /* private fields */ }

Implementations§

Source§

impl<K: Clone + Eq + Hash> Walk<K>

Source

pub fn enter(&mut self, key: K) -> Visit<'_, K>

Source

pub fn leave(&mut self)

Source

pub fn backtrack(&mut self)

Source

pub fn path(&self) -> &[K]

Trait Implementations§

Source§

impl<K: Clone + Eq + Hash> Default for Walk<K>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<K> Forget for Walk<K>

§

impl<K> Freeze for Walk<K>
where *const u8 is !null: Freeze, PhantomData<(K, Mark)>: Freeze, PhantomData<K>: Freeze,

§

impl<K> Move for Walk<K>

§

impl<K> RefUnwindSafe for Walk<K>
where K: RefUnwindSafe,

§

impl<K> Send for Walk<K>
where K: Send, RawTable<(K, Mark)>: Send, RawVecInner: Send,

§

impl<K> Sync for Walk<K>
where K: Sync, RawTable<(K, Mark)>: Sync, RawVecInner: Sync,

§

impl<K> Unpin for Walk<K>
where K: Unpin, *const u8 is !null: Unpin,

§

impl<K> UnsafeUnpin for Walk<K>

§

impl<K> UnwindSafe for Walk<K>
where HashMap<K, Mark, FxBuildHasher>: UnwindSafe, RawVecInner: UnwindSafe, K: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.