pub struct FormatReport {
pub rewrite_candidates: usize,
pub rewrite_committed: usize,
pub rewrite_committed_wrap: usize,
pub rewrite_committed_style: usize,
pub rewrite_rejected_overlap: usize,
pub rewrite_rejected_verification: usize,
pub rewrite_rejected_convergence: usize,
pub rewrite_skipped_wrap: usize,
}Expand description
Aggregate formatter rewrite counts.
The report is intentionally coarse: it exposes whether rewrite transactions are being attempted, committed, or rejected without exposing candidates, owners, snapshots, or parser internals.
Fields§
§rewrite_candidates: usize§rewrite_committed: usize§rewrite_committed_wrap: usize§rewrite_committed_style: usize§rewrite_rejected_overlap: usize§rewrite_rejected_verification: usize§rewrite_rejected_convergence: usize§rewrite_skipped_wrap: usizeTrait Implementations§
Source§impl Clone for FormatReport
impl Clone for FormatReport
Source§fn clone(&self) -> FormatReport
fn clone(&self) -> FormatReport
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 FormatReport
impl Debug for FormatReport
Source§impl Default for FormatReport
impl Default for FormatReport
Source§fn default() -> FormatReport
fn default() -> FormatReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for FormatReport
impl PartialEq for FormatReport
Source§fn eq(&self, other: &FormatReport) -> bool
fn eq(&self, other: &FormatReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FormatReport
impl StructuralPartialEq for FormatReport
Auto Trait Implementations§
impl Freeze for FormatReport
impl RefUnwindSafe for FormatReport
impl Send for FormatReport
impl Sync for FormatReport
impl Unpin for FormatReport
impl UnsafeUnpin for FormatReport
impl UnwindSafe for FormatReport
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