pub struct BatchDecodeOptions {
pub layout: BatchLayout,
pub settings: DecodeSettings,
pub workers: Option<NonZeroUsize>,
}Expand description
Options shared by preparation and CPU batch decode.
Fields§
§layout: BatchLayoutOutput channel ordering.
settings: DecodeSettingsNative decoder validation settings. The request controls target resolution.
workers: Option<NonZeroUsize>CPU worker count. None uses available parallelism.
Trait Implementations§
Source§impl Clone for BatchDecodeOptions
impl Clone for BatchDecodeOptions
Source§fn clone(&self) -> BatchDecodeOptions
fn clone(&self) -> BatchDecodeOptions
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 BatchDecodeOptions
Source§impl Debug for BatchDecodeOptions
impl Debug for BatchDecodeOptions
Auto Trait Implementations§
impl Freeze for BatchDecodeOptions
impl RefUnwindSafe for BatchDecodeOptions
impl Send for BatchDecodeOptions
impl Sync for BatchDecodeOptions
impl Unpin for BatchDecodeOptions
impl UnsafeUnpin for BatchDecodeOptions
impl UnwindSafe for BatchDecodeOptions
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