Struct embedder_traits::MediaPositionState
source · pub struct MediaPositionState {
pub duration: f64,
pub playback_rate: f64,
pub position: f64,
}
Expand description
Fields§
§duration: f64
§playback_rate: f64
§position: f64
Implementations§
Trait Implementations§
source§impl Clone for MediaPositionState
impl Clone for MediaPositionState
source§fn clone(&self) -> MediaPositionState
fn clone(&self) -> MediaPositionState
Returns a copy 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 moresource§impl Debug for MediaPositionState
impl Debug for MediaPositionState
source§impl<'de> Deserialize<'de> for MediaPositionState
impl<'de> Deserialize<'de> for MediaPositionState
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 MediaPositionState
impl RefUnwindSafe for MediaPositionState
impl Send for MediaPositionState
impl Sync for MediaPositionState
impl Unpin for MediaPositionState
impl UnwindSafe for MediaPositionState
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