pub struct DeltaUndoData {
pub removed_sections: Vec<(usize, String)>,
pub modified_sections: Vec<(usize, String)>,
}Available on crate feature
stream only.Expand description
Data needed to undo a delta operation
Fields§
§removed_sections: Vec<(usize, String)>Sections that were removed (index and content)
modified_sections: Vec<(usize, String)>Sections that were modified (index and original content)
Trait Implementations§
Source§impl Clone for DeltaUndoData
impl Clone for DeltaUndoData
Source§fn clone(&self) -> DeltaUndoData
fn clone(&self) -> DeltaUndoData
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 moreAuto Trait Implementations§
impl Freeze for DeltaUndoData
impl RefUnwindSafe for DeltaUndoData
impl Send for DeltaUndoData
impl Sync for DeltaUndoData
impl Unpin for DeltaUndoData
impl UnsafeUnpin for DeltaUndoData
impl UnwindSafe for DeltaUndoData
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