pub struct CstrInfoV2 {
pub nbcomps: u32,
pub tx0: u32,
pub ty0: u32,
pub tdx: u32,
pub tdy: u32,
pub tw: u32,
pub th: u32,
pub default_tile: CstrTccpInfoV2,
}Expand description
Safe, owned codestream info v2 (the C mirror is built by the capi crate).
Fields§
§nbcomps: u32Number of components.
tx0: u32Image origin x.
ty0: u32Image origin y.
tdx: u32Tile width.
tdy: u32Tile height.
tw: u32Tiles horizontally.
th: u32Tiles vertically.
default_tile: CstrTccpInfoV2The default tile’s coding parameters.
Implementations§
Source§impl CstrInfoV2
jpeg2k-parity accessors (the C mirror exposes the same fields).
impl CstrInfoV2
jpeg2k-parity accessors (the C mirror exposes the same fields).
Sourcepub fn tile_info(&self) -> &CstrTccpInfoV2
pub fn tile_info(&self) -> &CstrTccpInfoV2
The default tile’s coding parameters (jpeg2k parity alias).
Sourcepub fn default_tile_info(&self) -> &CstrTccpInfoV2
pub fn default_tile_info(&self) -> &CstrTccpInfoV2
The default tile’s coding parameters.
Trait Implementations§
Source§impl Clone for CstrInfoV2
impl Clone for CstrInfoV2
Source§fn clone(&self) -> CstrInfoV2
fn clone(&self) -> CstrInfoV2
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 moreSource§impl Debug for CstrInfoV2
impl Debug for CstrInfoV2
Source§impl Default for CstrInfoV2
impl Default for CstrInfoV2
Source§fn default() -> CstrInfoV2
fn default() -> CstrInfoV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for CstrInfoV2
impl Freeze for CstrInfoV2
impl Move for CstrInfoV2
impl RefUnwindSafe for CstrInfoV2
impl Send for CstrInfoV2
impl Sync for CstrInfoV2
impl Unpin for CstrInfoV2
impl UnsafeUnpin for CstrInfoV2
impl UnwindSafe for CstrInfoV2
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