#[repr(C)]pub struct SPauseCommand {
pub enable: bool,
pub reason: *const c_char,
}
Expand description
Pause or unpauses the game. This is meant for debugging purposes. Keep in mind that pause does not happen immediately. It can take 1-2 frames in single- and up to 10 frames in multiplayer matches.
Fields§
§enable: bool
§reason: *const c_char
reason for the (un-)pause, or NULL
Trait Implementations§
Source§impl Clone for SPauseCommand
impl Clone for SPauseCommand
Source§fn clone(&self) -> SPauseCommand
fn clone(&self) -> SPauseCommand
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 SPauseCommand
impl Debug for SPauseCommand
impl Copy for SPauseCommand
Auto Trait Implementations§
impl Freeze for SPauseCommand
impl RefUnwindSafe for SPauseCommand
impl !Send for SPauseCommand
impl !Sync for SPauseCommand
impl Unpin for SPauseCommand
impl UnwindSafe for SPauseCommand
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