[][src]Struct screeps::objects::Tombstone

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 HasId for Tombstone[src]

fn id(&self) -> String[src]

impl RoomObjectProperties for Tombstone[src]

fn room(&self) -> Room[src]

impl HasStore for Tombstone[src]

fn store_total(&self) -> u32[src]

fn store_types(&self) -> Vec<ResourceType>[src]

fn store_of(&self, ty: ResourceType) -> u32[src]

fn energy(&self) -> u32[src]

impl CanDecay for Tombstone[src]

impl Withdrawable for Tombstone[src]

impl FromExpectedType<Reference> for Tombstone[src]

impl Clone for Tombstone[src]

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 PartialEq<Tombstone> for Tombstone[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for Tombstone[src]

impl InstanceOf for Tombstone[src]

impl JsSerialize for Tombstone[src]

impl TryFrom<Tombstone> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for Tombstone[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Reference> for Tombstone[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for Tombstone[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for Tombstone[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl ReferenceType for Tombstone[src]

impl JsSerializeOwned for Tombstone[src]

impl<'_r> JsSerializeOwned for &'_r Tombstone[src]

Auto Trait Implementations

Blanket Implementations

impl<T> HasPosition for T where
    T: RoomObjectProperties
[src]

impl<T> SizedRoomObject for T where
    T: Into<Reference> + ReferenceType<Error = ConversionError, Error = ConversionError> + TryFrom<Value> + TryFrom<Reference> + RoomObjectProperties
[src]

impl<T> FromExpectedType<Value> for T where
    T: FromExpectedType<Reference>, 
[src]

impl<T, U> IntoExpectedType<U> for T where
    U: FromExpectedType<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.