pub trait SystemData<'a>: SystemAccess {
type Value;
// Required methods
fn acquire(&'a mut self, ctx: &'a SystemContext<'_, '_, '_>) -> Self::Value;
fn describe(&self, f: &mut Formatter<'_>) -> Result;
}
Expand description
Borrow state from the system execution data
Required Associated Types§
Required Methods§
Sourcefn acquire(&'a mut self, ctx: &'a SystemContext<'_, '_, '_>) -> Self::Value
fn acquire(&'a mut self, ctx: &'a SystemContext<'_, '_, '_>) -> Self::Value
Get the data from the system context