pub struct StaticSrgbColorWithAlpha {
pub color: SrgbColor,
pub alpha: Option<f64>,
}Fields§
§color: SrgbColor§alpha: Option<f64>Trait Implementations§
Source§impl Clone for StaticSrgbColorWithAlpha
impl Clone for StaticSrgbColorWithAlpha
Source§fn clone(&self) -> StaticSrgbColorWithAlpha
fn clone(&self) -> StaticSrgbColorWithAlpha
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StaticSrgbColorWithAlpha
Source§impl Debug for StaticSrgbColorWithAlpha
impl Debug for StaticSrgbColorWithAlpha
Source§impl PartialEq for StaticSrgbColorWithAlpha
impl PartialEq for StaticSrgbColorWithAlpha
impl StructuralPartialEq for StaticSrgbColorWithAlpha
Auto Trait Implementations§
impl Freeze for StaticSrgbColorWithAlpha
impl RefUnwindSafe for StaticSrgbColorWithAlpha
impl Send for StaticSrgbColorWithAlpha
impl Sync for StaticSrgbColorWithAlpha
impl Unpin for StaticSrgbColorWithAlpha
impl UnsafeUnpin for StaticSrgbColorWithAlpha
impl UnwindSafe for StaticSrgbColorWithAlpha
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