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