pub struct VideoDataHeader {
pub frame_type: VideoFrameType,
pub codec_id: VideoCodecId,
}Fields§
§frame_type: VideoFrameType§codec_id: VideoCodecIdTrait Implementations§
Source§impl Clone for VideoDataHeader
impl Clone for VideoDataHeader
Source§fn clone(&self) -> VideoDataHeader
fn clone(&self) -> VideoDataHeader
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 moreSource§impl Debug for VideoDataHeader
impl Debug for VideoDataHeader
Source§impl From<VideoDataHeader> for u8
impl From<VideoDataHeader> for u8
Source§fn from(h: VideoDataHeader) -> Self
fn from(h: VideoDataHeader) -> Self
Converts to this type from the input type.
Source§impl Hash for VideoDataHeader
impl Hash for VideoDataHeader
Source§impl Ord for VideoDataHeader
impl Ord for VideoDataHeader
Source§fn cmp(&self, other: &VideoDataHeader) -> Ordering
fn cmp(&self, other: &VideoDataHeader) -> 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 VideoDataHeader
impl PartialEq for VideoDataHeader
Source§impl PartialOrd for VideoDataHeader
impl PartialOrd for VideoDataHeader
Source§impl TryFrom<u8> for VideoDataHeader
impl TryFrom<u8> for VideoDataHeader
impl Copy for VideoDataHeader
impl Eq for VideoDataHeader
impl StructuralPartialEq for VideoDataHeader
Auto Trait Implementations§
impl Freeze for VideoDataHeader
impl RefUnwindSafe for VideoDataHeader
impl Send for VideoDataHeader
impl Sync for VideoDataHeader
impl Unpin for VideoDataHeader
impl UnwindSafe for VideoDataHeader
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