CodecID

Struct CodecID 

Source
pub struct CodecID(/* private fields */);

Implementations§

Source§

impl CodecID

Source

pub const MP1: CodecID

Source

pub const MP2: CodecID

Source

pub const MP3: CodecID

Source

pub const AAC: CodecID

Source

pub const AC3: CodecID

Source

pub const EAC3: CodecID

Source

pub const DTS: CodecID

Source

pub const FLAC: CodecID

Source

pub const ALAC: CodecID

Source

pub const G723_1: CodecID

Source

pub const G729: CodecID

Source

pub const VORBIS: CodecID

Source

pub const OPUS: CodecID

Source

pub const WMA1: CodecID

Source

pub const WMA2: CodecID

Source

pub const WMAVOICE: CodecID

Source

pub const WMAPRO: CodecID

Source

pub const WMALOSSLESS: CodecID

Source§

impl CodecID

Source

pub const MPEG1: CodecID

Source

pub const MPEG2: CodecID

Source

pub const MPEG4: CodecID

Source

pub const MJPEG: CodecID

Source

pub const H261: CodecID

Source

pub const H263: CodecID

Source

pub const H264: CodecID

Source

pub const HEVC: CodecID

Source

pub const VVC: CodecID

Source

pub const VP8: CodecID

Source

pub const VP9: CodecID

Source

pub const AV1: CodecID

Source

pub const RV10: CodecID

Source

pub const RV20: CodecID

Source

pub const RV30: CodecID

Source

pub const RV40: CodecID

Source

pub const RV60: CodecID

Source

pub const FLV1: CodecID

Source

pub const WMV1: CodecID

Source

pub const WMV2: CodecID

Source

pub const WMV3: CodecID

Source

pub const VC1: CodecID

Source

pub const AVS: CodecID

Source

pub const CAVS: CodecID

Source

pub const AVS2: CodecID

Source

pub const AVS3: CodecID

Source

pub const BMP: CodecID

Source

pub const PNG: CodecID

Source

pub const APNG: CodecID

Source

pub const GIF: CodecID

Source

pub const TIFF: CodecID

Source

pub const WEBP: CodecID

Source

pub const JPEGXL: CodecID

Source

pub const JPEG2000: CodecID

Source

pub const PRORES: CodecID

Source§

impl CodecID

Source

pub fn media_type(&self) -> MediaType

Trait Implementations§

Source§

impl Clone for CodecID

Source§

fn clone(&self) -> CodecID

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CodecID

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for CodecID

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for CodecID

Source§

fn eq(&self, other: &CodecID) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for CodecID

Source§

impl Eq for CodecID

Source§

impl StructuralPartialEq for CodecID

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.