Struct screeps::objects::Tombstone
[−]
[src]
pub struct Tombstone(_);
Methods
impl Tombstone
[src]
pub fn creep(&self) -> Creep
[src]
pub fn death_time(&self) -> u32
[src]
pub fn ticks_to_decay(&self) -> u32
[src]
Trait Implementations
impl Clone for Tombstone
[src]
fn clone(&self) -> Tombstone
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for Tombstone
[src]
impl From<Tombstone> for Reference
[src]
impl TryFrom<Value> for Tombstone
[src]
type Error = <Value as TryInto<Reference>>::Error
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Tombstone, Self::Error>
[src]
Performs the conversion.