pub struct AnalogValueCallbackThreshold {
pub option: char,
pub min: u16,
pub max: u16,
}
Fields§
§option: char
§min: u16
§max: u16
Trait Implementations§
source§impl Clone for AnalogValueCallbackThreshold
impl Clone for AnalogValueCallbackThreshold
source§fn clone(&self) -> AnalogValueCallbackThreshold
fn clone(&self) -> AnalogValueCallbackThreshold
Returns a copy 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 AnalogValueCallbackThreshold
impl Debug for AnalogValueCallbackThreshold
source§impl Default for AnalogValueCallbackThreshold
impl Default for AnalogValueCallbackThreshold
source§fn default() -> AnalogValueCallbackThreshold
fn default() -> AnalogValueCallbackThreshold
Returns the “default value” for a type. Read more
source§impl FromByteSlice for AnalogValueCallbackThreshold
impl FromByteSlice for AnalogValueCallbackThreshold
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> AnalogValueCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> AnalogValueCallbackThreshold
Deserialize the implementing type from a byte slice.
source§impl Hash for AnalogValueCallbackThreshold
impl Hash for AnalogValueCallbackThreshold
source§impl PartialEq for AnalogValueCallbackThreshold
impl PartialEq for AnalogValueCallbackThreshold
source§fn eq(&self, other: &AnalogValueCallbackThreshold) -> bool
fn eq(&self, other: &AnalogValueCallbackThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AnalogValueCallbackThreshold
impl Eq for AnalogValueCallbackThreshold
impl StructuralPartialEq for AnalogValueCallbackThreshold
Auto Trait Implementations§
impl RefUnwindSafe for AnalogValueCallbackThreshold
impl Send for AnalogValueCallbackThreshold
impl Sync for AnalogValueCallbackThreshold
impl Unpin for AnalogValueCallbackThreshold
impl UnwindSafe for AnalogValueCallbackThreshold
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