Struct amethyst_ui::UiButtonBuilderResources[][src]

pub struct UiButtonBuilderResources<'a> { /* fields omitted */ }

Container for all the resources the builder needs to make a new UiButton.

Methods

impl<'a> UiButtonBuilderResources<'a>
[src]

Grab the resources we need from the world.

Trait Implementations

impl<'a> SystemData<'a> for UiButtonBuilderResources<'a> where
    Read<'a, AssetStorage<FontAsset>>: SystemData<'a>,
    Read<'a, AssetStorage<Texture>>: SystemData<'a>,
    ReadExpect<'a, Loader>: SystemData<'a>,
    Entities<'a>: SystemData<'a>,
    WriteStorage<'a, UiImage>: SystemData<'a>,
    WriteStorage<'a, MouseReactive>: SystemData<'a>,
    WriteStorage<'a, Parent>: SystemData<'a>,
    WriteStorage<'a, UiText>: SystemData<'a>,
    WriteStorage<'a, UiTransform>: SystemData<'a>, 
[src]

Sets up the system data for fetching it from the Resources.

Fetches the system data from Resources. Note that this is only specified for one concrete lifetime 'a, you need to implement the SystemData trait for every possible lifetime. Read more

Returns all read dependencies as fetched from Self::fetch. Read more

Returns all write dependencies as fetched from Self::fetch. Read more

Auto Trait Implementations

impl<'a> Send for UiButtonBuilderResources<'a>

impl<'a> Sync for UiButtonBuilderResources<'a>