pub struct DepacketizedFrame {
pub data: Vec<u8>,
pub timestamp: u32,
pub is_keyframe: bool,
pub codec: Codec,
}Fields§
§data: Vec<u8>§timestamp: u32§is_keyframe: bool§codec: CodecTrait Implementations§
Source§impl Clone for DepacketizedFrame
impl Clone for DepacketizedFrame
Source§fn clone(&self) -> DepacketizedFrame
fn clone(&self) -> DepacketizedFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DepacketizedFrame
impl Debug for DepacketizedFrame
impl Eq for DepacketizedFrame
Source§impl PartialEq for DepacketizedFrame
impl PartialEq for DepacketizedFrame
Source§fn eq(&self, other: &DepacketizedFrame) -> bool
fn eq(&self, other: &DepacketizedFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DepacketizedFrame
Auto Trait Implementations§
impl Freeze for DepacketizedFrame
impl RefUnwindSafe for DepacketizedFrame
impl Send for DepacketizedFrame
impl Sync for DepacketizedFrame
impl Unpin for DepacketizedFrame
impl UnsafeUnpin for DepacketizedFrame
impl UnwindSafe for DepacketizedFrame
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