Trait glin::buffer::MapPersistentRangeMut[][src]

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

Required methods

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

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

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

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

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

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

Loading content...

Implementors

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

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

Loading content...