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: u64The offset in bytes from the chunk start.
size: u64The 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 moreSource§impl Debug for StorageUtilization
impl Debug for StorageUtilization
Source§impl PartialEq for StorageUtilization
impl PartialEq for StorageUtilization
impl Eq for StorageUtilization
impl StructuralPartialEq for StorageUtilization
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.