#[repr(C)]pub struct Color {
pub r: c_uchar,
pub g: c_uchar,
pub b: c_uchar,
pub a: c_uchar,
}
Expand description
Color, 4 components, R8G8B8A8 (32bit)
Fields§
§r: c_uchar
Color red value
g: c_uchar
Color green value
b: c_uchar
Color blue value
a: c_uchar
Color alpha value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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