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