Struct screeps::constants::find::HOSTILE_SPAWNS
source · pub struct HOSTILE_SPAWNS;Trait Implementations
sourceimpl FindConstant for HOSTILE_SPAWNS
impl FindConstant for HOSTILE_SPAWNS
type Item = StructureSpawn
fn find_code(&self) -> i32
Auto Trait Implementations
impl RefUnwindSafe for HOSTILE_SPAWNS
impl Send for HOSTILE_SPAWNS
impl Sync for HOSTILE_SPAWNS
impl Unpin for HOSTILE_SPAWNS
impl UnwindSafe for HOSTILE_SPAWNS
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