[][src]Struct broccoli::node::VistrMut

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

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

Implementations

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

pub fn new(inner: VistrMut<'a, N, PreOrder>) -> Self[src]

pub fn borrow_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.

pub fn into_slice(self) -> PMut<'a, [N]>[src]

Methods from Deref<Target = Vistr<'a, N>>

pub fn borrow(&self) -> Vistr<'_, T, D>[src]

Trait Implementations

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

type Target = Vistr<'a, N>

The resulting type after dereferencing.

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

impl<'a, N> 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
[src]

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

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

impl<'a, N> Unpin for VistrMut<'a, N>[src]

impl<'a, N> !UnwindSafe for VistrMut<'a, N>[src]

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> Pointable for T

type Init = T

The type for initializers.

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.