pub struct SmoothTimeConfig {
pub max_freq: f64,
pub max_wander: f64,
pub leap_only: bool,
}Expand description
Configuration for the smoothtime directive (slew-based time smoothing).
Fields§
§max_freq: f64§max_wander: f64§leap_only: boolTrait Implementations§
Source§impl Clone for SmoothTimeConfig
impl Clone for SmoothTimeConfig
Source§fn clone(&self) -> SmoothTimeConfig
fn clone(&self) -> SmoothTimeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SmoothTimeConfig
impl Debug for SmoothTimeConfig
Source§impl PartialEq for SmoothTimeConfig
impl PartialEq for SmoothTimeConfig
Source§fn eq(&self, other: &SmoothTimeConfig) -> bool
fn eq(&self, other: &SmoothTimeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SmoothTimeConfig
Auto Trait Implementations§
impl Freeze for SmoothTimeConfig
impl RefUnwindSafe for SmoothTimeConfig
impl Send for SmoothTimeConfig
impl Sync for SmoothTimeConfig
impl Unpin for SmoothTimeConfig
impl UnsafeUnpin for SmoothTimeConfig
impl UnwindSafe for SmoothTimeConfig
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