Enum wgpu_core::resource::TextureClearMode
source · pub enum TextureClearMode<A: Api> {
BufferCopy,
RenderPass {
clear_views: SmallVec<[A::TextureView; 1]>,
is_color: bool,
},
None,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<A> RefUnwindSafe for TextureClearMode<A>where <A as Api>::TextureView: RefUnwindSafe,
impl<A> Send for TextureClearMode<A>
impl<A> Sync for TextureClearMode<A>
impl<A> Unpin for TextureClearMode<A>where <A as Api>::TextureView: Unpin,
impl<A> UnwindSafe for TextureClearMode<A>where <A as Api>::TextureView: UnwindSafe + RefUnwindSafe,
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