pub enum ChromaFormat {
Monochrome,
Yuv420,
}Expand description
Chroma subsampling. The encoder supports 4:2:0 only for now.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChromaFormat
impl Clone for ChromaFormat
Source§fn clone(&self) -> ChromaFormat
fn clone(&self) -> ChromaFormat
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 ChromaFormat
Source§impl Debug for ChromaFormat
impl Debug for ChromaFormat
impl Eq for ChromaFormat
Source§impl PartialEq for ChromaFormat
impl PartialEq for ChromaFormat
Source§fn eq(&self, other: &ChromaFormat) -> bool
fn eq(&self, other: &ChromaFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChromaFormat
Auto Trait Implementations§
impl Freeze for ChromaFormat
impl RefUnwindSafe for ChromaFormat
impl Send for ChromaFormat
impl Sync for ChromaFormat
impl Unpin for ChromaFormat
impl UnsafeUnpin for ChromaFormat
impl UnwindSafe for ChromaFormat
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