Struct ndi::recv::RecvPerformance
source · [−]pub struct RecvPerformance {
pub video_frames: i64,
pub audio_frames: i64,
pub metadata_frames: i64,
}
Expand description
Current performance levels of the receiving.
This allows you determine whether frames have been dropped.
Fields
video_frames: i64
number of video frames
audio_frames: i64
number of audio frames
metadata_frames: i64
number of metadata frames
Trait Implementations
sourceimpl Clone for RecvPerformance
impl Clone for RecvPerformance
sourcefn clone(&self) -> RecvPerformance
fn clone(&self) -> RecvPerformance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RecvPerformance
impl Debug for RecvPerformance
sourceimpl Default for RecvPerformance
impl Default for RecvPerformance
sourcefn default() -> RecvPerformance
fn default() -> RecvPerformance
Returns the “default value” for a type. Read more
sourceimpl Display for RecvPerformance
impl Display for RecvPerformance
sourceimpl Hash for RecvPerformance
impl Hash for RecvPerformance
impl Copy for RecvPerformance
Auto Trait Implementations
impl RefUnwindSafe for RecvPerformance
impl Send for RecvPerformance
impl Sync for RecvPerformance
impl Unpin for RecvPerformance
impl UnwindSafe for RecvPerformance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more