struct Random {
tick: u32,
query: Query<With<&'static Entity, CsfSusceptible>>,
}
Fields
tick: u32
query: Query<With<&'static Entity, CsfSusceptible>>
Trait Implementations
sourceimpl System for Random
impl System for Random
fn update(&mut self, world: &mut World, resources: &mut Resources)
fn initialize(&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 Random
impl Send for Random
impl !Sync for Random
impl Unpin for Random
impl UnwindSafe for Random
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