pub struct TimeBase(pub Rational);Expand description
A time base expressed as a rational number of seconds per tick.
A TimeBase of 1/48000 means each timestamp unit is 1/48000 second.
Tuple Fields§
§0: RationalImplementations§
Trait Implementations§
impl Copy for TimeBase
impl Eq for TimeBase
impl StructuralPartialEq for TimeBase
Auto Trait Implementations§
impl Freeze for TimeBase
impl RefUnwindSafe for TimeBase
impl Send for TimeBase
impl Sync for TimeBase
impl Unpin for TimeBase
impl UnsafeUnpin for TimeBase
impl UnwindSafe for TimeBase
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