#[non_exhaustive]pub struct J2kToHtj2kOptions {
pub output_payload_kind: CompressedPayloadKind,
pub progression: J2kProgressionOrder,
pub validation: J2kEncodeValidation,
}Expand description
Options for classic JPEG 2000 reversible 5/3 to HTJ2K lossless recoding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.output_payload_kind: CompressedPayloadKindRequested output payload shape.
DICOM encapsulated WSI frames use raw JPEG 2000-family codestreams, so
the default is CompressedPayloadKind::Jpeg2000Codestream. JP2 output
is not produced by the coefficient-domain recoder yet.
progression: J2kProgressionOrderOutput packet progression order.
validation: J2kEncodeValidationOptional decoded-pixel validation of the produced codestream.
Implementations§
Source§impl J2kToHtj2kOptions
impl J2kToHtj2kOptions
Sourcepub const fn new(
output_payload_kind: CompressedPayloadKind,
progression: J2kProgressionOrder,
validation: J2kEncodeValidation,
) -> Self
pub const fn new( output_payload_kind: CompressedPayloadKind, progression: J2kProgressionOrder, validation: J2kEncodeValidation, ) -> Self
Create J2K/JP2 to HTJ2K recode options.
Trait Implementations§
Source§impl Clone for J2kToHtj2kOptions
impl Clone for J2kToHtj2kOptions
Source§fn clone(&self) -> J2kToHtj2kOptions
fn clone(&self) -> J2kToHtj2kOptions
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 J2kToHtj2kOptions
Source§impl Debug for J2kToHtj2kOptions
impl Debug for J2kToHtj2kOptions
Source§impl Default for J2kToHtj2kOptions
impl Default for J2kToHtj2kOptions
impl Eq for J2kToHtj2kOptions
Source§impl Hash for J2kToHtj2kOptions
impl Hash for J2kToHtj2kOptions
Source§impl PartialEq for J2kToHtj2kOptions
impl PartialEq for J2kToHtj2kOptions
Source§fn eq(&self, other: &J2kToHtj2kOptions) -> bool
fn eq(&self, other: &J2kToHtj2kOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kToHtj2kOptions
Auto Trait Implementations§
impl Freeze for J2kToHtj2kOptions
impl RefUnwindSafe for J2kToHtj2kOptions
impl Send for J2kToHtj2kOptions
impl Sync for J2kToHtj2kOptions
impl Unpin for J2kToHtj2kOptions
impl UnsafeUnpin for J2kToHtj2kOptions
impl UnwindSafe for J2kToHtj2kOptions
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