pub struct BlendState {
pub destination_rgb: BlendDestination,
pub source_rgb: BlendSource,
pub destination_alpha: BlendDestination,
pub source_alpha: BlendSource,
pub color: Color<ClampedF32>,
pub equation_rgb: BlendEquation,
pub equation_alpha: BlendEquation,
}Fields§
§destination_rgb: BlendDestination§source_rgb: BlendSource§destination_alpha: BlendDestination§source_alpha: BlendSource§color: Color<ClampedF32>§equation_rgb: BlendEquation§equation_alpha: BlendEquationTrait Implementations§
Source§impl Clone for BlendState
impl Clone for BlendState
Source§fn clone(&self) -> BlendState
fn clone(&self) -> BlendState
Returns a duplicate 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 BlendState
impl Debug for BlendState
Source§impl Default for BlendState
impl Default for BlendState
Source§impl PartialEq for BlendState
impl PartialEq for BlendState
impl Copy for BlendState
impl Eq for BlendState
impl StructuralPartialEq for BlendState
Auto Trait Implementations§
impl Freeze for BlendState
impl RefUnwindSafe for BlendState
impl Send for BlendState
impl Sync for BlendState
impl Unpin for BlendState
impl UnwindSafe for BlendState
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