[][src]Trait cl_traits::Length

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

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

Associated Types

type Output

Output type for the length` method.

Loading content...

Required methods

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

The number of elements.

Loading content...

Implementors

impl<'a, T> Length for &'a [T][src]

type Output = usize

impl<'a, T> Length for &'a mut [T][src]

type Output = usize

impl<A> Length for ArrayWrapper<A> where
    A: Array
[src]

type Output = usize

Loading content...