pub struct PositionCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: u16,
pub max: u16,
}
Fields
period: u32
value_has_to_change: bool
option: char
min: u16
max: u16
Trait Implementations
sourceimpl Clone for PositionCallbackConfiguration
impl Clone for PositionCallbackConfiguration
sourcefn clone(&self) -> PositionCallbackConfiguration
fn clone(&self) -> PositionCallbackConfiguration
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 moresourceimpl Debug for PositionCallbackConfiguration
impl Debug for PositionCallbackConfiguration
sourceimpl Default for PositionCallbackConfiguration
impl Default for PositionCallbackConfiguration
sourcefn default() -> PositionCallbackConfiguration
fn default() -> PositionCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for PositionCallbackConfiguration
impl FromByteSlice for PositionCallbackConfiguration
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_bytes(bytes: &[u8]) -> PositionCallbackConfiguration
fn from_le_bytes(bytes: &[u8]) -> PositionCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for PositionCallbackConfiguration
impl Hash for PositionCallbackConfiguration
sourceimpl PartialEq<PositionCallbackConfiguration> for PositionCallbackConfiguration
impl PartialEq<PositionCallbackConfiguration> for PositionCallbackConfiguration
sourcefn eq(&self, other: &PositionCallbackConfiguration) -> bool
fn eq(&self, other: &PositionCallbackConfiguration) -> bool
impl Copy for PositionCallbackConfiguration
impl Eq for PositionCallbackConfiguration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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