pub fn summary_string(&self) -> &'static str {
        match self {
            CmdType::Quit => "quit",
            CmdType::Write => "write",
            CmdType::Replace => "replace",
            CmdType::InsertChild => "insert child",
            CmdType::InsertBefore => "insert before",
            CmdType::InsertAfter => "insert after",
            CmdType::Delete => "delete",
            CmdType::MoveCursor(Direction::Down) => "move to child",
            CmdType::MoveCursor(Direction::Up) => "move to parent",
            CmdType::MoveCursor(Direction::Prev) => "move to previous sibling",
            CmdType::MoveCursor(Direction::Next) => "move to next sibling",
            CmdType::Undo => "undo",
            CmdType::Redo => "redo",
        }
    }
/// Returns a lower-case summary string of the given keystroke
Returns a lower-case summary string of the given keystroke
Returns a lower - case summary string of the given keystroke
pub fn summary_string(&self) -> &'static str {
        match self {
            CmdType::Quit => "quit",
            CmdType::Write => "write",
            CmdType::Replace => "replace",
            CmdType::InsertChild => "insert child",
            CmdType::InsertBefore => "insert before",
            CmdType::InsertAfter => "insert after",
            CmdType::Delete => "delete",
            CmdType::MoveCursor(Direction::Down) => "move to child",
            CmdType::MoveCursor(Direction::Up) => "move to parent",
            CmdType::MoveCursor(Direction::Prev) => "move to previous sibling",
            CmdType::MoveCursor(Direction::Next) => "move to next sibling",
            CmdType::Undo => "undo",
            CmdType::Redo => "redo",
        }
    }
pub fn summary_string ( & self ) -> & ' static str { match self { CmdType :: Quit => " " , CmdType :: Write => " " , CmdType :: Replace => " " , CmdType :: InsertChild => " " , CmdType :: InsertBefore => " " , CmdType :: InsertAfter => " " , CmdType :: Delete => " " , CmdType :: MoveCursor ( Direction :: Down ) => " " , CmdType :: MoveCursor ( Direction :: Up ) => " " , CmdType :: MoveCursor ( Direction :: Prev ) => " " , CmdType :: MoveCursor ( Direction :: Next ) => " " , CmdType :: Undo => " " , CmdType :: Redo => " " , } }
Returns a lower-case summary string of the given keystroke
Returns a lower - case summary string of the given keystroke
&self
&self