#[repr(transparent)]pub struct RxdAmount(pub u32);
Expand description
Size of last incoming frame
Tuple Fields§
§0: u32
Implementations§
Source§impl RxdAmount
impl RxdAmount
Sourcepub const fn rxdatabits(&self) -> u8
pub const fn rxdatabits(&self) -> u8
Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing).
Sourcepub fn set_rxdatabits(&mut self, val: u8)
pub fn set_rxdatabits(&mut self, val: u8)
Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing).
Sourcepub const fn rxdatabytes(&self) -> u16
pub const fn rxdatabytes(&self) -> u16
Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing)
Sourcepub fn set_rxdatabytes(&mut self, val: u16)
pub fn set_rxdatabytes(&mut self, val: u16)
Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing)
Trait Implementations§
impl Copy for RxdAmount
impl Eq for RxdAmount
impl StructuralPartialEq for RxdAmount
Auto Trait Implementations§
impl Freeze for RxdAmount
impl RefUnwindSafe for RxdAmount
impl Send for RxdAmount
impl Sync for RxdAmount
impl Unpin for RxdAmount
impl UnwindSafe for RxdAmount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)