[][src]Struct screeps::objects::StructureLab

pub struct StructureLab(_);

Implementations

impl StructureLab[src]

pub fn mineral_type(&self) -> ResourceType[src]

pub fn boost_creep(
    &self,
    creep: &Creep,
    body_part_count: Option<u32>
) -> ReturnCode
[src]

pub fn run_reaction(
    &self,
    lab1: &StructureLab,
    lab2: &StructureLab
) -> ReturnCode
[src]

pub fn unboost_creep(&self, creep: &Creep) -> ReturnCode[src]

Trait Implementations

impl AsRef<Reference> for StructureLab[src]

impl Attackable for StructureLab[src]

impl Clone for StructureLab[src]

impl Eq for StructureLab[src]

impl From<StructureLab> for Reference[src]

impl FromExpectedType<Reference> for StructureLab[src]

impl HasCooldown for StructureLab[src]

impl HasId for StructureLab[src]

impl HasStore for StructureLab[src]

impl InstanceOf for StructureLab[src]

impl JsSerialize for StructureLab[src]

impl JsSerializeOwned for StructureLab[src]

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

impl OwnedStructureProperties for StructureLab[src]

impl PartialEq<StructureLab> for StructureLab[src]

impl ReferenceType for StructureLab[src]

impl RoomObjectProperties for StructureLab[src]

impl StructureProperties for StructureLab[src]

impl Transferable for StructureLab[src]

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

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Reference> for StructureLab[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<StructureLab> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Value> for StructureLab[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl Withdrawable for StructureLab[src]

Auto Trait Implementations

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.