Struct swifco_rs::systems::management::fences::DefaultFences
source · [−]struct DefaultFences {
params: HashMap<u32, HashMap<Boundary<FenceZone>, f64>>,
query: Query<(&'static Entity, &'static mut Permeability, &'static Boundary<FenceZone>)>,
}
Fields
params: HashMap<u32, HashMap<Boundary<FenceZone>, f64>>
query: Query<(&'static Entity, &'static mut Permeability, &'static Boundary<FenceZone>)>
Implementations
sourceimpl DefaultFences
impl DefaultFences
fn new(params: HashMap<u32, Vec<FenceParams>>) -> Self
Trait Implementations
sourceimpl System for DefaultFences
impl System for DefaultFences
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 DefaultFences
impl Send for DefaultFences
impl !Sync for DefaultFences
impl Unpin for DefaultFences
impl UnwindSafe for DefaultFences
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