Struct spring_ai_sys::SStockpileUnitCommand
source · #[repr(C)]pub struct SStockpileUnitCommand {
pub unitId: c_int,
pub groupId: c_int,
pub options: c_short,
pub timeOut: c_int,
}
Fields§
§unitId: c_int
§groupId: c_int
§options: c_short
see enum UnitCommandOptions
timeOut: c_int
At which frame the command will time-out and consequently be removed, if execution of it has not yet begun. Can only be set locally, is not sent over the network, and is used for temporary orders. default: MAX_INT (-> do not time-out) example: currentFrame + 15
Trait Implementations§
source§impl Clone for SStockpileUnitCommand
impl Clone for SStockpileUnitCommand
source§fn clone(&self) -> SStockpileUnitCommand
fn clone(&self) -> SStockpileUnitCommand
Returns a copy 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 SStockpileUnitCommand
impl Debug for SStockpileUnitCommand
impl Copy for SStockpileUnitCommand
Auto Trait Implementations§
impl Freeze for SStockpileUnitCommand
impl RefUnwindSafe for SStockpileUnitCommand
impl Send for SStockpileUnitCommand
impl Sync for SStockpileUnitCommand
impl Unpin for SStockpileUnitCommand
impl UnwindSafe for SStockpileUnitCommand
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