Struct screeps::objects::StructureSpawn
[−]
[src]
pub struct StructureSpawn(_);
Methods
impl StructureSpawn
[src]
impl StructureSpawn
[src]
fn spawn_creep(&self, body: &[Part], name: &str) -> ReturnCode
[src]
Trait Implementations
impl Clone for StructureSpawn
[src]
fn clone(&self) -> StructureSpawn
[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 StructureSpawn
[src]
impl TryFrom<Value> for StructureSpawn
[src]
type Error = <Value as TryInto<Reference>>::Error
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<StructureSpawn, Self::Error>
[src]
Performs the conversion.