Struct swifco_rs::systems::management::hunting::EventHunting
source · [−]struct EventHunting {
buffer: u16,
delay: u32,
events: PyObject,
store_all_candidates: bool,
delayed_events: Vec<(u32, Coord)>,
query: Query<(&'static Entity, &'static Coord)>,
}
Fields
buffer: u16
delay: u32
events: PyObject
store_all_candidates: bool
delayed_events: Vec<(u32, Coord)>
query: Query<(&'static Entity, &'static Coord)>
Implementations
sourceimpl EventHunting
impl EventHunting
Trait Implementations
sourceimpl System for EventHunting
impl System for EventHunting
fn update(&mut self, world: &mut World, resources: &mut Resources)
fn initialize(&mut self, _world: &mut World, _resources: &mut Resources)
fn finalize(&mut self, _world: &mut World, _resources: &mut Resources)
fn init_boars(
&self,
_world: &mut World,
_resources: &mut Resources,
_boars: &[Entity]
)
Auto Trait Implementations
impl !RefUnwindSafe for EventHunting
impl Send for EventHunting
impl !Sync for EventHunting
impl Unpin for EventHunting
impl UnwindSafe for EventHunting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more