pub enum SignalTargetConfig {
Above {
value: f64,
},
Below {
value: f64,
},
Between {
min: f64,
max: f64,
},
}Variants§
Trait Implementations§
Source§impl Clone for SignalTargetConfig
impl Clone for SignalTargetConfig
Source§fn clone(&self) -> SignalTargetConfig
fn clone(&self) -> SignalTargetConfig
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 SignalTargetConfig
impl Debug for SignalTargetConfig
Source§impl<'de> Deserialize<'de> for SignalTargetConfig
impl<'de> Deserialize<'de> for SignalTargetConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SignalTargetConfig
impl PartialEq for SignalTargetConfig
Source§impl Serialize for SignalTargetConfig
impl Serialize for SignalTargetConfig
impl StructuralPartialEq for SignalTargetConfig
Auto Trait Implementations§
impl Freeze for SignalTargetConfig
impl RefUnwindSafe for SignalTargetConfig
impl Send for SignalTargetConfig
impl Sync for SignalTargetConfig
impl Unpin for SignalTargetConfig
impl UnwindSafe for SignalTargetConfig
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