pub struct DecoderConfig {
pub luma_only: bool,
}Expand description
A set of possible configuration flags that are generic across all decoders.
Fields§
§luma_only: boolIf true, the decoder will only fetch the luma planes from the video.
Trait Implementations§
Source§impl Clone for DecoderConfig
impl Clone for DecoderConfig
Source§fn clone(&self) -> DecoderConfig
fn clone(&self) -> DecoderConfig
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 DecoderConfig
Source§impl Debug for DecoderConfig
impl Debug for DecoderConfig
Source§impl Default for DecoderConfig
impl Default for DecoderConfig
Source§fn default() -> DecoderConfig
fn default() -> DecoderConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DecoderConfig
impl RefUnwindSafe for DecoderConfig
impl Send for DecoderConfig
impl Sync for DecoderConfig
impl Unpin for DecoderConfig
impl UnsafeUnpin for DecoderConfig
impl UnwindSafe for DecoderConfig
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