Enum vp9_parser::Profile
source · [−]pub enum Profile {
Unknown,
Profile0,
Profile1,
Profile2,
Profile3,
}
Expand description
The VP9 profiles.
Variants
Unknown
Unknown.
Profile0
Color depth: 8 bit/sample, chroma subsampling: 4:2:0
Profile1
Color depth: 8 bit, chroma subsampling: 4:2:2, 4:4:0, 4:4:4
Profile2
Color depth: 10–12 bit, chroma subsampling: 4:2:0
Profile3
Color depth: 10–12 bit, chroma subsampling: 4:2:2, 4:4:0, 4:4:4
Trait Implementations
sourceimpl Ord for Profile
impl Ord for Profile
sourceimpl PartialOrd<Profile> for Profile
impl PartialOrd<Profile> for Profile
sourcefn partial_cmp(&self, other: &Profile) -> Option<Ordering>
fn partial_cmp(&self, other: &Profile) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Profile
impl Eq for Profile
impl StructuralEq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more