struct Zones<Z> {
callback: PyObject,
_kind: PhantomData<Z>,
}
Fields
callback: PyObject
_kind: PhantomData<Z>
Implementations
Trait Implementations
sourceimpl<Z> System for Zones<Z> where
Z: From<u8> + PartialEq + PartialOrd + Copy + 'static,
impl<Z> System for Zones<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 Zones<Z>
impl<Z> Send for Zones<Z> where
Z: Send,
impl<Z> Sync for Zones<Z> where
Z: Sync,
impl<Z> Unpin for Zones<Z> where
Z: Unpin,
impl<Z> UnwindSafe for Zones<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