pub struct SharedPrefixCommitInfo {
pub additional_owned_bytes: u64,
pub newly_mapped_bytes: u64,
pub granules: usize,
}Expand description
The accounting outcome of mapping a SharedDevicePrefix into one
allocation.
Fields§
§additional_owned_bytes: u64Newly owned physical bytes. A valid additional shared mapping reports zero because the prefix was charged once when created.
newly_mapped_bytes: u64Newly mapped bytes on the mapped-attribution axis.
granules: usizeTrait Implementations§
Source§fn clone(&self) -> SharedPrefixCommitInfo
fn clone(&self) -> SharedPrefixCommitInfo
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 moreSource§fn default() -> SharedPrefixCommitInfo
fn default() -> SharedPrefixCommitInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
Blanket Implementations§
impl<T> BindingResource for T
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