[−][src]Trait generic_vec::raw::StorageWithCapacity
A storage that can be initially created with a given capacity
Safety
The storage must have a capacity of at least capacity
after
StorageWithCapacity::with_capacity
is called.
Required methods
pub fn with_capacity(capacity: usize) -> Self
[src]
Creates a new storage with at least the given storage capacity
Implementations on Foreign Types
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 0] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 1] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 2] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 3] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 4] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 5] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 6] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 7] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 8] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 9] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 10] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 11] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 12] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 13] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 14] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 15] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 16] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 17] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 18] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 19] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 20] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 21] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 22] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 23] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 24] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 25] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 26] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 27] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 28] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 29] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 30] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 31] where
Self: Default,
[src]
Self: Default,
pub fn with_capacity(capacity: usize) -> Self
[src]
impl<T: Default + Copy> StorageWithCapacity<T> for [T; 32] where
Self: Default,
[src]
Self: Default,