Struct annotate_snippets::renderer::RgbColor
source · pub struct RgbColor(pub u8, pub u8, pub u8);
Expand description
24-bit ANSI RGB color codes
Tuple Fields§
§0: u8
§1: u8
§2: u8
Implementations§
Trait Implementations§
source§impl Ord for RgbColor
impl Ord for RgbColor
source§impl PartialEq for RgbColor
impl PartialEq for RgbColor
source§impl PartialOrd for RgbColor
impl PartialOrd for RgbColor
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RgbColor
impl Eq for RgbColor
impl StructuralPartialEq for RgbColor
Auto Trait Implementations§
impl Freeze for RgbColor
impl RefUnwindSafe for RgbColor
impl Send for RgbColor
impl Sync for RgbColor
impl Unpin for RgbColor
impl UnwindSafe for RgbColor
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