pub struct SgbColor {
pub r: u8,
pub g: u8,
pub b: u8,
}Expand description
A single SGB color in 5-bit-per-channel RGB format. Stored as the original 5-bit values (0-31 per channel).
Fields§
§r: u8§g: u8§b: u8Implementations§
Trait Implementations§
impl Copy for SgbColor
impl Eq for SgbColor
impl StructuralPartialEq for SgbColor
Auto Trait Implementations§
impl Freeze for SgbColor
impl RefUnwindSafe for SgbColor
impl Send for SgbColor
impl Sync for SgbColor
impl Unpin for SgbColor
impl UnsafeUnpin for SgbColor
impl UnwindSafe for SgbColor
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