struct Counting {
mutation_probability: Bernoulli,
variants: u16,
query: Query<&'static mut AsfVariant>,
to_insert: Vec<(Entity, AsfVariant)>,
}
Fields
mutation_probability: Bernoulli
variants: u16
query: Query<&'static mut AsfVariant>
to_insert: Vec<(Entity, AsfVariant)>
Implementations
Trait Implementations
sourceimpl System for Counting
impl System for Counting
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 Counting
impl Send for Counting
impl !Sync for Counting
impl Unpin for Counting
impl UnwindSafe for Counting
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