pub struct Argb {
pub alpha: u8,
pub red: u8,
pub green: u8,
pub blue: u8,
}
Expand description
An alpha-red-gree-blue color data.
Fields§
§alpha: u8
A component of alpha.
red: u8
A component of red.
green: u8
A component of green.
blue: u8
A component of blue.
Trait Implementations§
source§impl PartialEq for Argb
impl PartialEq for Argb
impl Copy for Argb
impl Eq for Argb
impl StructuralEq for Argb
impl StructuralPartialEq for Argb
Auto Trait Implementations§
impl RefUnwindSafe for Argb
impl Send for Argb
impl Sync for Argb
impl Unpin for Argb
impl UnwindSafe for Argb
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