Struct screen_13::prelude::vk::ComponentSwizzle
source · pub struct ComponentSwizzle(_);Expand description
Implementations§
source§impl ComponentSwizzle
impl ComponentSwizzle
pub const IDENTITY: ComponentSwizzle = Self(0)
pub const ZERO: ComponentSwizzle = Self(1)
pub const ONE: ComponentSwizzle = Self(2)
pub const R: ComponentSwizzle = Self(3)
pub const G: ComponentSwizzle = Self(4)
pub const B: ComponentSwizzle = Self(5)
pub const A: ComponentSwizzle = Self(6)
Trait Implementations§
source§impl Clone for ComponentSwizzle
impl Clone for ComponentSwizzle
source§fn clone(&self) -> ComponentSwizzle
fn clone(&self) -> ComponentSwizzle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ComponentSwizzle
impl Debug for ComponentSwizzle
source§impl Default for ComponentSwizzle
impl Default for ComponentSwizzle
source§fn default() -> ComponentSwizzle
fn default() -> ComponentSwizzle
Returns the “default value” for a type. Read more
source§impl Hash for ComponentSwizzle
impl Hash for ComponentSwizzle
source§impl Ord for ComponentSwizzle
impl Ord for ComponentSwizzle
source§fn cmp(&self, other: &ComponentSwizzle) -> Ordering
fn cmp(&self, other: &ComponentSwizzle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ComponentSwizzle> for ComponentSwizzle
impl PartialEq<ComponentSwizzle> for ComponentSwizzle
source§fn eq(&self, other: &ComponentSwizzle) -> bool
fn eq(&self, other: &ComponentSwizzle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ComponentSwizzle> for ComponentSwizzle
impl PartialOrd<ComponentSwizzle> for ComponentSwizzle
source§fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more