pub struct TimTpRef<'a>(/* private fields */);
Expand description
Time pulse time data Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> TimTpRef<'a>
impl<'a> TimTpRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn tow_sub_ms(&self) -> u32
pub fn tow_sub_ms(&self) -> u32
Submillisecond part of towMS (scaling: 2^(-32))
sourcepub fn flags(&self) -> TimTpFlags
pub fn flags(&self) -> TimTpFlags
Flags
sourcepub fn ref_info_raw(&self) -> u8
pub fn ref_info_raw(&self) -> u8
Time reference information
sourcepub fn ref_info(&self) -> TimTpRefInfo
pub fn ref_info(&self) -> TimTpRefInfo
Time reference information
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TimTpRef<'a>
impl<'a> Send for TimTpRef<'a>
impl<'a> Sync for TimTpRef<'a>
impl<'a> Unpin for TimTpRef<'a>
impl<'a> UnwindSafe for TimTpRef<'a>
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