Struct wgpu_core::resource::DestroyedBuffer
source · pub struct DestroyedBuffer {
raw: ManuallyDrop<Box<dyn DynBuffer>>,
device: Arc<Device>,
label: String,
bind_groups: WeakVec<BindGroup>,
}
Expand description
A buffer that has been marked as destroyed and is staged for actual deletion soon.
Fields§
§raw: ManuallyDrop<Box<dyn DynBuffer>>
§device: Arc<Device>
§label: String
§bind_groups: WeakVec<BindGroup>
Implementations§
Trait Implementations§
source§impl Debug for DestroyedBuffer
impl Debug for DestroyedBuffer
Auto Trait Implementations§
impl Freeze for DestroyedBuffer
impl !RefUnwindSafe for DestroyedBuffer
impl Send for DestroyedBuffer
impl Sync for DestroyedBuffer
impl Unpin for DestroyedBuffer
impl !UnwindSafe for DestroyedBuffer
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