Struct CustomSpawnerTickEvent
pub struct CustomSpawnerTickEvent<'a> {
pub dimension: &'a str,
pub key: SpawnerKey,
pub spawn_enemies: bool,
}Expand description
What Hooks::custom_spawner_tick is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§key: SpawnerKey§spawn_enemies: boolAuto Trait Implementations§
impl<'a> Freeze for CustomSpawnerTickEvent<'a>
impl<'a> RefUnwindSafe for CustomSpawnerTickEvent<'a>
impl<'a> Send for CustomSpawnerTickEvent<'a>
impl<'a> Sync for CustomSpawnerTickEvent<'a>
impl<'a> Unpin for CustomSpawnerTickEvent<'a>
impl<'a> UnsafeUnpin for CustomSpawnerTickEvent<'a>
impl<'a> UnwindSafe for CustomSpawnerTickEvent<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more