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