Trait rin::gl::buffer::MapPersistentRange[][src]

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

Required methods

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

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

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

Loading content...

Implementors

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

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

Loading content...