[][src]Struct screeps::objects::Deposit

pub struct Deposit(_);

Implementations

impl Deposit[src]

pub fn last_cooldown(&self) -> u32[src]

impl Deposit[src]

Trait Implementations

impl AsRef<Reference> for Deposit[src]

impl CanDecay for Deposit[src]

impl Clone for Deposit[src]

impl Eq for Deposit[src]

impl From<Deposit> for Reference[src]

impl FromExpectedType<Reference> for Deposit[src]

impl Harvestable for Deposit[src]

impl HasCooldown for Deposit[src]

impl HasId for Deposit[src]

impl InstanceOf for Deposit[src]

impl JsSerialize for Deposit[src]

impl JsSerializeOwned for Deposit[src]

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

impl PartialEq<Deposit> for Deposit[src]

impl ReferenceType for Deposit[src]

impl RoomObjectProperties for Deposit[src]

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

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Deposit> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for Deposit[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for Deposit[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Deposit

impl Send for Deposit

impl Sync for Deposit

impl Unpin for Deposit

impl UnwindSafe for Deposit

Blanket Implementations

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

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

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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, 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.