Struct pilka_lib::ash::vk::ComponentSwizzle [−]
#[repr(transparent)]pub struct ComponentSwizzle(_);
Expand description
Implementations
impl ComponentSwizzle
impl ComponentSwizzle
pub const fn from_raw(x: i32) -> ComponentSwizzle
impl ComponentSwizzle
impl ComponentSwizzle
pub const IDENTITY: ComponentSwizzle
pub const ZERO: ComponentSwizzle
pub const ONE: ComponentSwizzle
pub const R: ComponentSwizzle
pub const G: ComponentSwizzle
pub const B: ComponentSwizzle
pub const A: ComponentSwizzle
Trait Implementations
impl Clone for ComponentSwizzle
impl Clone for ComponentSwizzle
pub fn clone(&self) -> ComponentSwizzle
pub fn clone(&self) -> ComponentSwizzle
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ComponentSwizzle
impl Debug for ComponentSwizzle
impl Default for ComponentSwizzle
impl Default for ComponentSwizzle
pub fn default() -> ComponentSwizzle
pub fn default() -> ComponentSwizzle
Returns the “default value” for a type. Read more
impl Hash for ComponentSwizzle
impl Hash for ComponentSwizzle
impl Ord for ComponentSwizzle
impl Ord for ComponentSwizzle
pub fn cmp(&self, other: &ComponentSwizzle) -> Ordering
pub fn cmp(&self, other: &ComponentSwizzle) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<ComponentSwizzle> for ComponentSwizzle
impl PartialEq<ComponentSwizzle> for ComponentSwizzle
pub fn eq(&self, other: &ComponentSwizzle) -> bool
pub fn eq(&self, other: &ComponentSwizzle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ComponentSwizzle) -> bool
pub fn ne(&self, other: &ComponentSwizzle) -> bool
This method tests for !=
.
impl PartialOrd<ComponentSwizzle> for ComponentSwizzle
impl PartialOrd<ComponentSwizzle> for ComponentSwizzle
pub fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ComponentSwizzle) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Copy for ComponentSwizzle
impl Eq for ComponentSwizzle
impl StructuralEq for ComponentSwizzle
impl StructuralPartialEq for ComponentSwizzle
Auto Trait Implementations
impl RefUnwindSafe for ComponentSwizzle
impl Send for ComponentSwizzle
impl Sync for ComponentSwizzle
impl Unpin for ComponentSwizzle
impl UnwindSafe for ComponentSwizzle
Blanket Implementations
Mutably borrows from an owned value. Read more