[][src]Trait cl_traits::Capacity

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

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

Associated Types

type CapacityRet

Return type for the capacity` method.

Loading content...

Required methods

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

The number of elements that can be holded.

Loading content...

Implementors

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

type CapacityRet = usize

Loading content...