Struct swifco_rs::systems::management::carcasses::EventCarcassRemoval
source · [−]struct EventCarcassRemoval {
buffer: u16,
delay: u32,
events: PyObject,
store_all_candidates: bool,
delayed_events: Vec<(u32, Coord)>,
query: Query<With<(&'static Entity, &'static Coord), CarcassDecomposition>>,
}
Fields
buffer: u16
delay: u32
events: PyObject
store_all_candidates: bool
delayed_events: Vec<(u32, Coord)>
query: Query<With<(&'static Entity, &'static Coord), CarcassDecomposition>>
Implementations
Trait Implementations
sourceimpl System for EventCarcassRemoval
impl System for EventCarcassRemoval
fn initialize(&mut self, _world: &mut World, resources: &mut Resources)
fn update(&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 EventCarcassRemoval
impl Send for EventCarcassRemoval
impl !Sync for EventCarcassRemoval
impl Unpin for EventCarcassRemoval
impl UnwindSafe for EventCarcassRemoval
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