Struct sndjvu_format::PaletteEntry
source · #[repr(C)]pub struct PaletteEntry {
pub b: u8,
pub g: u8,
pub r: u8,
}
Expand description
A BGR8 color from the palette of an FGbz
chunk.
Fields§
§b: u8
§g: u8
§r: u8
Trait Implementations§
source§impl Clone for PaletteEntry
impl Clone for PaletteEntry
source§fn clone(&self) -> PaletteEntry
fn clone(&self) -> PaletteEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaletteEntry
impl Debug for PaletteEntry
source§impl PartialEq for PaletteEntry
impl PartialEq for PaletteEntry
source§fn eq(&self, other: &PaletteEntry) -> bool
fn eq(&self, other: &PaletteEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaletteEntry
impl Eq for PaletteEntry
impl StructuralEq for PaletteEntry
impl StructuralPartialEq for PaletteEntry
Auto Trait Implementations§
impl RefUnwindSafe for PaletteEntry
impl Send for PaletteEntry
impl Sync for PaletteEntry
impl Unpin for PaletteEntry
impl UnwindSafe for PaletteEntry
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