Struct amethyst_ui::UiButtonResources[][src]

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

Container that wraps the resources we need to initialize button defaults

Methods

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

Grab the resources we need from the world.

Trait Implementations

impl<'a> SystemData<'a> for UiButtonResources<'a> where
    Read<'a, AssetStorage<FontAsset>>: SystemData<'a>,
    ReadExpect<'a, Loader>: SystemData<'a>,
    Read<'a, AssetStorage<Texture>>: 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 UiButtonResources<'a>

impl<'a> Sync for UiButtonResources<'a>