pub enum GroundOption {
AcEngagementRangeRestriction(u8),
AlarmState(AlarmState),
DisperseOnAttack(i64),
EngageAirWeapons(bool),
Formation(VehicleFormation),
Roe(GroundRoe),
AllowFormationSideSwap(bool),
}
Variants§
AcEngagementRangeRestriction(u8)
AlarmState(AlarmState)
DisperseOnAttack(i64)
EngageAirWeapons(bool)
Formation(VehicleFormation)
Roe(GroundRoe)
AllowFormationSideSwap(bool)
Trait Implementations§
Source§impl Clone for GroundOption
impl Clone for GroundOption
Source§fn clone(&self) -> GroundOption
fn clone(&self) -> GroundOption
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 GroundOption
impl Debug for GroundOption
Source§impl<'lua> IntoLua<'lua> for GroundOption
impl<'lua> IntoLua<'lua> for GroundOption
Auto Trait Implementations§
impl Freeze for GroundOption
impl RefUnwindSafe for GroundOption
impl Send for GroundOption
impl Sync for GroundOption
impl Unpin for GroundOption
impl UnwindSafe for GroundOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
Source§fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
Performs the conversion.
unsafe fn push_into_stack_multi(self, lua: &'lua Lua) -> Result<i32, Error>
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.