#[repr(C)]pub struct CCommand {
pub m_nArgc: i64,
pub m_nArgv0Size: i64,
pub m_pArgSBuffer: [c_char; 512],
pub m_pArgvBuffer: [c_char; 512],
pub m_ppArgv: [*const c_char; 64],
}Fields§
§m_nArgc: i64§m_nArgv0Size: i64§m_pArgSBuffer: [c_char; 512]§m_pArgvBuffer: [c_char; 512]§m_ppArgv: [*const c_char; 64]Implementations§
Source§impl CCommand
impl CCommand
pub unsafe fn ArgC(&self) -> i64
pub unsafe fn ArgV(&self) -> *mut *const c_char
pub unsafe fn ArgS(&self) -> *const c_char
pub unsafe fn GetCommandString(&self) -> *const c_char
pub unsafe fn Arg(&self, nIndex: c_int) -> *const c_char
pub unsafe fn MaxCommandLength() -> c_int
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CCommand
impl RefUnwindSafe for CCommand
impl !Send for CCommand
impl !Sync for CCommand
impl Unpin for CCommand
impl UnwindSafe for CCommand
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