Struct Currentamount
#[repr(transparent)]pub struct Currentamount(pub u32);
Expand description
Number of buffer bytes transferred since last START, continuously updated
Tuple Fields§
§0: u32
Implementations§
§impl Currentamount
impl Currentamount
pub const fn amount(&self) -> u16
pub const fn amount(&self) -> u16
Number of buffer bytes transferred since last START, continuously updated.
pub fn set_amount(&mut self, val: u16)
pub fn set_amount(&mut self, val: u16)
Number of buffer bytes transferred since last START, continuously updated.
Trait Implementations§
§impl Clone for Currentamount
impl Clone for Currentamount
§fn clone(&self) -> Currentamount
fn clone(&self) -> Currentamount
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 more§impl Default for Currentamount
impl Default for Currentamount
§fn default() -> Currentamount
fn default() -> Currentamount
Returns the “default value” for a type. Read more
§impl PartialEq for Currentamount
impl PartialEq for Currentamount
impl Copy for Currentamount
impl Eq for Currentamount
impl StructuralPartialEq for Currentamount
Auto Trait Implementations§
impl Freeze for Currentamount
impl RefUnwindSafe for Currentamount
impl Send for Currentamount
impl Sync for Currentamount
impl Unpin for Currentamount
impl UnwindSafe for Currentamount
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
)