Enum wgpu_core::resource::TextureClearMode
source · [−]pub enum TextureClearMode<A: Api> {
BufferCopy,
RenderPass {
clear_views: SmallVec<[A::TextureView; 1]>,
is_color: bool,
},
None,
}
Variants
BufferCopy
RenderPass
None
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more