Enum nannou_wgpu::TextureAspect [−]
#[repr(C)] pub enum TextureAspect { All, StencilOnly, DepthOnly, }
Expand description
Kind of data the texture holds.
Variants
Depth, Stencil, and Color.
Stencil.
Depth.
Trait Implementations
impl Clone for TextureAspect
impl Clone for TextureAspect
pub fn clone(&self) -> TextureAspect
pub fn clone(&self) -> TextureAspect
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for TextureAspect
impl Debug for TextureAspect
impl Default for TextureAspect
impl Default for TextureAspect
pub fn default() -> TextureAspect
pub fn default() -> TextureAspect
Returns the “default value” for a type. Read more
impl Hash for TextureAspect
impl Hash for TextureAspect
impl PartialEq<TextureAspect> for TextureAspect
impl PartialEq<TextureAspect> for TextureAspect
impl Copy for TextureAspect
impl Eq for TextureAspect
impl StructuralEq for TextureAspect
impl StructuralPartialEq for TextureAspect
Auto Trait Implementations
impl RefUnwindSafe for TextureAspect
impl Send for TextureAspect
impl Sync for TextureAspect
impl Unpin for TextureAspect
impl UnwindSafe for TextureAspect
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.