Struct erupt::vk1_0::ColorComponentFlagBits
source · #[repr(transparent)]pub struct ColorComponentFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ColorComponentFlags
Tuple Fields
0: u32
Implementations
sourceimpl ColorComponentFlagBits
impl ColorComponentFlagBits
sourcepub const fn bitmask(&self) -> ColorComponentFlags
pub const fn bitmask(&self) -> ColorComponentFlags
Converts this enum variant to the corresponding bitmask
Trait Implementations
sourceimpl Clone for ColorComponentFlagBits
impl Clone for ColorComponentFlagBits
sourcefn clone(&self) -> ColorComponentFlagBits
fn clone(&self) -> ColorComponentFlagBits
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ColorComponentFlagBits
impl Debug for ColorComponentFlagBits
sourceimpl Default for ColorComponentFlagBits
impl Default for ColorComponentFlagBits
sourcefn default() -> ColorComponentFlagBits
fn default() -> ColorComponentFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for ColorComponentFlagBits
impl Hash for ColorComponentFlagBits
sourceimpl Ord for ColorComponentFlagBits
impl Ord for ColorComponentFlagBits
sourcefn cmp(&self, other: &ColorComponentFlagBits) -> Ordering
fn cmp(&self, other: &ColorComponentFlagBits) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ColorComponentFlagBits> for ColorComponentFlagBits
impl PartialEq<ColorComponentFlagBits> for ColorComponentFlagBits
sourcefn eq(&self, other: &ColorComponentFlagBits) -> bool
fn eq(&self, other: &ColorComponentFlagBits) -> bool
sourceimpl PartialOrd<ColorComponentFlagBits> for ColorComponentFlagBits
impl PartialOrd<ColorComponentFlagBits> for ColorComponentFlagBits
sourcefn partial_cmp(&self, other: &ColorComponentFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &ColorComponentFlagBits) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for ColorComponentFlagBits
impl Eq for ColorComponentFlagBits
impl StructuralEq for ColorComponentFlagBits
impl StructuralPartialEq for ColorComponentFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ColorComponentFlagBits
impl Send for ColorComponentFlagBits
impl Sync for ColorComponentFlagBits
impl Unpin for ColorComponentFlagBits
impl UnwindSafe for ColorComponentFlagBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more