#[repr(C)]pub struct StorageUnit(pub u64);Expand description
Minimum addressable storage unit for borrowed account images.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for StorageUnit
impl Clone for StorageUnit
Source§fn clone(&self) -> StorageUnit
fn clone(&self) -> StorageUnit
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 StorageUnit
Source§impl Default for StorageUnit
impl Default for StorageUnit
Source§fn default() -> StorageUnit
fn default() -> StorageUnit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageUnit
impl RefUnwindSafe for StorageUnit
impl Send for StorageUnit
impl Sync for StorageUnit
impl Unpin for StorageUnit
impl UnsafeUnpin for StorageUnit
impl UnwindSafe for StorageUnit
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