Struct RxdCurrentamount
#[repr(transparent)]pub struct RxdCurrentamount(pub u32);Expand description
Number of bytes transferred in the current transaction.
Tuple Fields§
§0: u32Implementations§
§impl RxdCurrentamount
impl RxdCurrentamount
pub const fn amount(&self) -> u16
pub const fn amount(&self) -> u16
Number of bytes transferred in the current transaction. Continuously updated.
pub const fn set_amount(&mut self, val: u16)
pub const fn set_amount(&mut self, val: u16)
Number of bytes transferred in the current transaction. Continuously updated.
Trait Implementations§
§impl Clone for RxdCurrentamount
impl Clone for RxdCurrentamount
§fn clone(&self) -> RxdCurrentamount
fn clone(&self) -> RxdCurrentamount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RxdCurrentamount
§impl Debug for RxdCurrentamount
impl Debug for RxdCurrentamount
§impl Default for RxdCurrentamount
impl Default for RxdCurrentamount
§fn default() -> RxdCurrentamount
fn default() -> RxdCurrentamount
Returns the “default value” for a type. Read more
impl Eq for RxdCurrentamount
§impl PartialEq for RxdCurrentamount
impl PartialEq for RxdCurrentamount
impl StructuralPartialEq for RxdCurrentamount
Auto Trait Implementations§
impl Freeze for RxdCurrentamount
impl RefUnwindSafe for RxdCurrentamount
impl Send for RxdCurrentamount
impl Sync for RxdCurrentamount
impl Unpin for RxdCurrentamount
impl UnsafeUnpin for RxdCurrentamount
impl UnwindSafe for RxdCurrentamount
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