pub struct RgbaColor {
pub red: u8,
pub green: u8,
pub blue: u8,
pub alpha: u8,
}
Fields§
§red: u8
§green: u8
§blue: u8
§alpha: u8
Implementations§
Trait Implementations§
impl ColorSpace for RgbaColor
impl ColorTransition for RgbaColor
impl Copy for RgbaColor
impl Eq for RgbaColor
impl NonRadialSpace for RgbaColor
impl NonSaturationSpace for RgbaColor
impl StructuralPartialEq for RgbaColor
Auto Trait Implementations§
impl Freeze for RgbaColor
impl RefUnwindSafe for RgbaColor
impl Send for RgbaColor
impl Sync for RgbaColor
impl Unpin for RgbaColor
impl UnwindSafe for RgbaColor
Blanket Implementations§
Source§impl<C> AdjustHue for C
impl<C> AdjustHue for C
fn adjust_hue(self, delta: f64) -> C
fn complement(self) -> Self
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