Trait intelli_shell::model::AsLabeledCommand
source · pub trait AsLabeledCommand {
// Required method
fn as_labeled_command(&self) -> Option<LabeledCommand>;
}Expand description
Trait to build a LabeledCommand from other types
Required Methods§
sourcefn as_labeled_command(&self) -> Option<LabeledCommand>
fn as_labeled_command(&self) -> Option<LabeledCommand>
Represents this type as a labeled command, when labels exist. Otherwise None shall be returned.