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