pub struct ParagraphDelta {
pub from_text: String,
pub to_text: String,
pub words_added: u32,
pub words_removed: u32,
}Expand description
Paragraph-level prose change.
Fields§
§from_text: StringPlain-text content before.
to_text: StringPlain-text content after.
words_added: u32Words added in this delta (for stats roll-up).
words_removed: u32Words removed in this delta.
Trait Implementations§
Source§impl Clone for ParagraphDelta
impl Clone for ParagraphDelta
Source§fn clone(&self) -> ParagraphDelta
fn clone(&self) -> ParagraphDelta
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 ParagraphDelta
impl Debug for ParagraphDelta
Auto Trait Implementations§
impl Freeze for ParagraphDelta
impl RefUnwindSafe for ParagraphDelta
impl Send for ParagraphDelta
impl Sync for ParagraphDelta
impl Unpin for ParagraphDelta
impl UnsafeUnpin for ParagraphDelta
impl UnwindSafe for ParagraphDelta
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