Enum screeps::enums::CooldownObject
source · pub enum CooldownObject {
Deposit(Deposit),
StructureExtractor(StructureExtractor),
StructureFactory(StructureFactory),
StructureLab(StructureLab),
StructureLink(StructureLink),
StructureNuker(StructureNuker),
StructureTerminal(StructureTerminal),
}
Variants§
Deposit(Deposit)
StructureExtractor(StructureExtractor)
StructureFactory(StructureFactory)
StructureLab(StructureLab)
StructureLink(StructureLink)
StructureNuker(StructureNuker)
StructureTerminal(StructureTerminal)
Trait Implementations§
source§impl From<Deposit> for CooldownObject
impl From<Deposit> for CooldownObject
source§fn from(v: Deposit) -> CooldownObject
fn from(v: Deposit) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureExtractor> for CooldownObject
impl From<StructureExtractor> for CooldownObject
source§fn from(v: StructureExtractor) -> CooldownObject
fn from(v: StructureExtractor) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureFactory> for CooldownObject
impl From<StructureFactory> for CooldownObject
source§fn from(v: StructureFactory) -> CooldownObject
fn from(v: StructureFactory) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureLab> for CooldownObject
impl From<StructureLab> for CooldownObject
source§fn from(v: StructureLab) -> CooldownObject
fn from(v: StructureLab) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureLink> for CooldownObject
impl From<StructureLink> for CooldownObject
source§fn from(v: StructureLink) -> CooldownObject
fn from(v: StructureLink) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureNuker> for CooldownObject
impl From<StructureNuker> for CooldownObject
source§fn from(v: StructureNuker) -> CooldownObject
fn from(v: StructureNuker) -> CooldownObject
Converts to this type from the input type.
source§impl From<StructureTerminal> for CooldownObject
impl From<StructureTerminal> for CooldownObject
source§fn from(v: StructureTerminal) -> CooldownObject
fn from(v: StructureTerminal) -> CooldownObject
Converts to this type from the input type.
source§impl HasCooldown for CooldownObject
impl HasCooldown for CooldownObject
source§impl TryInto<Deposit> for CooldownObject
impl TryInto<Deposit> for CooldownObject
source§impl TryInto<StructureExtractor> for CooldownObject
impl TryInto<StructureExtractor> for CooldownObject
source§impl TryInto<StructureFactory> for CooldownObject
impl TryInto<StructureFactory> for CooldownObject
source§impl TryInto<StructureLab> for CooldownObject
impl TryInto<StructureLab> for CooldownObject
source§impl TryInto<StructureLink> for CooldownObject
impl TryInto<StructureLink> for CooldownObject
source§impl TryInto<StructureNuker> for CooldownObject
impl TryInto<StructureNuker> for CooldownObject
source§impl TryInto<StructureTerminal> for CooldownObject
impl TryInto<StructureTerminal> for CooldownObject
Auto Trait Implementations§
impl RefUnwindSafe for CooldownObject
impl !Send for CooldownObject
impl !Sync for CooldownObject
impl Unpin for CooldownObject
impl UnwindSafe for CooldownObject
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