pub struct DecoderCodecCapability {
pub codec: String,
pub media_kind: DecoderMediaKind,
pub profiles: Vec<String>,
pub output_formats: Vec<DecoderFrameFormat>,
}Expand description
Describes one codec a decoder plugin can open.
Fields§
§codec: String§media_kind: DecoderMediaKind§profiles: Vec<String>§output_formats: Vec<DecoderFrameFormat>Trait Implementations§
Source§impl Clone for DecoderCodecCapability
impl Clone for DecoderCodecCapability
Source§fn clone(&self) -> DecoderCodecCapability
fn clone(&self) -> DecoderCodecCapability
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 moreSource§impl Debug for DecoderCodecCapability
impl Debug for DecoderCodecCapability
Source§impl<'de> Deserialize<'de> for DecoderCodecCapability
impl<'de> Deserialize<'de> for DecoderCodecCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecoderCodecCapability
Source§impl PartialEq for DecoderCodecCapability
impl PartialEq for DecoderCodecCapability
Source§impl Serialize for DecoderCodecCapability
impl Serialize for DecoderCodecCapability
impl StructuralPartialEq for DecoderCodecCapability
Auto Trait Implementations§
impl Freeze for DecoderCodecCapability
impl RefUnwindSafe for DecoderCodecCapability
impl Send for DecoderCodecCapability
impl Sync for DecoderCodecCapability
impl Unpin for DecoderCodecCapability
impl UnsafeUnpin for DecoderCodecCapability
impl UnwindSafe for DecoderCodecCapability
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