pub fn category(&self) -> Category {
        use self::Command::*;

        match *self {
            DigitArgument => Category::Digit,
            Complete | InsertCompletions | PossibleCompletions |
                MenuComplete | MenuCompleteBackward => Category::Complete,
            BackwardKillLine | KillLine | BackwardKillWord | KillWord |
                UnixWordRubout => Category::Kill,
            ForwardSearchHistory | ReverseSearchHistory => Category::IncrementalSearch,
            HistorySearchForward | HistorySearchBackward => Category::Search,
            Yank | YankPop => Category::Yank,
            _ => Category::Other
        }
    }
/// Returns the category of the command
Returns the category of the command
Returns the category of the command
pub fn category(&self) -> Category {
        use self::Command::*;
        match *self {
            DigitArgument => Category::Digit,
            Complete | InsertCompletions | PossibleCompletions |
                MenuComplete | MenuCompleteBackward => Category::Complete,
            BackwardKillLine | KillLine | BackwardKillWord | KillWord |
                UnixWordRubout => Category::Kill,
            ForwardSearchHistory | ReverseSearchHistory => Category::IncrementalSearch,
            HistorySearchForward | HistorySearchBackward => Category::Search,
            Yank | YankPop => Category::Yank,
            _ => Category::Other
        }
    }
pub fn category ( & self ) -> Category { use self :: Command :: * ; match * self { DigitArgument => Category :: Digit , Complete | InsertCompletions | PossibleCompletions | MenuComplete | MenuCompleteBackward => Category :: Complete , BackwardKillLine | KillLine | BackwardKillWord | KillWord | UnixWordRubout => Category :: Kill , ForwardSearchHistory | ReverseSearchHistory => Category :: IncrementalSearch , HistorySearchForward | HistorySearchBackward => Category :: Search , Yank | YankPop => Category :: Yank , _ => Category :: Other } }
Returns the category of the command
Returns the category of the command
&self
&self