Struct vp9_parser::Metadata [−][src]
pub struct Metadata { /* fields omitted */ }
VP9 Codec Feature Metadata saved inside the CodecPrivate
field of containers.
Implementations
impl Metadata
[src]
pub fn new(data: &[u8]) -> Result<Self, Vp9ParserError>
[src]
Creates the Vp9Metadata from the given CodecPrivate
data.
pub fn profile(&self) -> Profile
[src]
The profile of the video.
pub fn level(&self) -> Level
[src]
The level of the video.
pub fn color_depth(&self) -> ColorDepth
[src]
The color depth of the video.
pub fn chroma_subsampling(&self) -> MetadataSubsampling
[src]
The chroma subsampling of the video.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,