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