Struct VideoPlaybackStats
pub struct VideoPlaybackStats {
pub rendition: String,
pub size: Option<Size>,
pub fps: Option<u32>,
pub decode_time: Option<Duration>,
pub frames: u64,
pub skipped: u64,
}Expand description
The video decoder.
The running decoder backend is in PlayerStatus::decoder.
Fields§
§rendition: StringThe rendition on screen.
size: Option<Size>The decoded picture size.
fps: Option<u32>Frames shown per second, over the last second.
None before the first second of pictures, and from at most two
seconds after the last picture shown.
decode_time: Option<Duration>How long one transport read and decode take together, smoothed.
frames: u64Frames shown since the player started.
skipped: u64Access units the decoder refused and skipped.
Trait Implementations§
§impl Clone for VideoPlaybackStats
impl Clone for VideoPlaybackStats
§fn clone(&self) -> VideoPlaybackStats
fn clone(&self) -> VideoPlaybackStats
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 more§impl Debug for VideoPlaybackStats
impl Debug for VideoPlaybackStats
§impl Default for VideoPlaybackStats
impl Default for VideoPlaybackStats
§fn default() -> VideoPlaybackStats
fn default() -> VideoPlaybackStats
Returns the “default value” for a type. Read more
impl Eq for VideoPlaybackStats
§impl PartialEq for VideoPlaybackStats
impl PartialEq for VideoPlaybackStats
impl StructuralPartialEq for VideoPlaybackStats
Auto Trait Implementations§
impl Freeze for VideoPlaybackStats
impl RefUnwindSafe for VideoPlaybackStats
impl Send for VideoPlaybackStats
impl Sync for VideoPlaybackStats
impl Unpin for VideoPlaybackStats
impl UnsafeUnpin for VideoPlaybackStats
impl UnwindSafe for VideoPlaybackStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.