Struct pilka_lib::ash::vk::ColorComponentFlags [−]
#[repr(transparent)]pub struct ColorComponentFlags(_);
Expand description
Implementations
impl ColorComponentFlags
impl ColorComponentFlags
pub const R: ColorComponentFlags
pub const G: ColorComponentFlags
pub const B: ColorComponentFlags
pub const A: ColorComponentFlags
impl ColorComponentFlags
impl ColorComponentFlags
pub const fn empty() -> ColorComponentFlags
pub const fn all() -> ColorComponentFlags
pub const fn from_raw(x: u32) -> ColorComponentFlags
pub fn intersects(self, other: ColorComponentFlags) -> bool
pub fn contains(self, other: ColorComponentFlags) -> bool
pub fn contains(self, other: ColorComponentFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
impl BitAnd<ColorComponentFlags> for ColorComponentFlags
impl BitAnd<ColorComponentFlags> for ColorComponentFlags
type Output = ColorComponentFlags
type Output = ColorComponentFlags
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: ColorComponentFlags) -> ColorComponentFlags
pub fn bitand(self, rhs: ColorComponentFlags) -> ColorComponentFlags
Performs the &
operation. Read more
pub fn bitand_assign(&mut self, rhs: ColorComponentFlags)
pub fn bitand_assign(&mut self, rhs: ColorComponentFlags)
Performs the &=
operation. Read more
impl BitOr<ColorComponentFlags> for ColorComponentFlags
impl BitOr<ColorComponentFlags> for ColorComponentFlags
type Output = ColorComponentFlags
type Output = ColorComponentFlags
The resulting type after applying the |
operator.
pub fn bitor(self, rhs: ColorComponentFlags) -> ColorComponentFlags
pub fn bitor(self, rhs: ColorComponentFlags) -> ColorComponentFlags
Performs the |
operation. Read more
pub fn bitor_assign(&mut self, rhs: ColorComponentFlags)
pub fn bitor_assign(&mut self, rhs: ColorComponentFlags)
Performs the |=
operation. Read more
impl BitXor<ColorComponentFlags> for ColorComponentFlags
impl BitXor<ColorComponentFlags> for ColorComponentFlags
type Output = ColorComponentFlags
type Output = ColorComponentFlags
The resulting type after applying the ^
operator.
pub fn bitxor(self, rhs: ColorComponentFlags) -> ColorComponentFlags
pub fn bitxor(self, rhs: ColorComponentFlags) -> ColorComponentFlags
Performs the ^
operation. Read more
pub fn bitxor_assign(&mut self, rhs: ColorComponentFlags)
pub fn bitxor_assign(&mut self, rhs: ColorComponentFlags)
Performs the ^=
operation. Read more
impl Clone for ColorComponentFlags
impl Clone for ColorComponentFlags
pub fn clone(&self) -> ColorComponentFlags
pub fn clone(&self) -> ColorComponentFlags
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ColorComponentFlags
impl Debug for ColorComponentFlags
impl Default for ColorComponentFlags
impl Default for ColorComponentFlags
pub fn default() -> ColorComponentFlags
pub fn default() -> ColorComponentFlags
Returns the “default value” for a type. Read more
impl Hash for ColorComponentFlags
impl Hash for ColorComponentFlags
impl Not for ColorComponentFlags
impl Not for ColorComponentFlags
type Output = ColorComponentFlags
type Output = ColorComponentFlags
The resulting type after applying the !
operator.
pub fn not(self) -> ColorComponentFlags
pub fn not(self) -> ColorComponentFlags
Performs the unary !
operation. Read more
impl Ord for ColorComponentFlags
impl Ord for ColorComponentFlags
pub fn cmp(&self, other: &ColorComponentFlags) -> Ordering
pub fn cmp(&self, other: &ColorComponentFlags) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<ColorComponentFlags> for ColorComponentFlags
impl PartialEq<ColorComponentFlags> for ColorComponentFlags
pub fn eq(&self, other: &ColorComponentFlags) -> bool
pub fn eq(&self, other: &ColorComponentFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ColorComponentFlags) -> bool
pub fn ne(&self, other: &ColorComponentFlags) -> bool
This method tests for !=
.
impl PartialOrd<ColorComponentFlags> for ColorComponentFlags
impl PartialOrd<ColorComponentFlags> for ColorComponentFlags
pub fn partial_cmp(&self, other: &ColorComponentFlags) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ColorComponentFlags) -> 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 Sub<ColorComponentFlags> for ColorComponentFlags
impl Sub<ColorComponentFlags> for ColorComponentFlags
type Output = ColorComponentFlags
type Output = ColorComponentFlags
The resulting type after applying the -
operator.
pub fn sub(self, rhs: ColorComponentFlags) -> ColorComponentFlags
pub fn sub(self, rhs: ColorComponentFlags) -> ColorComponentFlags
Performs the -
operation. Read more
impl SubAssign<ColorComponentFlags> for ColorComponentFlags
impl SubAssign<ColorComponentFlags> for ColorComponentFlags
pub fn sub_assign(&mut self, rhs: ColorComponentFlags)
pub fn sub_assign(&mut self, rhs: ColorComponentFlags)
Performs the -=
operation. Read more
impl Copy for ColorComponentFlags
impl Eq for ColorComponentFlags
impl StructuralEq for ColorComponentFlags
impl StructuralPartialEq for ColorComponentFlags
Auto Trait Implementations
impl RefUnwindSafe for ColorComponentFlags
impl Send for ColorComponentFlags
impl Sync for ColorComponentFlags
impl Unpin for ColorComponentFlags
impl UnwindSafe for ColorComponentFlags
Blanket Implementations
Mutably borrows from an owned value. Read more