pub trait AsLabeledCommand {
    // Required method
    fn as_labeled_command(&self) -> Option<LabeledCommand>;
}
Expand description

Trait to build a LabeledCommand from other types

Required Methods§

source

fn as_labeled_command(&self) -> Option<LabeledCommand>

Represents this type as a labeled command, when labels exist. Otherwise None shall be returned.

Implementations on Foreign Types§

source§

impl AsLabeledCommand for str

Implementors§