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]
&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]>
[src]
&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>>
[src]
&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>>
[src]
&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,
[src]
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,
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>> where
Self: Sized,
Implementors
impl<T: 'static> MapPersistentRangeMut<T> for BufferStorage<T>
[src]
impl<T: 'static> MapPersistentRangeMut<T> for BufferStorage<T>
[src]unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<StdRange<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T]>
[src]
&self,
range: Option<StdRange<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T]>
unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<StdRange<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T]>
[src]
&self,
range: Option<StdRange<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T]>
fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>>
[src]
&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>>
[src]
&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>>
[src]
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>>
fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>>
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>>
impl<T: 'static> MapPersistentRangeMut<T> for SharedBufferStorage<T>
[src]
impl<T: 'static> MapPersistentRangeMut<T> for SharedBufferStorage<T>
[src]unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<StdRange<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T]>
[src]
&self,
range: Option<StdRange<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T]>
unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<StdRange<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T]>
[src]
&self,
range: Option<StdRange<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T]>
fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>>
[src]
&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>>
[src]
&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>>
[src]
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>>
fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>>
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>>