Trait glin::buffer::WithMapRangeMut [−][src]
pub trait WithMapRangeMut<T>: WithMapRange<T> { unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>; fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>; }
Required methods
unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
Implementors
impl<'a, T: 'static> WithMapRangeMut<T> for Buffer<T>
[src]
impl<'a, T: 'static> WithMapRangeMut<T> for Buffer<T>
[src]unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
impl<T> WithMapRangeMut<T> for SharedBuffer<T>
[src]
impl<T> WithMapRangeMut<T> for SharedBuffer<T>
[src]unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
impl<T: 'static> WithMapRangeMut<T> for BufferStorage<T>
[src]
impl<T: 'static> WithMapRangeMut<T> for BufferStorage<T>
[src]unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
impl<T: 'static> WithMapRangeMut<T> for SharedBufferStorage<T>
[src]
impl<T: 'static> WithMapRangeMut<T> for SharedBufferStorage<T>
[src]unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
impl<T: 'static, B: WithMapRangeMut<T>, BB: BorrowMut<B>> WithMapRangeMut<T> for Range<T, B, BB>
[src]
impl<T: 'static, B: WithMapRangeMut<T>, BB: BorrowMut<B>> WithMapRangeMut<T> for Range<T, B, BB>
[src]unsafe fn with_map_range_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapWriteFlags,
f: F
) -> Result<()>
fn with_map_range_read_write<F: FnMut(&mut [T])>(
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadWriteFlags,
f: F
) -> Result<()>