pub struct TimeTag {
pub seconds: u64,
pub fractional: u64,
}Expand description
OSC timestamp represented as a 64-bit NTP time tag.
The top 32 bits are the seconds since 1900-01-01, and the bottom 32 bits are the fractional part (1/2³² second resolution).
Fields§
§seconds: u64Seconds since 1900-01-01 (top 32 bits of NTP time tag).
fractional: u64Fractional seconds in 1/2³² units (bottom 32 bits).
Implementations§
Trait Implementations§
impl Copy for TimeTag
impl StructuralPartialEq for TimeTag
Auto Trait Implementations§
impl Freeze for TimeTag
impl RefUnwindSafe for TimeTag
impl Send for TimeTag
impl Sync for TimeTag
impl Unpin for TimeTag
impl UnsafeUnpin for TimeTag
impl UnwindSafe for TimeTag
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