pub enum TechTreeType {
None = 0,
Age = 1,
Unit = 2,
UnitUpgrade = 3,
Research = 4,
BuildingTech = 5,
BuildingNonTech = 6,
UniqueUnit = 7,
}
Expand description
Kinds of tech tree nodes.
Variants§
None = 0
Age = 1
Unit = 2
UnitUpgrade = 3
Research = 4
BuildingTech = 5
BuildingNonTech = 6
UniqueUnit = 7
Trait Implementations§
Source§impl Clone for TechTreeType
impl Clone for TechTreeType
Source§fn clone(&self) -> TechTreeType
fn clone(&self) -> TechTreeType
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 TechTreeType
impl Debug for TechTreeType
Source§impl Default for TechTreeType
impl Default for TechTreeType
Source§impl From<TechTreeType> for i32
impl From<TechTreeType> for i32
Source§fn from(ty: TechTreeType) -> Self
fn from(ty: TechTreeType) -> Self
Converts to this type from the input type.
Source§impl From<TechTreeType> for u32
impl From<TechTreeType> for u32
Source§fn from(ty: TechTreeType) -> Self
fn from(ty: TechTreeType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TechTreeType
impl PartialEq for TechTreeType
Source§impl TryFrom<i32> for TechTreeType
impl TryFrom<i32> for TechTreeType
impl Copy for TechTreeType
impl Eq for TechTreeType
impl StructuralPartialEq for TechTreeType
Auto Trait Implementations§
impl Freeze for TechTreeType
impl RefUnwindSafe for TechTreeType
impl Send for TechTreeType
impl Sync for TechTreeType
impl Unpin for TechTreeType
impl UnwindSafe for TechTreeType
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