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§
Sourcefn display(&'a self) -> CommandTreeDisplay<'a>
fn display(&'a self) -> CommandTreeDisplay<'a>
Create a display formatter with default settings.
Sourcefn display_style(&'a self, style: DisplayStyle) -> CommandTreeDisplay<'a>
fn display_style(&'a self, style: DisplayStyle) -> CommandTreeDisplay<'a>
Create a display formatter with a specific style.