pub struct J2kPaletteMetadata {
pub columns: Vec<J2kPaletteColumn>,
pub entries: Vec<Vec<u64>>,
}Expand description
Parsed JP2/JPH Palette box.
Fields§
§columns: Vec<J2kPaletteColumn>Palette column descriptors in box order.
entries: Vec<Vec<u64>>Palette entries in row-major order: entry, then column.
Trait Implementations§
Source§impl Debug for J2kPaletteMetadata
impl Debug for J2kPaletteMetadata
impl Eq for J2kPaletteMetadata
Source§impl PartialEq for J2kPaletteMetadata
impl PartialEq for J2kPaletteMetadata
impl StructuralPartialEq for J2kPaletteMetadata
Auto Trait Implementations§
impl Freeze for J2kPaletteMetadata
impl RefUnwindSafe for J2kPaletteMetadata
impl Send for J2kPaletteMetadata
impl Sync for J2kPaletteMetadata
impl Unpin for J2kPaletteMetadata
impl UnsafeUnpin for J2kPaletteMetadata
impl UnwindSafe for J2kPaletteMetadata
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> 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