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