#[non_exhaustive]pub struct PaletteColumn {
pub bit_depth: u8,
pub signed: bool,
}Expand description
One palette column’s sample format, from its Bi byte.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bit_depth: u8Bit depth, (Bi & 0x7F) + 1: 1 to 128.
signed: boolWhether the column’s values are signed (Bi & 0x80).
Trait Implementations§
Source§impl Clone for PaletteColumn
impl Clone for PaletteColumn
Source§impl Debug for PaletteColumn
impl Debug for PaletteColumn
impl Eq for PaletteColumn
Source§impl PartialEq for PaletteColumn
impl PartialEq for PaletteColumn
impl StructuralPartialEq for PaletteColumn
Auto Trait Implementations§
impl Forget for PaletteColumn
impl Freeze for PaletteColumn
impl Move for PaletteColumn
impl RefUnwindSafe for PaletteColumn
impl Send for PaletteColumn
impl Sync for PaletteColumn
impl Unpin for PaletteColumn
impl UnsafeUnpin for PaletteColumn
impl UnwindSafe for PaletteColumn
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