#[repr(C)]pub struct ColorRgb {
pub r: u8,
pub g: u8,
pub b: u8,
}Expand description
RGB color value.
Fields§
§r: u8< Red component (0-255)
g: u8< Green component (0-255)
b: u8< Blue component (0-255)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorRgb
impl RefUnwindSafe for ColorRgb
impl Send for ColorRgb
impl Sync for ColorRgb
impl Unpin for ColorRgb
impl UnsafeUnpin for ColorRgb
impl UnwindSafe for ColorRgb
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