Struct screeps::objects::Room
[−]
[src]
pub struct Room(_);
Methods
impl Room[src]
fn controller(&self) -> Option<StructureController>[src]
fn energy_available(&self) -> i32[src]
fn energy_capacity_available(&self) -> i32[src]
fn name(&self) -> String[src]
fn storage(&self) -> Option<StructureStorage>[src]
fn terminal(&self) -> Option<StructureTerminal>[src]
impl Room[src]
fn find<T>(&self, ty: T) -> Vec<T::Item> where
T: FindConstant, [src]
T: FindConstant,
fn look_for_at<T, U>(&self, ty: T, target: U) -> Vec<T::Item> where
T: LookConstant,
U: HasPosition, [src]
T: LookConstant,
U: HasPosition,
Trait Implementations
impl Clone for Room[src]
fn clone(&self) -> Room[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