Skip to main content

CommandGroupIntoCommandNode

Trait CommandGroupIntoCommandNode 

Source
pub trait CommandGroupIntoCommandNode<State>
where State: StateBound,
{ // Required method fn into_command_node(self) -> CommandNode<State>; }
Expand description

Converts all command group types and their builder types into a command node.

Required Methods§

Source

fn into_command_node(self) -> CommandNode<State>

Converts the current type into a CommandNode.

Returns: CommandNode - The resulting command node.

Implementors§

Source§

impl<State> CommandGroupIntoCommandNode<State> for MessageCommandGroup<State>
where State: StateBound,

Source§

impl<State> CommandGroupIntoCommandNode<State> for MessageCommandGroupBuilder<State>
where State: StateBound,

Source§

impl<State> CommandGroupIntoCommandNode<State> for PrefixedCommandGroup<State>
where State: StateBound,

Source§

impl<State> CommandGroupIntoCommandNode<State> for PrefixedCommandGroupBuilder<State>
where State: StateBound,

Source§

impl<State> CommandGroupIntoCommandNode<State> for SlashCommandGroup<State>
where State: StateBound,

Source§

impl<State> CommandGroupIntoCommandNode<State> for SlashCommandGroupBuilder<State>
where State: StateBound,