Trait glin::buffer::MapPersistentRange[][src]

pub trait MapPersistentRange<T> where
    Self: TypedBuffer<T>,
    &'a Self: TypedBuffer<T>, 
{ unsafe fn unsafe_map_range_persistent_read(
        &self,
        range: Option<Range<usize>>,
        flags: MapReadFlags
    ) -> Result<&'static [T]>;
fn map_range_persistent_read(
        &self,
        offset: usize,
        length: usize,
        flags: MapReadFlags
    ) -> Result<MapPersistentRead<T, &Self>>;
fn into_map_range_persistent_read(
        self,
        offset: usize,
        length: usize,
        flags: MapReadFlags
    ) -> Result<MapPersistentRead<T, Self>>
    where
        Self: Sized
; }

Required methods

unsafe fn unsafe_map_range_persistent_read(
    &self,
    range: Option<Range<usize>>,
    flags: MapReadFlags
) -> Result<&'static [T]>
[src]

fn map_range_persistent_read(
    &self,
    offset: usize,
    length: usize,
    flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Self>>
[src]

fn into_map_range_persistent_read(
    self,
    offset: usize,
    length: usize,
    flags: MapReadFlags
) -> Result<MapPersistentRead<T, Self>> where
    Self: Sized
[src]

Loading content...

Implementors

impl<T: 'static> MapPersistentRange<T> for BufferStorage<T>[src]

impl<T: 'static> MapPersistentRange<T> for SharedBufferStorage<T>[src]

Loading content...