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