[][src]Struct dinotree_alg::prelude::VistrMut

#[repr(transparent)]
pub struct VistrMut<'a, N: NodeTrait> { /* fields omitted */ }

Tree Iterator that returns a protected mutable reference to each node.

Methods

impl<'a, N: NodeTrait> VistrMut<'a, N>[src]

pub fn create_wrap_mut(&mut self) -> VistrMut<N>[src]

It is safe to borrow the iterator and then produce mutable references from that as long as by the time the borrow ends, all the produced references also go away.

Trait Implementations

impl<'a, N: NodeTrait> Deref for VistrMut<'a, N>[src]

type Target = Vistr<'a, N>

The resulting type after dereferencing.

impl<'a, N: NodeTrait> FixedDepthVisitor for VistrMut<'a, N>[src]

impl<'a, N: NodeTrait> Visitor for VistrMut<'a, N>[src]

type Item = ProtectedNode<'a, N>

The common item produced for both leafs and non leafs.

Auto Trait Implementations

impl<'a, N> Unpin for VistrMut<'a, N>

impl<'a, N> Send for VistrMut<'a, N> where
    N: Send

impl<'a, N> Sync for VistrMut<'a, N> where
    N: Sync

impl<'a, N> !UnwindSafe for VistrMut<'a, N>

impl<'a, N> RefUnwindSafe for VistrMut<'a, N> where
    N: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]