Struct gfx_hal::pso::ColorBlendDesc
source · pub struct ColorBlendDesc(pub ColorMask, pub BlendState);
Expand description
PSO color target descriptor.
Tuple Fields
0: ColorMask
1: BlendState
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 moresourceimpl 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
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 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