Struct rmenu::Command [] [src]

pub struct Command { /* fields omitted */ }

Represents a command that is selectable in the menu


impl Command

Creates a new instance of Command

Returns the key

Returns the display string

Returns the command

Trait Implementations

impl Debug for Command

Formats the value using the given formatter.

impl Into<String> for Command

Returns a string representation

impl From<String> for Command

Creates a Command where key, display, and command are equal to arg

impl Clone for Command

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more