pub struct AnalogValueCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: u32,
pub max: u32,
}
Fields§
§period: u32
§value_has_to_change: bool
§option: char
§min: u32
§max: u32
Trait Implementations§
source§impl Clone for AnalogValueCallbackConfiguration
impl Clone for AnalogValueCallbackConfiguration
source§fn clone(&self) -> AnalogValueCallbackConfiguration
fn clone(&self) -> AnalogValueCallbackConfiguration
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 Default for AnalogValueCallbackConfiguration
impl Default for AnalogValueCallbackConfiguration
source§fn default() -> AnalogValueCallbackConfiguration
fn default() -> AnalogValueCallbackConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for AnalogValueCallbackConfiguration
impl FromByteSlice for AnalogValueCallbackConfiguration
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]) -> AnalogValueCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> AnalogValueCallbackConfiguration
Deserialize the implementing type from a byte slice.
source§impl PartialEq for AnalogValueCallbackConfiguration
impl PartialEq for AnalogValueCallbackConfiguration
source§fn eq(&self, other: &AnalogValueCallbackConfiguration) -> bool
fn eq(&self, other: &AnalogValueCallbackConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AnalogValueCallbackConfiguration
impl Eq for AnalogValueCallbackConfiguration
impl StructuralPartialEq for AnalogValueCallbackConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AnalogValueCallbackConfiguration
impl Send for AnalogValueCallbackConfiguration
impl Sync for AnalogValueCallbackConfiguration
impl Unpin for AnalogValueCallbackConfiguration
impl UnwindSafe for AnalogValueCallbackConfiguration
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