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