Enum nannou::wgpu::TextureDimension [−]
#[repr(C)]
pub enum TextureDimension {
D1,
D2,
D3,
}
Expand description
Dimensionality of a texture.
Variants
D1
1D texture
D2
2D texture
D3
3D texture
Trait Implementations
impl Clone for TextureDimension
impl Clone for TextureDimension
pub fn clone(&self) -> TextureDimension
pub fn clone(&self) -> TextureDimension
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for TextureDimension
impl Debug for TextureDimension
impl Hash for TextureDimension
impl Hash for TextureDimension
impl PartialEq<TextureDimension> for TextureDimension
impl PartialEq<TextureDimension> for TextureDimension
impl Copy for TextureDimension
impl Eq for TextureDimension
impl StructuralEq for TextureDimension
impl StructuralPartialEq for TextureDimension
Auto Trait Implementations
impl RefUnwindSafe for TextureDimension
impl Send for TextureDimension
impl Sync for TextureDimension
impl Unpin for TextureDimension
impl UnwindSafe for TextureDimension
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
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.