Struct solstice::BlendState
source · 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: BlendEquation
Trait Implementations§
source§impl Clone for BlendState
impl Clone for BlendState
source§fn clone(&self) -> BlendState
fn clone(&self) -> BlendState
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 BlendState
impl Debug for BlendState
source§impl Default for BlendState
impl Default for BlendState
source§impl PartialEq<BlendState> for BlendState
impl PartialEq<BlendState> for BlendState
source§fn eq(&self, other: &BlendState) -> bool
fn eq(&self, other: &BlendState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.