Struct amethyst_ui::UiButtonBuilderResources [−][src]
pub struct UiButtonBuilderResources<'a> { /* fields omitted */ }
Container for all the resources the builder needs to make a new UiButton.
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>,
WriteStorage<'a, UiButton>: SystemData<'a>,
WriteStorage<'a, OnUiActionImage>: SystemData<'a>,
WriteStorage<'a, OnUiActionSound>: SystemData<'a>,
[src]
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>,
WriteStorage<'a, UiButton>: SystemData<'a>,
WriteStorage<'a, OnUiActionImage>: SystemData<'a>,
WriteStorage<'a, OnUiActionSound>: SystemData<'a>,
fn setup(res: &mut Resources)
[src]
fn setup(res: &mut Resources)
Sets up the system data for fetching it from the Resources
.
fn fetch(res: &'a Resources) -> Self
[src]
fn fetch(res: &'a Resources) -> Self
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
fn reads() -> Vec<ResourceId>
[src]
fn reads() -> Vec<ResourceId>
Returns all read dependencies as fetched from Self::fetch
. Read more
fn writes() -> Vec<ResourceId>
[src]
fn writes() -> Vec<ResourceId>
Returns all write dependencies as fetched from Self::fetch
. Read more
Auto Trait Implementations
impl<'a> Send for UiButtonBuilderResources<'a>
impl<'a> Send for UiButtonBuilderResources<'a>
impl<'a> Sync for UiButtonBuilderResources<'a>
impl<'a> Sync for UiButtonBuilderResources<'a>