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§
Trait Implementations§
Source§impl Clone for ColorBlendDesc
impl Clone for ColorBlendDesc
Source§fn clone(&self) -> ColorBlendDesc
fn clone(&self) -> ColorBlendDesc
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColorBlendDesc
impl Debug for ColorBlendDesc
Source§impl Default for ColorBlendDesc
impl Default for ColorBlendDesc
Source§fn default() -> ColorBlendDesc
fn default() -> ColorBlendDesc
Returns the “default value” for a type. Read more
Source§impl Hash for ColorBlendDesc
impl Hash for ColorBlendDesc
Source§impl PartialEq for ColorBlendDesc
impl PartialEq for ColorBlendDesc
impl Copy for ColorBlendDesc
impl Eq for ColorBlendDesc
impl StructuralPartialEq for ColorBlendDesc
Auto Trait Implementations§
impl Freeze for ColorBlendDesc
impl RefUnwindSafe for ColorBlendDesc
impl Send for ColorBlendDesc
impl Sync for ColorBlendDesc
impl Unpin for ColorBlendDesc
impl UnwindSafe for ColorBlendDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more