pub struct PgsPdsSegmentPaletteEntry {
pub palette_entry_id: u8,
pub luminance: u8,
pub color_difference_red: u8,
pub color_difference_blue: u8,
pub transparency: u8,
}
Expand description
Struct representing an individual palette entry in a PDS. Each palette entry consists of the palette ID and its corresponding color values (Y, Cr, Cb).
Fields§
§palette_entry_id: u8
§luminance: u8
§color_difference_red: u8
§color_difference_blue: u8
§transparency: u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PgsPdsSegmentPaletteEntry
impl RefUnwindSafe for PgsPdsSegmentPaletteEntry
impl Send for PgsPdsSegmentPaletteEntry
impl Sync for PgsPdsSegmentPaletteEntry
impl Unpin for PgsPdsSegmentPaletteEntry
impl UnwindSafe for PgsPdsSegmentPaletteEntry
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