pub struct ExportReport {
pub meta: ExportMeta,
pub flash_used: u64,
pub flash_total: u64,
pub flash_percent: f64,
pub ram_used: u64,
pub ram_total: u64,
pub ram_percent: f64,
pub sections: Vec<ExportSection>,
}Expand description
Full report structure for JSON / Markdown export.
Fields§
§meta: ExportMeta§flash_used: u64§flash_total: u64§flash_percent: f64§ram_used: u64§ram_total: u64§ram_percent: f64§sections: Vec<ExportSection>Implementations§
Source§impl ExportReport
impl ExportReport
pub fn from_analysis(analysis: &ElfAnalysis) -> Self
pub fn to_json(&self) -> String
pub fn to_markdown(&self) -> String
Trait Implementations§
Source§impl Clone for ExportReport
impl Clone for ExportReport
Source§fn clone(&self) -> ExportReport
fn clone(&self) -> ExportReport
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§impl Debug for ExportReport
impl Debug for ExportReport
Auto Trait Implementations§
impl Freeze for ExportReport
impl RefUnwindSafe for ExportReport
impl Send for ExportReport
impl Sync for ExportReport
impl Unpin for ExportReport
impl UnsafeUnpin for ExportReport
impl UnwindSafe for ExportReport
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