pub struct StorageUtilization {
pub offset: u64,
pub size: u64,
}
Expand description
Defines if data uses a full memory chunk or a slice of it.
Fields§
§offset: u64
The offset in bytes from the chunk start.
size: u64
The size of the slice in bytes.
Trait Implementations§
Source§impl Clone for StorageUtilization
impl Clone for StorageUtilization
Source§fn clone(&self) -> StorageUtilization
fn clone(&self) -> StorageUtilization
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 moreAuto Trait Implementations§
impl Freeze for StorageUtilization
impl RefUnwindSafe for StorageUtilization
impl Send for StorageUtilization
impl Sync for StorageUtilization
impl Unpin for StorageUtilization
impl UnwindSafe for StorageUtilization
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