pub struct RgbaColor {
pub red: u8,
pub green: u8,
pub blue: u8,
pub alpha: u8,
}
Expand description
A RGBA color in the sRGB color space.
Fields§
§red: u8
§green: u8
§blue: u8
§alpha: u8
Implementations§
Trait Implementations§
impl Copy for RgbaColor
impl Eq 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<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