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

pub trait MapPersistentRangeMut<T>: MapPersistentRange<T> + TypedBuffer<T> where
    &'a Self: for<'a> TypedBuffer<T>, 
{ pub unsafe fn unsafe_map_range_persistent_write(
        &self,
        range: Option<Range<usize>>,
        flags: MapWriteFlags
    ) -> Result<&'static mut [T], Error>;
pub unsafe fn unsafe_map_range_persistent_read_write(
        &self,
        range: Option<Range<usize>>,
        flags: MapReadWriteFlags
    ) -> Result<&'static mut [T], Error>;
pub fn map_range_persistent_write(
        &self,
        offset: usize,
        length: usize,
        flags: MapWriteFlags
    ) -> Result<MapPersistentWrite<T, &Self>, Error>;
pub fn map_range_persistent_read_write(
        &self,
        offset: usize,
        length: usize,
        flags: MapReadWriteFlags
    ) -> Result<MapPersistentReadWrite<T, &Self>, Error>;
pub fn into_map_range_persistent_write(
        self,
        offset: usize,
        length: usize,
        flags: MapWriteFlags
    ) -> Result<MapPersistentWrite<T, Self>, Error>;
pub fn into_map_range_persistent_read_write(
        self,
        offset: usize,
        length: usize,
        flags: MapReadWriteFlags
    ) -> Result<MapPersistentReadWrite<T, Self>, Error>; }

Required methods

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

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

pub fn map_range_persistent_write(
    &self,
    offset: usize,
    length: usize,
    flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>, Error>
[src]

pub fn map_range_persistent_read_write(
    &self,
    offset: usize,
    length: usize,
    flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &Self>, Error>
[src]

pub fn into_map_range_persistent_write(
    self,
    offset: usize,
    length: usize,
    flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>, Error>
[src]

pub fn into_map_range_persistent_read_write(
    self,
    offset: usize,
    length: usize,
    flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>, Error>
[src]

Loading content...

Implementors

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

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

Loading content...