[−][src]Struct dinotree_alg::util::PreVecMut
An vec api to avoid excessive dynamic allocation by reusing a Vec
Methods
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>>
[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,
T: RefUnwindSafe,
impl<T> Unpin for PreVecMut<T>
impl<T> UnwindSafe for PreVecMut<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,