Trait rin::gl::buffer::WithMapRangeMut[][src]

pub trait WithMapRangeMut<T>: WithMapRange<T> {
    pub unsafe fn with_map_range_write<F>(
        &mut self,
        offset: usize,
        length: usize,
        flags: MapWriteFlags,
        f: F
    ) -> Result<(), Error>
    where
        F: FnMut(&mut [T])
;
pub fn with_map_range_read_write<F>(
        &mut self,
        offset: usize,
        length: usize,
        flags: MapReadWriteFlags,
        f: F
    ) -> Result<(), Error>
    where
        F: FnMut(&mut [T])
; }

Required methods

pub unsafe fn with_map_range_write<F>(
    &mut self,
    offset: usize,
    length: usize,
    flags: MapWriteFlags,
    f: F
) -> Result<(), Error> where
    F: FnMut(&mut [T]), 
[src]

pub fn with_map_range_read_write<F>(
    &mut self,
    offset: usize,
    length: usize,
    flags: MapReadWriteFlags,
    f: F
) -> Result<(), Error> where
    F: FnMut(&mut [T]), 
[src]

Loading content...

Implementors

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

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

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

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

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

Loading content...