Trait zng_app::event::CommandInfoExt
source · pub trait CommandInfoExt {
// Required methods
fn info(self) -> CommandMetaVar<Txt>;
fn init_info(self, info: impl Into<Txt>) -> Self;
}
Expand description
Adds the info
command metadata.
Required Methods§
sourcefn info(self) -> CommandMetaVar<Txt>
fn info(self) -> CommandMetaVar<Txt>
Gets a read-write variable that is a short informational string about the command.
Object Safety§
This trait is not object safe.