pub enum TextChange {
Equal(String),
Delete(String),
Insert(String),
}Expand description
Describe how a text node should be updated.
Variants§
Equal(String)
This text is equal in both documents.
Delete(String)
This text was deleted.
Insert(String)
This text was inserted.
Trait Implementations§
Source§impl Debug for TextChange
impl Debug for TextChange
Source§impl PartialEq for TextChange
impl PartialEq for TextChange
impl Eq for TextChange
impl StructuralPartialEq for TextChange
Auto Trait Implementations§
impl Freeze for TextChange
impl RefUnwindSafe for TextChange
impl Send for TextChange
impl Sync for TextChange
impl Unpin for TextChange
impl UnwindSafe for TextChange
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