Struct vulkano::pipeline::graphics::color_blend::ColorComponents
source · [−]Expand description
A mask specifying color components that can be written to a framebuffer attachment.
Fields
r: bool
g: bool
b: bool
a: bool
Implementations
Trait Implementations
sourceimpl Clone for ColorComponents
impl Clone for ColorComponents
sourcefn clone(&self) -> ColorComponents
fn clone(&self) -> ColorComponents
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 more
sourceimpl Debug for ColorComponents
impl Debug for ColorComponents
sourceimpl From<ColorComponents> for ColorComponentFlags
impl From<ColorComponents> for ColorComponentFlags
sourcefn from(val: ColorComponents) -> Self
fn from(val: ColorComponents) -> Self
Performs the conversion.
sourceimpl PartialEq<ColorComponents> for ColorComponents
impl PartialEq<ColorComponents> for ColorComponents
sourcefn eq(&self, other: &ColorComponents) -> bool
fn eq(&self, other: &ColorComponents) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColorComponents) -> bool
fn ne(&self, other: &ColorComponents) -> bool
This method tests for !=
.
impl Copy for ColorComponents
impl Eq for ColorComponents
impl StructuralEq for ColorComponents
impl StructuralPartialEq for ColorComponents
Auto Trait Implementations
impl RefUnwindSafe for ColorComponents
impl Send for ColorComponents
impl Sync for ColorComponents
impl Unpin for ColorComponents
impl UnwindSafe for ColorComponents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more