pub struct ColorState {
pub mask: Rgba<bool>,
pub blend: BlendState,
}Fields§
§mask: Rgba<bool>§blend: BlendStateTrait Implementations§
Source§impl Clone for ColorState
impl Clone for ColorState
Source§fn clone(&self) -> ColorState
fn clone(&self) -> ColorState
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 ColorState
impl Debug for ColorState
Source§impl Default for ColorState
impl Default for ColorState
impl Copy for ColorState
Auto Trait Implementations§
impl Freeze for ColorState
impl RefUnwindSafe for ColorState
impl Send for ColorState
impl Sync for ColorState
impl Unpin for ColorState
impl UnwindSafe for ColorState
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