Struct sequent_repl::commands::timeline::Parser
source · pub struct Parser;Expand description
Parser for Timeline.
Trait Implementations§
source§impl<S, C: Context<S>, T: Terminal> NamedCommandParser<C, SimulationError<S>, T> for Parser
impl<S, C: Context<S>, T: Terminal> NamedCommandParser<C, SimulationError<S>, T> for Parser
source§fn parse(
&self,
s: &str
) -> Result<Box<dyn Command<C, SimulationError<S>, T>>, ParseCommandError>
fn parse(
&self,
s: &str
) -> Result<Box<dyn Command<C, SimulationError<S>, T>>, ParseCommandError>
source§fn shorthand(&self) -> Option<Cow<'static, str>>
fn shorthand(&self) -> Option<Cow<'static, str>>
Optional shorthand moniker for the command. The user may type in this string instead of the
full command name. Read more
source§fn name(&self) -> Cow<'static, str>
fn name(&self) -> Cow<'static, str>
The (mandatory) complete name of the command. The user will type in the name of the command,
followed by some (depending on the command) arguments. Read more
source§fn description(&self) -> Description
fn description(&self) -> Description
Describes the command. The description is displayed when invoking the
help command.