pub struct Report {
pub structs: Vec<StructReport>,
pub total_structs: usize,
pub total_wasted_bytes: usize,
pub analyzed_paths: Vec<String>,
}Fields§
§structs: Vec<StructReport>§total_structs: usize§total_wasted_bytes: usize§analyzed_paths: Vec<String>Paths that were analyzed to produce this report (populated by the CLI).
Implementations§
Source§impl Report
impl Report
Sourcepub fn from_layouts(layouts: &[StructLayout]) -> Report
pub fn from_layouts(layouts: &[StructLayout]) -> Report
Run all analysis passes over layouts and assemble the full report.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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