#[repr(C)]pub struct SGiveMeNewUnitCheatCommand {
pub unitDefId: c_int,
pub pos_posF3: *mut f32,
pub ret_newUnitId: c_int,
}
Expand description
Creates a new unit with the selected name at pos, and returns its unit ID in ret_newUnitId.
Fields§
§unitDefId: c_int
§pos_posF3: *mut f32
§ret_newUnitId: c_int
Trait Implementations§
Source§impl Clone for SGiveMeNewUnitCheatCommand
impl Clone for SGiveMeNewUnitCheatCommand
Source§fn clone(&self) -> SGiveMeNewUnitCheatCommand
fn clone(&self) -> SGiveMeNewUnitCheatCommand
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 SGiveMeNewUnitCheatCommand
impl Debug for SGiveMeNewUnitCheatCommand
impl Copy for SGiveMeNewUnitCheatCommand
Auto Trait Implementations§
impl Freeze for SGiveMeNewUnitCheatCommand
impl RefUnwindSafe for SGiveMeNewUnitCheatCommand
impl !Send for SGiveMeNewUnitCheatCommand
impl !Sync for SGiveMeNewUnitCheatCommand
impl Unpin for SGiveMeNewUnitCheatCommand
impl UnwindSafe for SGiveMeNewUnitCheatCommand
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