pub struct SystemTable {
pub entries: &'static [SystemEntry],
pub before_init: Option<fn(&mut PipelineContext<'_>)>,
pub prepare_events: Option<fn(&mut EventStore, Access)>,
}Expand description
A host’s system table and the load-time passes only the host can supply.
The entries name the host’s own system types, so the table is written where those types live; everything that runs it is here.
Fields§
§entries: &'static [SystemEntry]One entry per system, in run order.
before_init: Option<fn(&mut PipelineContext<'_>)>Runs over the world once its systems are built and before their init.
Absent leaves the loaded content exactly as it was added.
prepare_events: Option<fn(&mut EventStore, Access)>Pre-creates the event queues a scheduled system’s declared access can
touch, so its events_mut never grows the store’s map mid-tick. Absent
leaves every queue to be created on first use.
Implementations§
Source§impl SystemTable
impl SystemTable
Auto Trait Implementations§
impl Freeze for SystemTable
impl RefUnwindSafe for SystemTable
impl Send for SystemTable
impl Sync for SystemTable
impl Unpin for SystemTable
impl UnsafeUnpin for SystemTable
impl UnwindSafe for SystemTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more