Struct classicube_sys::ChatCommand
source ·
[−]#[repr(C)]pub struct ChatCommand {
pub name: *const c_char,
pub Execute: Option<unsafe extern "C" fn(args: *const cc_string, argsCount: c_int)>,
pub flags: cc_uint8,
pub help: [*const c_char; 5],
pub next: *mut ChatCommand,
}
Fields
name: *const c_char
Execute: Option<unsafe extern "C" fn(args: *const cc_string, argsCount: c_int)>
flags: cc_uint8
help: [*const c_char; 5]
next: *mut ChatCommand
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ChatCommand
impl !Send for ChatCommand
impl !Sync for ChatCommand
impl Unpin for ChatCommand
impl UnwindSafe for ChatCommand
Blanket Implementations
Mutably borrows from an owned value. Read more