Trait alloc_safe::VecExt
source · [−]pub trait VecExt<T>: VecAllocExt<T, Global> {
fn try_with_capacity(capacity: usize) -> Result<Self, AllocError>;
}Expand description
Extension for Vec<T>
pub trait VecExt<T>: VecAllocExt<T, Global> {
fn try_with_capacity(capacity: usize) -> Result<Self, AllocError>;
}Extension for Vec<T>