pub struct Outcome {
pub changed: bool,
pub moved: bool,
pub exit: Option<ExitDir>,
pub close: bool,
pub entered_host_box: Option<HostBoxEntry>,
pub revision: u64,
}Expand description
What a command did.
Fields§
§changed: boolThe document changed and the revision advanced.
moved: boolThe caret or selection moved.
exit: Option<ExitDir>The caret tried to leave the formula in this direction.
close: boolDeleting in an empty formula asks the host to end math mode.
entered_host_box: Option<HostBoxEntry>Motion stopped in front of a host box under HostBoxPolicy::Enter.
revision: u64The revision after the command.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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