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