Trait rin::gl::buffer::WithMapRange [−][src]
pub trait WithMapRange<T> { pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error>
where
F: FnMut(&[T]); }
Required methods
pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
Implementors
impl<'a, T> WithMapRange<T> for Buffer<T> where
T: 'static,
[src]
impl<'a, T> WithMapRange<T> for Buffer<T> where
T: 'static,
[src]pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
impl<T> WithMapRange<T> for BufferStorage<T> where
T: 'static,
[src]
impl<T> WithMapRange<T> for BufferStorage<T> where
T: 'static,
[src]pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
impl<T> WithMapRange<T> for SharedBuffer<T>
[src]
impl<T> WithMapRange<T> for SharedBuffer<T>
[src]pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
impl<T> WithMapRange<T> for SharedBufferStorage<T> where
T: 'static,
[src]
impl<T> WithMapRange<T> for SharedBufferStorage<T> where
T: 'static,
[src]pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
impl<T, B, BB> WithMapRange<T> for Range<T, B, BB> where
B: WithMapRange<T>,
T: 'static,
BB: Borrow<B>,
[src]
impl<T, B, BB> WithMapRange<T> for Range<T, B, BB> where
B: WithMapRange<T>,
T: 'static,
BB: Borrow<B>,
[src]pub fn with_map_range_read<F>(
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),
[src]
&self,
offset: usize,
length: usize,
flags: MapReadFlags,
f: F
) -> Result<(), Error> where
F: FnMut(&[T]),