pub struct VideoFrame {
pub video_id: u16,
pub frame: u16,
pub packet: Vec<u8>,
}
Fields§
§video_id: u16
§frame: u16
§packet: Vec<u8>
Trait Implementations§
Source§impl Clone for VideoFrame
impl Clone for VideoFrame
Source§fn clone(&self) -> VideoFrame
fn clone(&self) -> VideoFrame
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 VideoFrame
impl Debug for VideoFrame
Source§impl<'de> Deserialize<'de> for VideoFrame
impl<'de> Deserialize<'de> for VideoFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for VideoFrame
impl Hash for VideoFrame
Source§impl Ord for VideoFrame
impl Ord for VideoFrame
Source§fn cmp(&self, other: &VideoFrame) -> Ordering
fn cmp(&self, other: &VideoFrame) -> 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 VideoFrame
impl PartialEq for VideoFrame
Source§impl PartialOrd for VideoFrame
impl PartialOrd for VideoFrame
Source§impl Serialize for VideoFrame
impl Serialize for VideoFrame
impl Eq for VideoFrame
impl StructuralPartialEq for VideoFrame
Auto Trait Implementations§
impl Freeze for VideoFrame
impl RefUnwindSafe for VideoFrame
impl Send for VideoFrame
impl Sync for VideoFrame
impl Unpin for VideoFrame
impl UnwindSafe for VideoFrame
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