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