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