#[repr(transparent)]pub struct VideoCodecId(pub u8);
Expand description
FLV Video Codec ID
Denotes the different types of video codecs.
Defined by:
- Legacy FLV spec, Annex E.4.3.1
Tuple Fields§
§0: u8
Implementations§
Source§impl VideoCodecId
impl VideoCodecId
Sourcepub const SorensonH263: Self
pub const SorensonH263: Self
Sorenson H.263
Sourcepub const ScreenVideo: Self
pub const ScreenVideo: Self
Screen Video
Sourcepub const On2VP6WithAlphaChannel: Self
pub const On2VP6WithAlphaChannel: Self
On2 VP6 with alpha channel
Sourcepub const ScreenVideoVersion2: Self
pub const ScreenVideoVersion2: Self
Screen Video Version 2
Trait Implementations§
Source§impl Clone for VideoCodecId
impl Clone for VideoCodecId
Source§fn clone(&self) -> VideoCodecId
fn clone(&self) -> VideoCodecId
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 VideoCodecId
impl Debug for VideoCodecId
Source§impl From<VideoCodecId> for u8
impl From<VideoCodecId> for u8
Source§fn from(value: VideoCodecId) -> Self
fn from(value: VideoCodecId) -> Self
Converts to this type from the input type.
Source§impl From<u8> for VideoCodecId
impl From<u8> for VideoCodecId
Source§impl Hash for VideoCodecId
impl Hash for VideoCodecId
Source§impl Ord for VideoCodecId
impl Ord for VideoCodecId
Source§fn cmp(&self, other: &VideoCodecId) -> Ordering
fn cmp(&self, other: &VideoCodecId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VideoCodecId
impl PartialEq for VideoCodecId
Source§impl PartialOrd for VideoCodecId
impl PartialOrd for VideoCodecId
impl Copy for VideoCodecId
impl Eq for VideoCodecId
impl StructuralPartialEq for VideoCodecId
Auto Trait Implementations§
impl Freeze for VideoCodecId
impl RefUnwindSafe for VideoCodecId
impl Send for VideoCodecId
impl Sync for VideoCodecId
impl Unpin for VideoCodecId
impl UnwindSafe for VideoCodecId
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