pub struct WaveletTile {
pub index: u32,
pub rect: J2kRect,
pub uses_color_transform: bool,
pub components: Vec<WaveletComponent>,
}Expand description
Selected component coefficients belonging to one independently coded tile.
Fields§
§index: u32Original row-major tile index.
rect: J2kRectTile rectangle in the image reference grid.
uses_color_transform: boolWhether the first three components are in the codestream’s transformed color domain (RCT for reversible, ICT for irreversible coding), not RGB.
components: Vec<WaveletComponent>Selected components. JP2 palette, channel, and ICC transformations have not been applied; indices refer to codestream components.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveletTile
impl RefUnwindSafe for WaveletTile
impl Send for WaveletTile
impl Sync for WaveletTile
impl Unpin for WaveletTile
impl UnsafeUnpin for WaveletTile
impl UnwindSafe for WaveletTile
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