Struct amethyst_ui::UiSystem [−][src]
pub struct UiSystem { /* fields omitted */ }This system processes the underlying UI data as needed.
Methods
impl UiSystem[src]
impl UiSystemTrait Implementations
impl<'a> System<'a> for UiSystem[src]
impl<'a> System<'a> for UiSystemtype SystemData = (Entities<'a>, WriteStorage<'a, UiText>, WriteStorage<'a, TextEditing>, ReadStorage<'a, UiTransform>, Write<'a, UiFocused>, Read<'a, EventChannel<Event>>, Read<'a, Time>, ReadExpect<'a, ScreenDimensions>)
The resource bundle required to execute this system. Read more
fn run(
&mut self,
(entities, text, editable, transform, focused, events, time, screen_dimensions): Self::SystemData
)[src]
fn run(
&mut self,
(entities, text, editable, transform, focused, events, time, screen_dimensions): Self::SystemData
)Executes the system with the required system data. Read more
fn setup(&mut self, res: &mut Resources)[src]
fn setup(&mut self, res: &mut Resources)Sets up the Resources using Self::SystemData::setup.
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTimeReturns 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].