[][src]Trait accel::memory::Continuous

pub trait Continuous: Memory {
    fn as_slice(&self) -> &[Self::Elem];
fn as_mut_slice(&mut self) -> &mut [Self::Elem]; }

Memory which has continuous 1D index, i.e. can be treated as a Rust slice

Required methods

fn as_slice(&self) -> &[Self::Elem]

fn as_mut_slice(&mut self) -> &mut [Self::Elem]

Loading content...

Implementations on Foreign Types

impl<T: Scalar> Continuous for [T][src]

Loading content...

Implementors

impl<'_, T: Scalar> Continuous for RegisteredMemory<'_, T>[src]

impl<T: Scalar> Continuous for DeviceMemory<T>[src]

impl<T: Scalar> Continuous for PageLockedMemory<T>[src]

Loading content...