#[repr(C, packed(1))]pub struct ScaleCounter {
pub scale: u64,
}
Fields§
§scale: u64
Trait Implementations§
Source§impl Clone for ScaleCounter
impl Clone for ScaleCounter
Source§fn clone(&self) -> ScaleCounter
fn clone(&self) -> ScaleCounter
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 Debug for ScaleCounter
impl Debug for ScaleCounter
impl Copy for ScaleCounter
Auto Trait Implementations§
impl Freeze for ScaleCounter
impl RefUnwindSafe for ScaleCounter
impl Send for ScaleCounter
impl Sync for ScaleCounter
impl Unpin for ScaleCounter
impl UnwindSafe for ScaleCounter
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