[][src]Trait cl_traits::Slice

pub trait Slice {
    type SliceRet: ?Sized;
    fn slice(&self) -> &Self::SliceRet;
}

Has some way to convert some sort of storage into slices.

Associated Types

type SliceRet: ?Sized

Return type for the slice` method.

Loading content...

Required methods

fn slice(&self) -> &Self::SliceRet

Slice

Loading content...

Implementors

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

type SliceRet = [T]

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

type SliceRet = [T]

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

type SliceRet = [T]

Loading content...