Trait rin::gl::buffer::MapPersistent [−][src]
pub trait MapPersistent<T>: TypedBuffer<T> where
&'a Self: for<'a> TypedBuffer<T>, { pub fn map_persistent_read(
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Self>, Error>; pub fn into_map_persistent_read(
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, Self>, Error>; }
Required methods
pub fn map_persistent_read(
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Self>, Error>
[src]
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Self>, Error>
pub fn into_map_persistent_read(
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, Self>, Error>
[src]
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, Self>, Error>
Implementors
impl<T> MapPersistent<T> for BufferStorage<T> where
T: 'static,
[src]
impl<T> MapPersistent<T> for BufferStorage<T> where
T: 'static,
[src]pub fn map_persistent_read(
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &BufferStorage<T>>, Error>
[src]
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &BufferStorage<T>>, Error>
pub fn into_map_persistent_read(
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, BufferStorage<T>>, Error> where
BufferStorage<T>: Sized,
[src]
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, BufferStorage<T>>, Error> where
BufferStorage<T>: Sized,
impl<T> MapPersistent<T> for SharedBufferStorage<T> where
T: 'static,
[src]
impl<T> MapPersistent<T> for SharedBufferStorage<T> where
T: 'static,
[src]pub fn map_persistent_read(
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &SharedBufferStorage<T>>, Error>
[src]
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &SharedBufferStorage<T>>, Error>
pub fn into_map_persistent_read(
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, SharedBufferStorage<T>>, Error> where
SharedBufferStorage<T>: Sized,
[src]
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, SharedBufferStorage<T>>, Error> where
SharedBufferStorage<T>: Sized,
impl<T, B, BB> MapPersistent<T> for Range<T, B, BB> where
B: MapPersistentRange<T>,
T: 'static,
BB: Borrow<B>,
&'a B: for<'a> TypedBuffer<T>,
Range<T, B, BB>: TypedBuffer<T>,
&'a Range<T, B, BB>: for<'a> TypedBuffer<T>,
[src]
impl<T, B, BB> MapPersistent<T> for Range<T, B, BB> where
B: MapPersistentRange<T>,
T: 'static,
BB: Borrow<B>,
&'a B: for<'a> TypedBuffer<T>,
Range<T, B, BB>: TypedBuffer<T>,
&'a Range<T, B, BB>: for<'a> TypedBuffer<T>,
[src]pub fn map_persistent_read(
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Range<T, B, BB>>, Error>
[src]
&self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, &Range<T, B, BB>>, Error>
pub fn into_map_persistent_read(
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, Range<T, B, BB>>, Error> where
Range<T, B, BB>: Sized,
[src]
self,
flags: MapReadFlags
) -> Result<MapPersistentRead<T, Range<T, B, BB>>, Error> where
Range<T, B, BB>: Sized,