pub struct Vp9ProfileDef {
pub profile: Vp9Profile,
pub bit_depths: Vec<u8>,
pub chroma_formats: Vec<ChromaSubsampling>,
pub max_width: u32,
pub max_height: u32,
}Expand description
Full VP9 profile definition with bit depth and chroma constraints.
Fields§
§profile: Vp9ProfileProfile enum variant.
bit_depths: Vec<u8>Allowed bit depths.
chroma_formats: Vec<ChromaSubsampling>Allowed chroma subsampling formats.
max_width: u32Maximum resolution width.
max_height: u32Maximum resolution height.
Implementations§
Source§impl Vp9ProfileDef
impl Vp9ProfileDef
Trait Implementations§
Source§impl Clone for Vp9ProfileDef
impl Clone for Vp9ProfileDef
Source§fn clone(&self) -> Vp9ProfileDef
fn clone(&self) -> Vp9ProfileDef
Returns a duplicate 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 Vp9ProfileDef
impl Debug for Vp9ProfileDef
Source§impl PartialEq for Vp9ProfileDef
impl PartialEq for Vp9ProfileDef
impl Eq for Vp9ProfileDef
impl StructuralPartialEq for Vp9ProfileDef
Auto Trait Implementations§
impl Freeze for Vp9ProfileDef
impl RefUnwindSafe for Vp9ProfileDef
impl Send for Vp9ProfileDef
impl Sync for Vp9ProfileDef
impl Unpin for Vp9ProfileDef
impl UnsafeUnpin for Vp9ProfileDef
impl UnwindSafe for Vp9ProfileDef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more