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]

Loading content...

Implementors

impl<'a, T> WithMapRange<T> for Buffer<T> where
    T: 'static, 
[src]

impl<T> WithMapRange<T> for BufferStorage<T> where
    T: 'static, 
[src]

impl<T> WithMapRange<T> for SharedBuffer<T>[src]

impl<T> WithMapRange<T> for SharedBufferStorage<T> where
    T: 'static, 
[src]

impl<T, B, BB> WithMapRange<T> for Range<T, B, BB> where
    B: WithMapRange<T>,
    T: 'static,
    BB: Borrow<B>, 
[src]

Loading content...