pub struct ExtEventBlock {
pub source: u8,
pub polarity: u8,
pub pvt_age: u16,
/* private fields */
}Expand description
ExtEvent block (Block ID 5924)
External event timing information.
Fields§
§source: u8Event source
polarity: u8Edge polarity
pvt_age: u16PVT solution age
Implementations§
Source§impl ExtEventBlock
impl ExtEventBlock
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
Sourcepub fn offset_seconds(&self) -> Option<f64>
pub fn offset_seconds(&self) -> Option<f64>
Event offset in seconds (None if DNU)
Sourcepub fn offset_ns(&self) -> Option<f32>
pub fn offset_ns(&self) -> Option<f32>
Event offset in nanoseconds (legacy convenience conversion)
Sourcepub fn rx_clk_bias_seconds(&self) -> Option<f64>
pub fn rx_clk_bias_seconds(&self) -> Option<f64>
Receiver clock bias in seconds (None if DNU)
Sourcepub fn rx_clk_bias_ms(&self) -> Option<f64>
pub fn rx_clk_bias_ms(&self) -> Option<f64>
Receiver clock bias in ms (None if DNU)
Kept for compatibility with existing ms-based callers.
Trait Implementations§
Source§impl Clone for ExtEventBlock
impl Clone for ExtEventBlock
Source§fn clone(&self) -> ExtEventBlock
fn clone(&self) -> ExtEventBlock
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 ExtEventBlock
impl Debug for ExtEventBlock
Auto Trait Implementations§
impl Freeze for ExtEventBlock
impl RefUnwindSafe for ExtEventBlock
impl Send for ExtEventBlock
impl Sync for ExtEventBlock
impl Unpin for ExtEventBlock
impl UnsafeUnpin for ExtEventBlock
impl UnwindSafe for ExtEventBlock
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