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