#[repr(i32)]pub enum AVMediaType {
AVMEDIA_TYPE_UNKNOWN = -1,
AVMEDIA_TYPE_VIDEO = 0,
AVMEDIA_TYPE_AUDIO = 1,
AVMEDIA_TYPE_DATA = 2,
AVMEDIA_TYPE_SUBTITLE = 3,
AVMEDIA_TYPE_ATTACHMENT = 4,
AVMEDIA_TYPE_NB = 5,
}
Variants§
AVMEDIA_TYPE_UNKNOWN = -1
AVMEDIA_TYPE_VIDEO = 0
AVMEDIA_TYPE_AUDIO = 1
AVMEDIA_TYPE_DATA = 2
AVMEDIA_TYPE_SUBTITLE = 3
AVMEDIA_TYPE_ATTACHMENT = 4
AVMEDIA_TYPE_NB = 5
Trait Implementations§
Source§impl Clone for AVMediaType
impl Clone for AVMediaType
Source§fn clone(&self) -> AVMediaType
fn clone(&self) -> AVMediaType
Returns a copy 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 moreSource§impl Debug for AVMediaType
impl Debug for AVMediaType
Source§impl Hash for AVMediaType
impl Hash for AVMediaType
Source§impl PartialEq for AVMediaType
impl PartialEq for AVMediaType
impl Copy for AVMediaType
impl Eq for AVMediaType
impl StructuralPartialEq for AVMediaType
Auto Trait Implementations§
impl Freeze for AVMediaType
impl RefUnwindSafe for AVMediaType
impl Send for AVMediaType
impl Sync for AVMediaType
impl Unpin for AVMediaType
impl UnwindSafe for AVMediaType
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