Trait glin::buffer::WithMapRangeMut[][src]

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

Required methods

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

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

Loading content...

Implementors

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

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

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

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

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

Loading content...