pub struct TileBatchOptions {
pub workers: Option<NonZero<usize>>,
}Expand description
Worker configuration for CPU tile batches.
Fields§
§workers: Option<NonZero<usize>>Worker count. None asks the codec crate to use available parallelism.
Implementations§
Trait Implementations§
Source§impl Clone for TileBatchOptions
impl Clone for TileBatchOptions
Source§fn clone(&self) -> TileBatchOptions
fn clone(&self) -> TileBatchOptions
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 TileBatchOptions
Source§impl Debug for TileBatchOptions
impl Debug for TileBatchOptions
Source§impl Default for TileBatchOptions
impl Default for TileBatchOptions
Source§fn default() -> TileBatchOptions
fn default() -> TileBatchOptions
Returns the “default value” for a type. Read more
impl Eq for TileBatchOptions
Source§impl PartialEq for TileBatchOptions
impl PartialEq for TileBatchOptions
Source§fn eq(&self, other: &TileBatchOptions) -> bool
fn eq(&self, other: &TileBatchOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TileBatchOptions
Auto Trait Implementations§
impl Freeze for TileBatchOptions
impl RefUnwindSafe for TileBatchOptions
impl Send for TileBatchOptions
impl Sync for TileBatchOptions
impl Unpin for TileBatchOptions
impl UnsafeUnpin for TileBatchOptions
impl UnwindSafe for TileBatchOptions
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