Enum screeps::objects::LookResult
source · pub enum LookResult {
Creep(Creep),
Energy(Resource),
Resource(Resource),
Source(Source),
Mineral(Mineral),
Structure(Structure),
Flag(Flag),
ConstructionSite(ConstructionSite),
Nuke(Nuke),
Terrain(Terrain),
Tombstone(Tombstone),
}
Variants
Creep(Creep)
Energy(Resource)
Resource(Resource)
Source(Source)
Mineral(Mineral)
Structure(Structure)
Flag(Flag)
ConstructionSite(ConstructionSite)
Nuke(Nuke)
Terrain(Terrain)
Tombstone(Tombstone)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LookResult
impl Send for LookResult
impl Sync for LookResult
impl Unpin for LookResult
impl UnwindSafe for LookResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more