[][src]Trait cl_traits::Capacity

pub trait Capacity {
    type Output;
    fn capacity(&self) -> Self::Output;
}

Has some sort of storage that holds a maximum number of elements.

Associated Types

type Output

Outputurn type for the capacity` method.

Loading content...

Required methods

fn capacity(&self) -> Self::Output

The number of elements that can be holded.

Loading content...

Implementors

impl<T, const N: usize> Capacity for [T; N][src]

type Output = usize

Loading content...