[][src]Trait screeps::objects::CanDecay

pub unsafe trait CanDecay: RoomObjectProperties {
    fn ticks_to_decay(&self) -> u32 { ... }
}

Trait for objects which can decay.

Contract

The reference returned from AsRef<Reference>::as_ref must be have a ticksToDecay properties.

Provided methods

fn ticks_to_decay(&self) -> u32

Loading content...

Implementors

impl CanDecay for StructureContainer[src]

impl CanDecay for StructurePortal[src]

impl CanDecay for StructurePowerBank[src]

impl CanDecay for StructureRampart[src]

impl CanDecay for StructureRoad[src]

impl CanDecay for Tombstone[src]

Loading content...