Enum omnisensor::threshold::ThresholdBoundType
source · [−]pub enum ThresholdBoundType {
Lower,
Upper,
}
Expand description
The direction of a threshold bound.
Variants
Lower
The threshold bound represent a value the sensor reading should not drop below.
Upper
The threshold bound represent a value the sensor reading should not exceed.
Implementations
sourceimpl ThresholdBoundType
impl ThresholdBoundType
sourcefn direction_tag(&self) -> &'static str
fn direction_tag(&self) -> &'static str
Return a string representing the bound type.
Trait Implementations
sourceimpl Clone for ThresholdBoundType
impl Clone for ThresholdBoundType
sourcefn clone(&self) -> ThresholdBoundType
fn clone(&self) -> ThresholdBoundType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThresholdBoundType
impl Debug for ThresholdBoundType
sourceimpl IntoEnumIterator for ThresholdBoundType
impl IntoEnumIterator for ThresholdBoundType
type Iterator = ThresholdBoundTypeIter
fn iter() -> ThresholdBoundTypeIterⓘNotable traits for ThresholdBoundTypeIterimpl Iterator for ThresholdBoundTypeIter type Item = ThresholdBoundType;
sourceimpl TryFrom<&String> for ThresholdBoundType
impl TryFrom<&String> for ThresholdBoundType
impl Copy for ThresholdBoundType
Auto Trait Implementations
impl RefUnwindSafe for ThresholdBoundType
impl Send for ThresholdBoundType
impl Sync for ThresholdBoundType
impl Unpin for ThresholdBoundType
impl UnwindSafe for ThresholdBoundType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more