pub struct TechTreeAge {
pub dependent_buildings: Vec<UnitTypeID>,
pub dependent_units: Vec<UnitTypeID>,
pub dependent_techs: Vec<TechID>,
/* private fields */
}
Fields§
§dependent_buildings: Vec<UnitTypeID>
The buildings that become available in this age.
dependent_units: Vec<UnitTypeID>
The units that become available in this age.
dependent_techs: Vec<TechID>
The techs that become available in this age.
Implementations§
Trait Implementations§
Source§impl Clone for TechTreeAge
impl Clone for TechTreeAge
Source§fn clone(&self) -> TechTreeAge
fn clone(&self) -> TechTreeAge
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 TechTreeAge
impl Debug for TechTreeAge
Source§impl Default for TechTreeAge
impl Default for TechTreeAge
Source§fn default() -> TechTreeAge
fn default() -> TechTreeAge
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TechTreeAge
impl RefUnwindSafe for TechTreeAge
impl Send for TechTreeAge
impl Sync for TechTreeAge
impl Unpin for TechTreeAge
impl UnwindSafe for TechTreeAge
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