pub struct NativePlaybackSnapshot {Show 13 fields
pub duration_seconds: f64,
pub current_time_seconds: f64,
pub buffered_seconds: f64,
pub playing: bool,
pub video_width: u32,
pub video_height: u32,
pub tracks: Vec<NativeTrackInfo>,
pub presented_frames: u64,
pub dropped_frames: u64,
pub measured_fps: f64,
pub hardware_backend: String,
pub encoded_bytes_buffered: u64,
pub average_frame_processing_us: f64,
}Fields§
§duration_seconds: f64§current_time_seconds: f64§buffered_seconds: f64§playing: bool§video_width: u32§video_height: u32§tracks: Vec<NativeTrackInfo>§presented_frames: u64§dropped_frames: u64§measured_fps: f64§hardware_backend: String§encoded_bytes_buffered: u64§average_frame_processing_us: f64Trait Implementations§
Source§impl Clone for NativePlaybackSnapshot
impl Clone for NativePlaybackSnapshot
Source§fn clone(&self) -> NativePlaybackSnapshot
fn clone(&self) -> NativePlaybackSnapshot
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 NativePlaybackSnapshot
impl Debug for NativePlaybackSnapshot
Source§impl<'de> Deserialize<'de> for NativePlaybackSnapshot
impl<'de> Deserialize<'de> for NativePlaybackSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NativePlaybackSnapshot
impl RefUnwindSafe for NativePlaybackSnapshot
impl Send for NativePlaybackSnapshot
impl Sync for NativePlaybackSnapshot
impl Unpin for NativePlaybackSnapshot
impl UnsafeUnpin for NativePlaybackSnapshot
impl UnwindSafe for NativePlaybackSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more