pub struct FrameParams {
pub channel_id: u8,
pub frame_id: u16,
pub keyframe: bool,
pub fec_pct: u32,
pub chunk_len: u16,
pub send_ts: u32,
pub meta: Option<FrameMeta>,
}Fields§
§channel_id: u8§frame_id: u16§keyframe: bool§fec_pct: u32The profile’s delta or key FEC percentage.
chunk_len: u16§send_ts: u32§meta: Option<FrameMeta>Trait Implementations§
Source§impl Clone for FrameParams
impl Clone for FrameParams
Source§fn clone(&self) -> FrameParams
fn clone(&self) -> FrameParams
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 moreimpl Copy for FrameParams
Auto Trait Implementations§
impl Freeze for FrameParams
impl RefUnwindSafe for FrameParams
impl Send for FrameParams
impl Sync for FrameParams
impl Unpin for FrameParams
impl UnsafeUnpin for FrameParams
impl UnwindSafe for FrameParams
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