#[repr(i32)]pub enum Subsampling {
    Unknown,
    S444,
    S422,
    S420,
    S440,
    S411,
    S410,
}Expand description
UV subsampling is also specified in the enum value names using J:a:b notation (e.g. 4:2:0 is 1/2 horizontal and 1/2 vertical resolution for U and V). If alpha is present it is not sub- sampled. Note that Subsampling values other than k444 are only valid with PlaneConfig values that have U and V in different planes than Y (and A, if present).
Variants§
Trait Implementations§
source§impl Clone for Subsampling
 
impl Clone for Subsampling
source§fn clone(&self) -> Subsampling
 
fn clone(&self) -> Subsampling
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for Subsampling
 
impl Debug for Subsampling
source§impl Hash for Subsampling
 
impl Hash for Subsampling
source§impl PartialEq<Subsampling> for Subsampling
 
impl PartialEq<Subsampling> for Subsampling
source§fn eq(&self, other: &Subsampling) -> bool
 
fn eq(&self, other: &Subsampling) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for Subsampling
impl Eq for Subsampling
impl StructuralEq for Subsampling
impl StructuralPartialEq for Subsampling
Auto Trait Implementations§
impl RefUnwindSafe for Subsampling
impl Send for Subsampling
impl Sync for Subsampling
impl Unpin for Subsampling
impl UnwindSafe for Subsampling
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