pub enum UndoResult {
    Success,
    NothingToUndo,
    NoBuffer,
}Expand description
Result of an undo operation
Variants§
Implementations§
Source§impl UndoResult
 
impl UndoResult
Sourcepub fn status_message(&self) -> &'static str
 
pub fn status_message(&self) -> &'static str
Get the status message for this result
Trait Implementations§
Source§impl Debug for UndoResult
 
impl Debug for UndoResult
Source§impl PartialEq for UndoResult
 
impl PartialEq for UndoResult
impl StructuralPartialEq for UndoResult
Auto Trait Implementations§
impl Freeze for UndoResult
impl RefUnwindSafe for UndoResult
impl Send for UndoResult
impl Sync for UndoResult
impl Unpin for UndoResult
impl UnwindSafe for UndoResult
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
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more