Skip to main content

VecExt

Trait VecExt 

Source
pub trait VecExt<T>: VecAllocExt<T, Global> {
    // Required method
    fn try_with_capacity(capacity: usize) -> Result<Self, AllocError>;
}
Expand description

Extension for Vec<T>

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> VecExt<T> for Vec<T>

Implementors§