Struct ttf_parser::RgbaColor
source · 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§
source§impl PartialEq for RgbaColor
impl PartialEq for RgbaColor
impl Copy for RgbaColor
impl Eq for RgbaColor
impl StructuralEq for RgbaColor
impl StructuralPartialEq for RgbaColor
Auto Trait Implementations§
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