pub struct EngineOutput {
pub text: Option<String>,
pub changes: Vec<Change>,
pub undo: Option<UndoEntry>,
}Expand description
The result of applying operations to a text buffer.
Fields§
§text: Option<String>The modified text (None if unchanged).
changes: Vec<Change>Structured diff of changes made.
undo: Option<UndoEntry>Undo entry to reverse this operation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EngineOutput
impl RefUnwindSafe for EngineOutput
impl Send for EngineOutput
impl Sync for EngineOutput
impl Unpin for EngineOutput
impl UnsafeUnpin for EngineOutput
impl UnwindSafe for EngineOutput
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