pub struct DecodeSupport {
pub codec: &'static str,
pub backends: Vec<&'static str>,
}Expand description
One codec’s decode support across the compiled backends.
Fields§
§codec: &'static strCanonical codec label, e.g. "h264".
backends: Vec<&'static str>Backend names that can decode it in this build ("nvdec", "amf",
"qsv", "ffmpeg"). Empty = this build can’t decode it.
Trait Implementations§
Source§impl Clone for DecodeSupport
impl Clone for DecodeSupport
Source§fn clone(&self) -> DecodeSupport
fn clone(&self) -> DecodeSupport
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 DecodeSupport
impl Debug for DecodeSupport
impl Eq for DecodeSupport
Source§impl PartialEq for DecodeSupport
impl PartialEq for DecodeSupport
Source§fn eq(&self, other: &DecodeSupport) -> bool
fn eq(&self, other: &DecodeSupport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodeSupport
Auto Trait Implementations§
impl Freeze for DecodeSupport
impl RefUnwindSafe for DecodeSupport
impl Send for DecodeSupport
impl Sync for DecodeSupport
impl Unpin for DecodeSupport
impl UnsafeUnpin for DecodeSupport
impl UnwindSafe for DecodeSupport
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