pub struct EncodedFrame {
pub index: u32,
pub timestamp_ms: u32,
pub data: Vec<u8>,
pub samples: u32,
}Expand description
An encoded frame ready for transmission
Fields§
§index: u32Frame index
timestamp_ms: u32Timestamp in milliseconds
data: Vec<u8>Encoded frame data
samples: u32Number of samples in this frame
Trait Implementations§
Source§impl Clone for EncodedFrame
impl Clone for EncodedFrame
Source§fn clone(&self) -> EncodedFrame
fn clone(&self) -> EncodedFrame
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 moreAuto Trait Implementations§
impl Freeze for EncodedFrame
impl RefUnwindSafe for EncodedFrame
impl Send for EncodedFrame
impl Sync for EncodedFrame
impl Unpin for EncodedFrame
impl UnwindSafe for EncodedFrame
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