pub enum ItemPrototypeFlag {
Show 15 variants
DrawLogisticOverlay,
ExcludedFromTrashUnrequested,
ExcludedFromCharacterLiftWeight,
AlwaysShow,
HideFromBonusGui,
HideFromFuelTooltip,
NotStackable,
PrimaryPlaceResult,
ModOpenable,
OnlyInCursor,
Spawnable,
SpoilResult,
IgnoreSpoilTimeModifier,
HideHealthBarInWorld,
HideSpoilageBarInWorld,
}Expand description
A string specifying an item prototype flag.
Variants§
DrawLogisticOverlay
ExcludedFromTrashUnrequested
ExcludedFromCharacterLiftWeight
AlwaysShow
HideFromBonusGui
HideFromFuelTooltip
NotStackable
PrimaryPlaceResult
ModOpenable
OnlyInCursor
Spawnable
SpoilResult
IgnoreSpoilTimeModifier
HideHealthBarInWorld
HideSpoilageBarInWorld
Implementations§
Trait Implementations§
Source§impl Clone for ItemPrototypeFlag
impl Clone for ItemPrototypeFlag
Source§fn clone(&self) -> ItemPrototypeFlag
fn clone(&self) -> ItemPrototypeFlag
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 ItemPrototypeFlag
Source§impl Debug for ItemPrototypeFlag
impl Debug for ItemPrototypeFlag
Source§impl Default for ItemPrototypeFlag
impl Default for ItemPrototypeFlag
impl Eq for ItemPrototypeFlag
Source§impl From<ItemPrototypeFlag> for LuaAny
impl From<ItemPrototypeFlag> for LuaAny
Source§fn from(_: ItemPrototypeFlag) -> Self
fn from(_: ItemPrototypeFlag) -> Self
Converts to this type from the input type.
Source§impl From<ItemPrototypeFlag> for &'static str
impl From<ItemPrototypeFlag> for &'static str
Source§fn from(value: ItemPrototypeFlag) -> Self
fn from(value: ItemPrototypeFlag) -> Self
Converts to this type from the input type.
Source§impl Hash for ItemPrototypeFlag
impl Hash for ItemPrototypeFlag
Source§impl PartialEq for ItemPrototypeFlag
impl PartialEq for ItemPrototypeFlag
Source§impl PartialEq<&str> for ItemPrototypeFlag
impl PartialEq<&str> for ItemPrototypeFlag
Source§impl PartialEq<ItemPrototypeFlag> for &str
impl PartialEq<ItemPrototypeFlag> for &str
impl StructuralPartialEq for ItemPrototypeFlag
Auto Trait Implementations§
impl Freeze for ItemPrototypeFlag
impl RefUnwindSafe for ItemPrototypeFlag
impl Send for ItemPrototypeFlag
impl Sync for ItemPrototypeFlag
impl Unpin for ItemPrototypeFlag
impl UnsafeUnpin for ItemPrototypeFlag
impl UnwindSafe for ItemPrototypeFlag
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