CommandTreeExt

Trait CommandTreeExt 

Source
pub trait CommandTreeExt<'a> {
    // Required methods
    fn display(&'a self) -> CommandTreeDisplay<'a>;
    fn display_style(&'a self, style: DisplayStyle) -> CommandTreeDisplay<'a>;
}
Expand description

Extension trait to add display methods to CommandTree.

Required Methods§

Source

fn display(&'a self) -> CommandTreeDisplay<'a>

Create a display formatter with default settings.

Source

fn display_style(&'a self, style: DisplayStyle) -> CommandTreeDisplay<'a>

Create a display formatter with a specific style.

Implementors§

Source§

impl<'a> CommandTreeExt<'a> for CommandTree<'a>