pub struct ClutEntry {
pub clut_entry_id: u8,
pub flag_2bit: bool,
pub flag_4bit: bool,
pub flag_8bit: bool,
pub reserved_flags: u8,
pub full_range_flag: bool,
pub y_value: u8,
pub cr_value: u8,
pub cb_value: u8,
pub t_value: u8,
}Expand description
A single CLUT entry.
Fields§
§clut_entry_id: u8CLUT entry number.
flag_2bit: boolWhether this loads into the 2-bit/entry CLUT.
flag_4bit: boolWhether this loads into the 4-bit/entry CLUT.
flag_8bit: boolWhether this loads into the 8-bit/entry CLUT.
reserved_flags: u8Reserved bits in the flags byte (bits [4:1], must be preserved for round-trip).
full_range_flag: boolWhether full 8-bit resolution colour values follow.
y_value: u8Y output value.
cr_value: u8Cr output value.
cb_value: u8Cb output value.
t_value: u8T (transparency) output value.
Trait Implementations§
impl Eq for ClutEntry
impl StructuralPartialEq for ClutEntry
Auto Trait Implementations§
impl Freeze for ClutEntry
impl RefUnwindSafe for ClutEntry
impl Send for ClutEntry
impl Sync for ClutEntry
impl Unpin for ClutEntry
impl UnsafeUnpin for ClutEntry
impl UnwindSafe for ClutEntry
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