Struct gfx_hal::pso::ColorBlendDesc
source · [−]pub struct ColorBlendDesc {
pub mask: ColorMask,
pub blend: Option<BlendState>,
}
Expand description
PSO color target descriptor.
Fields
mask: ColorMask
Color write mask.
blend: Option<BlendState>
Blend state, if enabled.
Implementations
sourceimpl ColorBlendDesc
impl ColorBlendDesc
Trait Implementations
sourceimpl Clone for ColorBlendDesc
impl Clone for ColorBlendDesc
sourcefn clone(&self) -> ColorBlendDesc
fn clone(&self) -> ColorBlendDesc
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 ColorBlendDesc
impl Debug for ColorBlendDesc
sourceimpl Default for ColorBlendDesc
impl Default for ColorBlendDesc
sourcefn default() -> ColorBlendDesc
fn default() -> ColorBlendDesc
Returns the “default value” for a type. Read more
sourceimpl Hash for ColorBlendDesc
impl Hash for ColorBlendDesc
sourceimpl PartialEq<ColorBlendDesc> for ColorBlendDesc
impl PartialEq<ColorBlendDesc> for ColorBlendDesc
sourcefn eq(&self, other: &ColorBlendDesc) -> bool
fn eq(&self, other: &ColorBlendDesc) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ColorBlendDesc) -> bool
fn ne(&self, other: &ColorBlendDesc) -> bool
This method tests for !=
.
impl Copy for ColorBlendDesc
impl Eq for ColorBlendDesc
impl StructuralEq for ColorBlendDesc
impl StructuralPartialEq for ColorBlendDesc
Auto Trait Implementations
impl RefUnwindSafe for ColorBlendDesc
impl Send for ColorBlendDesc
impl Sync for ColorBlendDesc
impl Unpin for ColorBlendDesc
impl UnwindSafe for ColorBlendDesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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