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
sourceimpl Clone for AnalogValueCallbackConfiguration
impl Clone for AnalogValueCallbackConfiguration
sourcefn clone(&self) -> AnalogValueCallbackConfiguration
fn clone(&self) -> AnalogValueCallbackConfiguration
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 more
sourceimpl Default for AnalogValueCallbackConfiguration
impl Default for AnalogValueCallbackConfiguration
sourcefn default() -> AnalogValueCallbackConfiguration
fn default() -> AnalogValueCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for AnalogValueCallbackConfiguration
impl FromByteSlice for AnalogValueCallbackConfiguration
sourcefn 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.
sourcefn from_le_byte_slice(bytes: &[u8]) -> AnalogValueCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> AnalogValueCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl PartialEq<AnalogValueCallbackConfiguration> for AnalogValueCallbackConfiguration
impl PartialEq<AnalogValueCallbackConfiguration> for AnalogValueCallbackConfiguration
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &AnalogValueCallbackConfiguration) -> bool
fn ne(&self, other: &AnalogValueCallbackConfiguration) -> bool
This method tests for !=
.
impl Copy for AnalogValueCallbackConfiguration
impl Eq for AnalogValueCallbackConfiguration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more