pub struct CommandInfo {
pub id: &'static str,
pub name: &'static str,
pub description: &'static str,
pub category: Category,
pub outline_only: bool,
pub takes_block: bool,
}Expand description
One editing command.
Fields§
§id: &'static strStable: move.word_right, select.all, history.undo.
name: &'static strFor menus and help: Word right.
description: &'static str§category: Category§outline_only: boolMeaningful only in an outline document (elsewhere it says so, or acts on lines).
takes_block: boolActs on one block, which the host names (command_msg’s block).
Trait Implementations§
Source§impl Clone for CommandInfo
impl Clone for CommandInfo
impl Copy for CommandInfo
Source§impl Debug for CommandInfo
impl Debug for CommandInfo
impl Eq for CommandInfo
Source§impl PartialEq for CommandInfo
impl PartialEq for CommandInfo
Source§impl Serialize for CommandInfo
impl Serialize for CommandInfo
impl StructuralPartialEq for CommandInfo
Auto Trait Implementations§
impl Freeze for CommandInfo
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnsafeUnpin for CommandInfo
impl UnwindSafe for CommandInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.