[][src]Struct screeps::objects::Spawning

pub struct Spawning(_);

Methods

impl Spawning[src]

pub fn directions(&self) -> Vec<Direction>[src]

pub fn name(&self) -> String[src]

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

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

pub fn spawn(&self) -> StructureSpawn[src]

impl Spawning[src]

pub fn cancel(&self) -> ReturnCode[src]

pub fn set_directions(&self, directions: &[Direction]) -> ReturnCode[src]

Trait Implementations

impl FromExpectedType<Reference> for Spawning[src]

impl From<Spawning> for Reference[src]

impl Clone for Spawning[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl AsRef<Reference> for Spawning[src]

impl TryFrom<Spawning> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for Spawning[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for Spawning[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl JsSerialize for Spawning[src]

impl InstanceOf for Spawning[src]

impl ReferenceType for Spawning[src]

impl JsSerializeOwned for Spawning[src]

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

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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.