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