Struct aom_decode::Config
source · pub struct Config {
pub threads: usize,
}Expand description
Configuration for the decoer. For now it’s just number of threads.
You can use num_cpus::get() for a good default.
Fields§
§threads: usizeTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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