pub struct J2kPaletteColumn {
pub bit_depth: u8,
pub signed: bool,
}Expand description
Parsed JP2/JPH Palette column descriptor.
Fields§
§bit_depth: u8Significant bits in this palette column.
signed: boolWhether this palette column stores signed values.
Trait Implementations§
Source§impl Clone for J2kPaletteColumn
impl Clone for J2kPaletteColumn
Source§fn clone(&self) -> J2kPaletteColumn
fn clone(&self) -> J2kPaletteColumn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for J2kPaletteColumn
Source§impl Debug for J2kPaletteColumn
impl Debug for J2kPaletteColumn
impl Eq for J2kPaletteColumn
Source§impl Hash for J2kPaletteColumn
impl Hash for J2kPaletteColumn
Source§impl PartialEq for J2kPaletteColumn
impl PartialEq for J2kPaletteColumn
impl StructuralPartialEq for J2kPaletteColumn
Auto Trait Implementations§
impl Freeze for J2kPaletteColumn
impl RefUnwindSafe for J2kPaletteColumn
impl Send for J2kPaletteColumn
impl Sync for J2kPaletteColumn
impl Unpin for J2kPaletteColumn
impl UnsafeUnpin for J2kPaletteColumn
impl UnwindSafe for J2kPaletteColumn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more