pub struct LayoutMetrics {
pub total_size: u64,
pub useful_size: u64,
pub padding_bytes: u64,
pub padding_percentage: f64,
pub cache_lines_spanned: u32,
pub cache_line_density: f64,
pub padding_holes: Vec<PaddingHole>,
pub partial: bool,
}Fields§
§total_size: u64§useful_size: u64§padding_bytes: u64§padding_percentage: f64§cache_lines_spanned: u32§cache_line_density: f64§padding_holes: Vec<PaddingHole>§partial: boolTrait Implementations§
Source§impl Clone for LayoutMetrics
impl Clone for LayoutMetrics
Source§fn clone(&self) -> LayoutMetrics
fn clone(&self) -> LayoutMetrics
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 LayoutMetrics
impl Debug for LayoutMetrics
Source§impl Default for LayoutMetrics
impl Default for LayoutMetrics
Source§fn default() -> LayoutMetrics
fn default() -> LayoutMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutMetrics
impl RefUnwindSafe for LayoutMetrics
impl Send for LayoutMetrics
impl Sync for LayoutMetrics
impl Unpin for LayoutMetrics
impl UnwindSafe for LayoutMetrics
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