Struct solstice::BlendState [−][src]
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
impl Clone for BlendState
[src]
impl Clone for BlendState
[src]fn clone(&self) -> BlendState
[src]
fn clone(&self) -> BlendState
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for BlendState
[src]
impl Debug for BlendState
[src]impl Default for BlendState
[src]
impl Default for BlendState
[src]impl PartialEq<BlendState> for BlendState
[src]
impl PartialEq<BlendState> for BlendState
[src]fn eq(&self, other: &BlendState) -> bool
[src]
fn eq(&self, other: &BlendState) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BlendState) -> bool
[src]
fn ne(&self, other: &BlendState) -> bool
[src]This method tests for !=
.
impl Copy for BlendState
[src]
impl Eq for BlendState
[src]
impl StructuralEq for BlendState
[src]
impl StructuralPartialEq for BlendState
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlendState
impl Send for BlendState
impl Sync for BlendState
impl Unpin for BlendState
impl UnwindSafe for BlendState
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more