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