Struct led_box_comms::CounterInfo
source · pub struct CounterInfo {
pub cnt: u16,
pub psc: u16,
pub arr: u16,
pub ccr1: u16,
pub cr2_ois1: Option<u8>,
}
Fields§
§cnt: u16
§psc: u16
§arr: u16
§ccr1: u16
§cr2_ois1: Option<u8>
Trait Implementations§
source§impl Clone for CounterInfo
impl Clone for CounterInfo
source§fn clone(&self) -> CounterInfo
fn clone(&self) -> CounterInfo
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 CounterInfo
impl Debug for CounterInfo
source§impl<'de> Deserialize<'de> for CounterInfo
impl<'de> Deserialize<'de> for CounterInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CounterInfo
impl PartialEq for CounterInfo
source§fn eq(&self, other: &CounterInfo) -> bool
fn eq(&self, other: &CounterInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CounterInfo
impl Serialize for CounterInfo
impl Copy for CounterInfo
impl StructuralPartialEq for CounterInfo
Auto Trait Implementations§
impl Freeze for CounterInfo
impl RefUnwindSafe for CounterInfo
impl Send for CounterInfo
impl Sync for CounterInfo
impl Unpin for CounterInfo
impl UnwindSafe for CounterInfo
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