Struct wgpu_hal::BufferMapping
source · pub struct BufferMapping {
pub ptr: NonNull<u8>,
pub is_coherent: bool,
}
Fields§
§ptr: NonNull<u8>
§is_coherent: bool
Trait Implementations§
source§impl Clone for BufferMapping
impl Clone for BufferMapping
source§fn clone(&self) -> BufferMapping
fn clone(&self) -> BufferMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for BufferMapping
impl !Send for BufferMapping
impl !Sync for BufferMapping
impl Unpin for BufferMapping
impl UnwindSafe for BufferMapping
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more