pub enum TechTreeStatus {
None,
AvailablePlayer,
NotAvailablePlayer,
Researching,
ResearchedCompleted,
AvailableTeam {
civilization_id: CivilizationID,
},
}
Variants§
None
AvailablePlayer
This building/unit/technology is available to the player.
NotAvailablePlayer
This building/unit/technology is not available to the player.
Researching
Researching or constructing or creating.
ResearchedCompleted
Researched or built.
AvailableTeam
This building/unit/technology is available to the player if someone on their team is this civilization.
Fields
§
civilization_id: CivilizationID
Trait Implementations§
Source§impl Clone for TechTreeStatus
impl Clone for TechTreeStatus
Source§fn clone(&self) -> TechTreeStatus
fn clone(&self) -> TechTreeStatus
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 TechTreeStatus
impl Debug for TechTreeStatus
Source§impl Default for TechTreeStatus
impl Default for TechTreeStatus
Source§impl From<TechTreeStatus> for u8
impl From<TechTreeStatus> for u8
Source§fn from(status: TechTreeStatus) -> Self
fn from(status: TechTreeStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TechTreeStatus
impl PartialEq for TechTreeStatus
Source§impl TryFrom<u8> for TechTreeStatus
impl TryFrom<u8> for TechTreeStatus
impl Copy for TechTreeStatus
impl Eq for TechTreeStatus
impl StructuralPartialEq for TechTreeStatus
Auto Trait Implementations§
impl Freeze for TechTreeStatus
impl RefUnwindSafe for TechTreeStatus
impl Send for TechTreeStatus
impl Sync for TechTreeStatus
impl Unpin for TechTreeStatus
impl UnwindSafe for TechTreeStatus
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