Struct swifco_rs::systems::management::zones::ReactivesZone
source · [−]struct ReactivesZone<Z> {
observed_cells: PyObject,
managed_cells: PyObject,
zone: Z,
inverted: bool,
threshold: u32,
observed: Grid<bool>,
triggered: bool,
infected_animal_query: Query<With<&'static Coord, AsfInfected>>,
infectious_carcass_query: Query<With<&'static Coord, AsfInfectiousCarcass>>,
}
Fields
observed_cells: PyObject
managed_cells: PyObject
zone: Z
inverted: bool
threshold: u32
observed: Grid<bool>
triggered: bool
infected_animal_query: Query<With<&'static Coord, AsfInfected>>
infectious_carcass_query: Query<With<&'static Coord, AsfInfectiousCarcass>>
Implementations
sourceimpl<Z> ReactivesZone<Z> where
Z: From<u8>,
impl<Z> ReactivesZone<Z> where
Z: From<u8>,
Trait Implementations
sourceimpl<Z> System for ReactivesZone<Z> where
Z: From<u8> + PartialEq + PartialOrd + Copy + 'static,
impl<Z> System for ReactivesZone<Z> where
Z: From<u8> + PartialEq + PartialOrd + Copy + 'static,
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<Z> !RefUnwindSafe for ReactivesZone<Z>
impl<Z> Send for ReactivesZone<Z> where
Z: Send,
impl<Z> !Sync for ReactivesZone<Z>
impl<Z> Unpin for ReactivesZone<Z> where
Z: Unpin,
impl<Z> UnwindSafe for ReactivesZone<Z> where
Z: UnwindSafe,
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