Struct amethyst_ui::UiParentSystem [−][src]
pub struct UiParentSystem { /* fields omitted */ }Manages the Parent component on entities having UiTransform
It does almost the same as the TransformSystem, but with some differences,
like UiTransform alignment and stretching.
Trait Implementations
impl Default for UiParentSystem[src]
impl Default for UiParentSystemfn default() -> UiParentSystem[src]
fn default() -> UiParentSystemReturns the "default value" for a type. Read more
impl<'a> System<'a> for UiParentSystem[src]
impl<'a> System<'a> for UiParentSystemtype SystemData = (Entities<'a>, WriteStorage<'a, UiTransform>, ReadStorage<'a, Parent>, ReadStorage<'a, Anchored>, ReadStorage<'a, Stretched>, ReadExpect<'a, ScreenDimensions>, ReadExpect<'a, ParentHierarchy>)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)[src]
fn run(&mut self, data: 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].
Auto Trait Implementations
impl Send for UiParentSystem
impl Send for UiParentSystemimpl Sync for UiParentSystem
impl Sync for UiParentSystem