pub struct RationalTime {
pub value: f64,
pub rate: f64,
}Fields§
§value: f64§rate: f64Trait Implementations§
Source§impl Clone for RationalTime
impl Clone for RationalTime
Source§fn clone(&self) -> RationalTime
fn clone(&self) -> RationalTime
Returns a duplicate 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 RationalTime
impl Debug for RationalTime
Source§impl<'de> Deserialize<'de> for RationalTime
impl<'de> Deserialize<'de> for RationalTime
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 RationalTime
impl RefUnwindSafe for RationalTime
impl Send for RationalTime
impl Sync for RationalTime
impl Unpin for RationalTime
impl UnsafeUnpin for RationalTime
impl UnwindSafe for RationalTime
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