pub enum EntityPrototypeFlag {
Show 29 variants
NotRotatable,
PlaceableNeutral,
PlaceablePlayer,
PlaceableEnemy,
PlaceableOffGrid,
PlayerCreation,
BuildingDirection8Way,
FilterDirections,
GetByUnitNumber,
BreathsAir,
NotRepairable,
NotOnMap,
NotDeconstructable,
NotBlueprintable,
AlwaysShow,
HideAltInfo,
NotFlammable,
NoAutomatedItemRemoval,
NoAutomatedItemInsertion,
NoCopyPaste,
NotSelectableInGame,
NotUpgradable,
NotInKillStatistics,
BuildingDirection16Way,
NoLogisticConnection,
SnapToRailSupportSpot,
NotInMadeIn,
NotInBonusGui,
NotInMinedBy,
}Expand description
A string specifying an entity prototype flag.
Variants§
NotRotatable
PlaceableNeutral
PlaceablePlayer
PlaceableEnemy
PlaceableOffGrid
PlayerCreation
BuildingDirection8Way
FilterDirections
GetByUnitNumber
BreathsAir
NotRepairable
NotOnMap
NotDeconstructable
NotBlueprintable
AlwaysShow
HideAltInfo
NotFlammable
NoAutomatedItemRemoval
NoAutomatedItemInsertion
NoCopyPaste
NotSelectableInGame
NotUpgradable
NotInKillStatistics
BuildingDirection16Way
NoLogisticConnection
SnapToRailSupportSpot
NotInMadeIn
NotInBonusGui
NotInMinedBy
Implementations§
Trait Implementations§
Source§impl Clone for EntityPrototypeFlag
impl Clone for EntityPrototypeFlag
Source§fn clone(&self) -> EntityPrototypeFlag
fn clone(&self) -> EntityPrototypeFlag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntityPrototypeFlag
Source§impl Debug for EntityPrototypeFlag
impl Debug for EntityPrototypeFlag
Source§impl Default for EntityPrototypeFlag
impl Default for EntityPrototypeFlag
impl Eq for EntityPrototypeFlag
Source§impl From<EntityPrototypeFlag> for LuaAny
impl From<EntityPrototypeFlag> for LuaAny
Source§fn from(_: EntityPrototypeFlag) -> Self
fn from(_: EntityPrototypeFlag) -> Self
Converts to this type from the input type.
Source§impl From<EntityPrototypeFlag> for &'static str
impl From<EntityPrototypeFlag> for &'static str
Source§fn from(value: EntityPrototypeFlag) -> Self
fn from(value: EntityPrototypeFlag) -> Self
Converts to this type from the input type.
Source§impl Hash for EntityPrototypeFlag
impl Hash for EntityPrototypeFlag
Source§impl PartialEq for EntityPrototypeFlag
impl PartialEq for EntityPrototypeFlag
Source§impl PartialEq<&str> for EntityPrototypeFlag
impl PartialEq<&str> for EntityPrototypeFlag
Source§impl PartialEq<EntityPrototypeFlag> for &str
impl PartialEq<EntityPrototypeFlag> for &str
impl StructuralPartialEq for EntityPrototypeFlag
Auto Trait Implementations§
impl Freeze for EntityPrototypeFlag
impl RefUnwindSafe for EntityPrototypeFlag
impl Send for EntityPrototypeFlag
impl Sync for EntityPrototypeFlag
impl Unpin for EntityPrototypeFlag
impl UnsafeUnpin for EntityPrototypeFlag
impl UnwindSafe for EntityPrototypeFlag
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