pub enum Command {
Edit(EditCommand),
Cursor(CursorCommand),
View(ViewCommand),
Style(StyleCommand),
}Expand description
Unified command enum
Variants§
Edit(EditCommand)
Text editing commands
Cursor(CursorCommand)
Cursor command
View(ViewCommand)
View commands
Style(StyleCommand)
Style command
Implementations§
Trait Implementations§
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Forget for Command
impl Freeze for Commandwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<TextEditSpec>: Freeze,
PhantomData<Selection>: Freeze,
PhantomData<char>: Freeze,
PhantomData<AutoPair>: Freeze,
impl Move for Command
impl RefUnwindSafe for Command
impl Send for Commandwhere
RawVecInner: Send,
impl Sync for Commandwhere
RawVecInner: Sync,
impl Unpin for Command
impl UnsafeUnpin for Commandwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TextEditSpec>: UnsafeUnpin,
PhantomData<Selection>: UnsafeUnpin,
PhantomData<char>: UnsafeUnpin,
PhantomData<AutoPair>: UnsafeUnpin,
impl UnwindSafe for Commandwhere
RawVecInner: UnwindSafe,
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