pub enum ConfigBound {
Positive,
NonNegative,
Gravity,
}Expand description
The bound a Config value must meet. Each refuses NaN and ±∞.
Variants§
Positive
Greater than zero: a duration the filter waits for or divides by, a standard deviation, or an accuracy bar.
NonNegative
Zero or more, where zero is a claim rather than a fault: a noise density (no noise of that kind), a window duration or stationarity tolerance, or a projection horizon.
Gravity
Within Earth’s normal gravity, 9.7 to 9.9 m s⁻²: the equator at about 26 km to the poles at sea level, with margin above. Anything outside is a unit, not a site.
Trait Implementations§
Source§impl Clone for ConfigBound
impl Clone for ConfigBound
impl Copy for ConfigBound
Source§impl Debug for ConfigBound
impl Debug for ConfigBound
impl Eq for ConfigBound
Source§impl Format for ConfigBound
Available on crate feature defmt only.
impl Format for ConfigBound
Available on crate feature
defmt only.Source§impl PartialEq for ConfigBound
impl PartialEq for ConfigBound
impl StructuralPartialEq for ConfigBound
Auto Trait Implementations§
impl Freeze for ConfigBound
impl RefUnwindSafe for ConfigBound
impl Send for ConfigBound
impl Sync for ConfigBound
impl Unpin for ConfigBound
impl UnsafeUnpin for ConfigBound
impl UnwindSafe for ConfigBound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.