Struct swifco_rs::systems::management::white_zone::WhiteZone
source · [−]struct WhiteZone {Show 14 fields
infected_zone_size: f32,
infected_zone: u8,
buffer_zone_size: f32,
buffer_zone: u8,
white_zone_size: f32,
white_zone: u8,
managed_cells: PyObject,
reaction_time: u32,
infected: Grid<u32>,
state: Grid<State>,
infected_animal_query: Query<With<&'static Coord, AsfInfected>>,
infectious_carcass_query: Query<With<&'static Coord, AsfInfectiousCarcass>>,
to_mark: Vec<(u16, u16, f32)>,
to_mark_further: Vec<(u16, u16, f32)>,
}Fields
infected_zone_size: f32infected_zone: u8buffer_zone_size: f32buffer_zone: u8white_zone_size: f32white_zone: u8managed_cells: PyObjectreaction_time: u32infected: Grid<u32>state: Grid<State>infected_animal_query: Query<With<&'static Coord, AsfInfected>>infectious_carcass_query: Query<With<&'static Coord, AsfInfectiousCarcass>>to_mark: Vec<(u16, u16, f32)>to_mark_further: Vec<(u16, u16, f32)>Trait Implementations
sourceimpl System for WhiteZone
impl System for WhiteZone
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 WhiteZone
impl Send for WhiteZone
impl !Sync for WhiteZone
impl Unpin for WhiteZone
impl UnwindSafe for WhiteZone
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