Struct sndjvu_format::annot::Color
source · pub struct Color {
pub r: u8,
pub g: u8,
pub b: u8,
}
Expand description
A color from the RGB8 color space.
The Display
implementation uses the notation that appears in DjVu annotations, e.g.
#0BFC36
.
Fields§
§r: u8
§g: u8
§b: u8
Implementations§
Trait Implementations§
source§impl PartialEq for Color
impl PartialEq for Color
impl Copy for Color
impl Eq for Color
impl StructuralEq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
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