pub struct Buffer { /* private fields */ }Trait Implementations§
impl DynBuffer for Buffer
Source§impl DynResource for Buffer
impl DynResource for Buffer
impl Send for Buffer
SAFETY:
This shared mutable data will not be accessed in a way which causes data races;
the obligation to do so is on the caller of the HAL API.
For safe code, wgpu-core validation manages appropriate access.
impl Sync for Buffer
Auto Trait Implementations§
impl !RefUnwindSafe for Buffer
impl !UnwindSafe for Buffer
impl Forget for Buffer
impl Freeze for Bufferwhere
*const ArcInner<UnsafeCell<[u8]>> is !null: Freeze,
PhantomData<ArcInner<UnsafeCell<[u8]>>>: Freeze,
impl Move for Buffer
impl Unpin for Buffer
impl UnsafeUnpin for Bufferwhere
*const ArcInner<UnsafeCell<[u8]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<UnsafeCell<[u8]>>>: UnsafeUnpin,
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