pub struct DecoderDescriptor {
pub codec_id: CodecId,
pub name: &'static str,
pub long_name: &'static str,
pub media_type: MediaType,
pub capabilities: CodecCapabilities,
pub properties: CodecProperties,
pub priority: i32,
}Expand description
Descriptor for a decoder implementation, used in the registry.
Fields§
§codec_id: CodecId§name: &'static str§long_name: &'static str§media_type: MediaType§capabilities: CodecCapabilities§properties: CodecProperties§priority: i32Priority for registry selection. Higher priority wins when multiple decoders support the same codec_id. Native implementations use 100, wrapper/adapter implementations use 50.
Trait Implementations§
Source§impl Clone for DecoderDescriptor
impl Clone for DecoderDescriptor
Source§fn clone(&self) -> DecoderDescriptor
fn clone(&self) -> DecoderDescriptor
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 moreAuto Trait Implementations§
impl Freeze for DecoderDescriptor
impl RefUnwindSafe for DecoderDescriptor
impl Send for DecoderDescriptor
impl Sync for DecoderDescriptor
impl Unpin for DecoderDescriptor
impl UnsafeUnpin for DecoderDescriptor
impl UnwindSafe for DecoderDescriptor
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