[][src]Struct dinotree_alg::util::PreVecMut

pub struct PreVecMut<T> { /* fields omitted */ }

An vec api to avoid excessive dynamic allocation by reusing a Vec

Implementations

impl<T> PreVecMut<T>[src]

pub fn new() -> PreVecMut<T>[src]

pub fn get_empty_vec_mut<'a, 'b: 'a>(&'a mut self) -> &'a mut Vec<PMut<'b, T>>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

Clears the vec and returns a mutable reference to a vec.

Trait Implementations

impl<T: Default> Default for PreVecMut<T>[src]

impl<T> Send for PreVecMut<T>[src]

impl<T> Sync for PreVecMut<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for PreVecMut<T> where
    T: RefUnwindSafe

impl<T> Unpin for PreVecMut<T>

impl<T> UnwindSafe for PreVecMut<T> where
    T: RefUnwindSafe

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.