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