Struct rmenu::Command [] [src]

pub struct Command { /* fields omitted */ }

Represents a command that is selectable in the menu

Methods

impl Command
[src]

[src]

Creates a new instance of Command

[src]

Returns the key

[src]

Returns the display string

[src]

Returns the command

Trait Implementations

impl Debug for Command
[src]

[src]

Formats the value using the given formatter.

impl Into<String> for Command
[src]

[src]

Returns a string representation

impl From<String> for Command
[src]

[src]

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

impl Clone for Command
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more