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

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

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

Methods

impl<'a, N: Node> 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: Node> Deref for VistrMut<'a, N>[src]

type Target = Vistr<'a, N>

The resulting type after dereferencing.

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

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

type Item = PMut<'a, N>

The common item produced for both leafs and non leafs.

Auto Trait Implementations

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

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> Unpin for VistrMut<'a, N>

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

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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.