pub struct J2kContext { /* private fields */ }Expand description
Reusable JPEG 2000 decode context and cache state.
Implementations§
Source§impl J2kContext
impl J2kContext
Sourcepub fn cpu_decode_parallelism(&self) -> CpuDecodeParallelism
pub fn cpu_decode_parallelism(&self) -> CpuDecodeParallelism
Return the CPU decode parallelism policy.
Sourcepub fn set_cpu_decode_parallelism(&mut self, parallelism: CpuDecodeParallelism)
pub fn set_cpu_decode_parallelism(&mut self, parallelism: CpuDecodeParallelism)
Set the CPU decode parallelism policy.
Trait Implementations§
Source§impl Clone for J2kContext
impl Clone for J2kContext
Source§fn clone(&self) -> J2kContext
fn clone(&self) -> J2kContext
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 J2kContext
impl Debug for J2kContext
Source§impl Default for J2kContext
impl Default for J2kContext
Source§fn default() -> J2kContext
fn default() -> J2kContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for J2kContext
impl RefUnwindSafe for J2kContext
impl Send for J2kContext
impl Sync for J2kContext
impl Unpin for J2kContext
impl UnsafeUnpin for J2kContext
impl UnwindSafe for J2kContext
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