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§
source§impl Clone for ChatCommand
impl Clone for ChatCommand
source§fn clone(&self) -> ChatCommand
fn clone(&self) -> ChatCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChatCommand
impl Debug for ChatCommand
source§impl Hash for ChatCommand
impl Hash for ChatCommand
source§impl PartialEq for ChatCommand
impl PartialEq for ChatCommand
source§fn eq(&self, other: &ChatCommand) -> bool
fn eq(&self, other: &ChatCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChatCommand
impl Eq for ChatCommand
impl StructuralPartialEq for ChatCommand
Auto Trait Implementations§
impl Freeze for ChatCommand
impl RefUnwindSafe for ChatCommand
impl !Send for ChatCommand
impl !Sync for ChatCommand
impl Unpin for ChatCommand
impl UnwindSafe for ChatCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)