Trait rin::gl::buffer::MapPersistentRangeMut [−][src]
pub trait MapPersistentRangeMut<T>: MapPersistentRange<T> + TypedBuffer<T> where
&'a Self: for<'a> TypedBuffer<T>, { pub unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>; pub unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>; pub fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>, Error>; pub fn map_range_persistent_read_write(
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &Self>, Error>; pub fn into_map_range_persistent_write(
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>, Error>; pub fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>, Error>; }
Required methods
pub unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
pub unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
pub fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &Self>, Error>
pub fn map_range_persistent_read_write(
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &Self>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &Self>, Error>
pub fn into_map_range_persistent_write(
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, Self>, Error>
pub fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, Self>, Error>
Implementors
impl<T> MapPersistentRangeMut<T> for BufferStorage<T> where
T: 'static,
[src]
impl<T> MapPersistentRangeMut<T> for BufferStorage<T> where
T: 'static,
[src]pub unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
pub unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
pub fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &BufferStorage<T>>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &BufferStorage<T>>, Error>
pub fn map_range_persistent_read_write(
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &BufferStorage<T>>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &BufferStorage<T>>, Error>
pub fn into_map_range_persistent_write(
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, BufferStorage<T>>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, BufferStorage<T>>, Error>
pub fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, BufferStorage<T>>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, BufferStorage<T>>, Error>
impl<T> MapPersistentRangeMut<T> for SharedBufferStorage<T> where
T: 'static,
[src]
impl<T> MapPersistentRangeMut<T> for SharedBufferStorage<T> where
T: 'static,
[src]pub unsafe fn unsafe_map_range_persistent_write(
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapWriteFlags
) -> Result<&'static mut [T], Error>
pub unsafe fn unsafe_map_range_persistent_read_write(
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
[src]
&self,
range: Option<Range<usize>>,
flags: MapReadWriteFlags
) -> Result<&'static mut [T], Error>
pub fn map_range_persistent_write(
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &SharedBufferStorage<T>>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, &SharedBufferStorage<T>>, Error>
pub fn map_range_persistent_read_write(
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &SharedBufferStorage<T>>, Error>
[src]
&self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, &SharedBufferStorage<T>>, Error>
pub fn into_map_range_persistent_write(
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, SharedBufferStorage<T>>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapWriteFlags
) -> Result<MapPersistentWrite<T, SharedBufferStorage<T>>, Error>
pub fn into_map_range_persistent_read_write(
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, SharedBufferStorage<T>>, Error>
[src]
self,
offset: usize,
length: usize,
flags: MapReadWriteFlags
) -> Result<MapPersistentReadWrite<T, SharedBufferStorage<T>>, Error>