pub struct J2kCodestreamComponentHeader {
pub bit_depth: u8,
pub signed: bool,
pub x_rsiz: u8,
pub y_rsiz: u8,
}Expand description
Parsed SIZ component metadata.
Fields§
§bit_depth: u8Component precision in bits.
signed: boolWhether component samples are signed.
x_rsiz: u8Horizontal SIZ sampling factor (XRsiz).
y_rsiz: u8Vertical SIZ sampling factor (YRsiz).
Trait Implementations§
Source§impl Clone for J2kCodestreamComponentHeader
impl Clone for J2kCodestreamComponentHeader
Source§fn clone(&self) -> J2kCodestreamComponentHeader
fn clone(&self) -> J2kCodestreamComponentHeader
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 J2kCodestreamComponentHeader
Source§impl Debug for J2kCodestreamComponentHeader
impl Debug for J2kCodestreamComponentHeader
impl Eq for J2kCodestreamComponentHeader
Source§impl PartialEq for J2kCodestreamComponentHeader
impl PartialEq for J2kCodestreamComponentHeader
Source§fn eq(&self, other: &J2kCodestreamComponentHeader) -> bool
fn eq(&self, other: &J2kCodestreamComponentHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kCodestreamComponentHeader
Auto Trait Implementations§
impl Freeze for J2kCodestreamComponentHeader
impl RefUnwindSafe for J2kCodestreamComponentHeader
impl Send for J2kCodestreamComponentHeader
impl Sync for J2kCodestreamComponentHeader
impl Unpin for J2kCodestreamComponentHeader
impl UnsafeUnpin for J2kCodestreamComponentHeader
impl UnwindSafe for J2kCodestreamComponentHeader
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