pub enum CpuDecodeParallelism {
Auto,
Serial,
}Expand description
CPU parallelism policy for native JPEG 2000 decode.
Variants§
Auto
Allow a single tile decode to use internal code-block parallelism.
Serial
Keep code-block decode serial for callers that already parallelize tiles.
Trait Implementations§
Source§impl Clone for CpuDecodeParallelism
impl Clone for CpuDecodeParallelism
Source§fn clone(&self) -> CpuDecodeParallelism
fn clone(&self) -> CpuDecodeParallelism
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 CpuDecodeParallelism
Source§impl Debug for CpuDecodeParallelism
impl Debug for CpuDecodeParallelism
Source§impl Default for CpuDecodeParallelism
impl Default for CpuDecodeParallelism
Source§fn default() -> CpuDecodeParallelism
fn default() -> CpuDecodeParallelism
Returns the “default value” for a type. Read more
impl Eq for CpuDecodeParallelism
Source§impl PartialEq for CpuDecodeParallelism
impl PartialEq for CpuDecodeParallelism
Source§fn eq(&self, other: &CpuDecodeParallelism) -> bool
fn eq(&self, other: &CpuDecodeParallelism) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CpuDecodeParallelism
Auto Trait Implementations§
impl Freeze for CpuDecodeParallelism
impl RefUnwindSafe for CpuDecodeParallelism
impl Send for CpuDecodeParallelism
impl Sync for CpuDecodeParallelism
impl Unpin for CpuDecodeParallelism
impl UnsafeUnpin for CpuDecodeParallelism
impl UnwindSafe for CpuDecodeParallelism
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