Struct riot_sys::shell_command_t[][src]

#[repr(C)]
pub struct shell_command_t { pub name: *const c_char, pub desc: *const c_char, pub handler: shell_command_handler_t, }
Expand description

@brief A single command in the list of the supported commands. @details The list of commands is NULL terminated, i.e. the last element must be { NULL, NULL, NULL }.

Fields

name: *const c_char

< Name of the function

desc: *const c_char

< Description to print in the “help” command.

handler: shell_command_handler_t

< The callback function.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.