pub struct NetCounts {
pub chars_added: u32,
pub chars_removed: u32,
pub words_added: u32,
pub words_removed: u32,
}Expand description
Net character and word change counts across the entire diff.
Fields§
§chars_added: u32Total characters added across all prose deltas.
chars_removed: u32Total characters removed across all prose deltas.
words_added: u32Total words added across all prose deltas.
words_removed: u32Total words removed across all prose deltas.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetCounts
impl RefUnwindSafe for NetCounts
impl Send for NetCounts
impl Sync for NetCounts
impl Unpin for NetCounts
impl UnsafeUnpin for NetCounts
impl UnwindSafe for NetCounts
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