wgpu::custom

Trait BufferMappedRangeInterface

Source
pub trait BufferMappedRangeInterface: CommonTraits {
    // Required methods
    fn slice(&self) -> &[u8] ;
    fn slice_mut(&mut self) -> &mut [u8] ;
}
Available on custom only.

Required Methods§

Source

fn slice(&self) -> &[u8]

Source

fn slice_mut(&mut self) -> &mut [u8]

Implementors§

Source§

impl BufferMappedRangeInterface for CoreBufferMappedRange

Available on wgpu_core only.