Skip to main content

SteelArgumentSuggestionContext

Trait SteelArgumentSuggestionContext 

Source
pub(crate) trait SteelArgumentSuggestionContext {
    // Required methods
    fn source(&self) -> &dyn CommandArgumentSource;
    fn argument(&self, name: &str) -> Option<&SteelArgumentValue>;
}
Expand description

Suggestion context exposed to erased Steel argument parsers.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§