pub fn with_capacity(len: usize, size: usize) -> Self {
        let mut indices = Vec::with_capacity(len + 1);
        indices.push(0);
        Nested {
            indices: indices,
            data: T::with_capacity(size),
        }
    }
/// Creates a new `Nested` with given capacity.
///
/// len: the expected item count
/// size: the expected total size taken by all items
Creates a new `Nested` with given capacity.
len: the expected item count
size: the expected total size taken by all items
Creates a new ` Nested ` with given capacity . len : the expected item count size : the expected total size taken by all items
pub fn with_capacity(len: usize, size: usize) -> Self {
        let mut indices = Vec::with_capacity(len + 1);
        indices.push(0);
        Nested {
            indices: indices,
            data: T::with_capacity(size),
        }
    }
pub fn with_capacity ( len : usize , size : usize ) -> Self { let mut indices = Vec :: with_capacity ( len + 1 ) ; indices . push ( 0 ) ; Nested { indices : indices , data : T :: with_capacity ( size ) , } }
Creates a new `Nested` with given capacity.
Creates a new ` Nested ` with given capacity .
len
usize
size
usize
len
usize
size
usize