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