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
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V