pub struct BroadcastEntitiesSystem;
Trait Implementations
sourceimpl<'a> System<'a> for BroadcastEntitiesSystem
impl<'a> System<'a> for BroadcastEntitiesSystem
type SystemData = (Write<'a, Vec<(Message, ClientFilter), Global>, PanicHandler>, Storage<'a, EntityFlag, Fetch<'a, MaskedStorage<EntityFlag>>>, Storage<'a, IDComp, Fetch<'a, MaskedStorage<IDComp>>>, Storage<'a, ETypeComp, Fetch<'a, MaskedStorage<ETypeComp>>>, Storage<'a, MetadataComp, FetchMut<'a, MaskedStorage<MetadataComp>>>)
type SystemData = (Write<'a, Vec<(Message, ClientFilter), Global>, PanicHandler>, Storage<'a, EntityFlag, Fetch<'a, MaskedStorage<EntityFlag>>>, Storage<'a, IDComp, Fetch<'a, MaskedStorage<IDComp>>>, Storage<'a, ETypeComp, Fetch<'a, MaskedStorage<ETypeComp>>>, Storage<'a, MetadataComp, FetchMut<'a, MaskedStorage<MetadataComp>>>)
The resource bundle required to execute this system. Read more
sourcefn run(&mut self, data: Self::SystemData)
fn run(&mut self, data: Self::SystemData)
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they’re executed (might allow more parallelization). Read more
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the [SystemData
].
fn setup(&mut self, world: &mut World)
fn setup(&mut self, world: &mut World)
Sets up the World
using Self::SystemData::setup
.
Auto Trait Implementations
impl RefUnwindSafe for BroadcastEntitiesSystem
impl Send for BroadcastEntitiesSystem
impl Sync for BroadcastEntitiesSystem
impl Unpin for BroadcastEntitiesSystem
impl UnwindSafe for BroadcastEntitiesSystem
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<'a, T> RunNow<'a> for T where
T: System<'a>,
impl<'a, T> RunNow<'a> for T where
T: System<'a>,
fn setup(&mut self, world: &mut World)
fn setup(&mut self, world: &mut World)
Sets up World
for a later call to run_now
.
impl<'a, T> RunWithPool<'a> for T where
T: System<'a>,
impl<'a, T> RunWithPool<'a> for T where
T: System<'a>,
fn setup(&mut self, world: &mut World)
fn setup(&mut self, world: &mut World)
Sets up World
for a later call to run
.
fn run(&mut self, world: &'a World, &ThreadPool)
fn run(&mut self, world: &'a World, &ThreadPool)
Runs the system/group of systems. Possibly in parallel depending on how the structure is set up. Read more