#[repr(C)]pub struct CliCommandDescriptor {
pub name: *mut c_char,
pub execute_callback: CliCommandExecuteCallback,
pub flags: CliCommandFlag,
pub stack_depth: usize,
}
Fields§
§name: *mut c_char
§execute_callback: CliCommandExecuteCallback
§flags: CliCommandFlag
§stack_depth: usize
Trait Implementations§
Source§impl Clone for CliCommandDescriptor
impl Clone for CliCommandDescriptor
Source§fn clone(&self) -> CliCommandDescriptor
fn clone(&self) -> CliCommandDescriptor
Returns a duplicate 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 CliCommandDescriptor
impl Debug for CliCommandDescriptor
impl Copy for CliCommandDescriptor
Auto Trait Implementations§
impl Freeze for CliCommandDescriptor
impl RefUnwindSafe for CliCommandDescriptor
impl !Send for CliCommandDescriptor
impl !Sync for CliCommandDescriptor
impl Unpin for CliCommandDescriptor
impl UnwindSafe for CliCommandDescriptor
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