pub struct CmcReport {
pub nodes: usize,
pub pages: usize,
pub spreads: usize,
pub findings: Vec<String>,
pub unchanged_save_identical: bool,
pub edit_round_trip: bool,
pub errors: Vec<String>,
}Expand description
Self-check of a .cmc (R14).
Fields§
§nodes: usizeCanvasNode rows.
pages: usizePages in the page list.
spreads: usizePages that are spreads.
findings: Vec<String>Structural problems, and page files missing next to the .cmc.
unchanged_save_identical: boolSaving without changes gives the input bytes.
edit_round_trip: boolRewriting the page list in its own order and reading it back gives the same pages without findings (the edit path, V4).
errors: Vec<String>Checks that could not run, with why.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmcReport
impl RefUnwindSafe for CmcReport
impl Send for CmcReport
impl Sync for CmcReport
impl Unpin for CmcReport
impl UnsafeUnpin for CmcReport
impl UnwindSafe for CmcReport
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