pub enum ElemType {
Show 17 variants
Achievement,
Decorative,
Entity,
Equipment,
Fluid,
Item,
ItemGroup,
Recipe,
Signal,
Technology,
Tile,
AsteroidChunk,
SpaceLocation,
ItemWithQuality,
EntityWithQuality,
RecipeWithQuality,
EquipmentWithQuality,
}Expand description
A string specifying a type for choose elem buttons. It’s also used by ElemID for LuaGuiElement::elem_tooltip.
Variants§
Achievement
Decorative
Entity
Equipment
Fluid
Item
ItemGroup
Recipe
Signal
Technology
Tile
AsteroidChunk
SpaceLocation
ItemWithQuality
EntityWithQuality
RecipeWithQuality
EquipmentWithQuality
Implementations§
Trait Implementations§
impl Copy for ElemType
impl Eq for ElemType
impl StructuralPartialEq for ElemType
Auto Trait Implementations§
impl Freeze for ElemType
impl RefUnwindSafe for ElemType
impl Send for ElemType
impl Sync for ElemType
impl Unpin for ElemType
impl UnsafeUnpin for ElemType
impl UnwindSafe for ElemType
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