#[repr(C)]pub struct SGiveMeResourceCheatCommand {
pub resourceId: c_int,
pub amount: f32,
}
Expand description
The AI team receives the specified amount of units of the specified resource.
Fields§
§resourceId: c_int
§amount: f32
Trait Implementations§
Source§impl Clone for SGiveMeResourceCheatCommand
impl Clone for SGiveMeResourceCheatCommand
Source§fn clone(&self) -> SGiveMeResourceCheatCommand
fn clone(&self) -> SGiveMeResourceCheatCommand
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 SGiveMeResourceCheatCommand
impl Debug for SGiveMeResourceCheatCommand
impl Copy for SGiveMeResourceCheatCommand
Auto Trait Implementations§
impl Freeze for SGiveMeResourceCheatCommand
impl RefUnwindSafe for SGiveMeResourceCheatCommand
impl Send for SGiveMeResourceCheatCommand
impl Sync for SGiveMeResourceCheatCommand
impl Unpin for SGiveMeResourceCheatCommand
impl UnwindSafe for SGiveMeResourceCheatCommand
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