Trait resize_slice::VecExt
[−]
[src]
pub trait VecExt<T> { unsafe fn uninitialized_resize(&mut self, new_len: usize); unsafe fn zeroed_resize(&mut self, new_len: usize); }
Extension methods for vector types
Required Methods
unsafe fn uninitialized_resize(&mut self, new_len: usize)
Unsafely resize a vector to the specified size, without initializing the memory.
unsafe fn zeroed_resize(&mut self, new_len: usize)
Unsafely resize a vector to the specified size, zeroing the memory.
Implementations on Foreign Types
impl<T> VecExt<T> for Vec<T>
[src]
impl<T> VecExt<T> for Vec<T>
unsafe fn uninitialized_resize(&mut self, new_len: usize)
[src]
unsafe fn uninitialized_resize(&mut self, new_len: usize)
unsafe fn zeroed_resize(&mut self, new_len: usize)
[src]
unsafe fn zeroed_resize(&mut self, new_len: usize)