Trait glin::buffer::MapRange [−][src]
pub trait MapRange<T>: WithBackend + Sized { fn map_range_read(
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>; }
Required methods
fn map_range_read(
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
Implementors
impl<'a, T> MapRange<T> for Buffer<T>
[src]
impl<'a, T> MapRange<T> for Buffer<T>
[src]fn map_range_read(
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
impl<'a, T> MapRange<T> for SharedBuffer<T>
[src]
impl<'a, T> MapRange<T> for SharedBuffer<T>
[src]fn map_range_read(
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
impl<T: 'static> MapRange<T> for BufferStorage<T>
[src]
impl<T: 'static> MapRange<T> for BufferStorage<T>
[src]fn map_range_read(
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>
[src]
&mut self,
offset: usize,
length: usize,
flags: MapReadFlags
) -> Result<MapRead<'_, T, Self>>