pub struct OverflowNotificationForPercell(/* private fields */);Implementations§
Source§impl OverflowNotificationForPercell
impl OverflowNotificationForPercell
Sourcepub const fn overflow_can_id(&self) -> u32
pub const fn overflow_can_id(&self) -> u32
The CAN ID that overflowed
Units: can_id
Bits: 0..32
Sourcepub const fn with_overflow_can_id_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_overflow_can_id_checked(self, value: u32) -> Result<Self, ()>
The CAN ID that overflowed
Units: can_id
Bits: 0..32
Sourcepub const fn with_overflow_can_id(self, value: u32) -> Self
pub const fn with_overflow_can_id(self, value: u32) -> Self
The CAN ID that overflowed
Units: can_id
Bits: 0..32
Sourcepub const fn set_overflow_can_id(&mut self, value: u32)
pub const fn set_overflow_can_id(&mut self, value: u32)
The CAN ID that overflowed
Units: can_id
Bits: 0..32
Sourcepub const fn set_overflow_can_id_checked(
&mut self,
value: u32,
) -> Result<(), ()>
pub const fn set_overflow_can_id_checked( &mut self, value: u32, ) -> Result<(), ()>
The CAN ID that overflowed
Units: can_id
Bits: 0..32
Sourcepub const fn overflow_cnt(&self) -> u16
pub const fn overflow_cnt(&self) -> u16
The number of times any overflow occured
Bits: 32..48
Sourcepub const fn with_overflow_cnt_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_overflow_cnt_checked(self, value: u16) -> Result<Self, ()>
The number of times any overflow occured
Bits: 32..48
Sourcepub const fn with_overflow_cnt(self, value: u16) -> Self
pub const fn with_overflow_cnt(self, value: u16) -> Self
The number of times any overflow occured
Bits: 32..48
Sourcepub const fn set_overflow_cnt(&mut self, value: u16)
pub const fn set_overflow_cnt(&mut self, value: u16)
The number of times any overflow occured
Bits: 32..48
Trait Implementations§
Source§impl Clone for OverflowNotificationForPercell
impl Clone for OverflowNotificationForPercell
Source§fn clone(&self) -> OverflowNotificationForPercell
fn clone(&self) -> OverflowNotificationForPercell
Returns a duplicate 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 From<OverflowNotificationForPercell> for u64
impl From<OverflowNotificationForPercell> for u64
Source§fn from(v: OverflowNotificationForPercell) -> Self
fn from(v: OverflowNotificationForPercell) -> Self
Converts to this type from the input type.
Source§impl From<u64> for OverflowNotificationForPercell
impl From<u64> for OverflowNotificationForPercell
impl Copy for OverflowNotificationForPercell
Auto Trait Implementations§
impl Freeze for OverflowNotificationForPercell
impl RefUnwindSafe for OverflowNotificationForPercell
impl Send for OverflowNotificationForPercell
impl Sync for OverflowNotificationForPercell
impl Unpin for OverflowNotificationForPercell
impl UnwindSafe for OverflowNotificationForPercell
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