Struct amethyst_ui::UiImageBuilder [−][src]
pub struct UiImageBuilder<F = TextureFormat> where
F: Format<Texture, Options = TextureMetadata>, { pub image: TexturePrefab<F>, }
Fields
image: TexturePrefab<F>
Image
Trait Implementations
impl<F: Clone> Clone for UiImageBuilder<F> where
F: Format<Texture, Options = TextureMetadata>,
[src]
impl<F: Clone> Clone for UiImageBuilder<F> where
F: Format<Texture, Options = TextureMetadata>,
fn clone(&self) -> UiImageBuilder<F>
[src]
fn clone(&self) -> UiImageBuilder<F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, F> PrefabData<'a> for UiImageBuilder<F> where
F: Format<Texture, Options = TextureMetadata> + Clone + Sync,
[src]
impl<'a, F> PrefabData<'a> for UiImageBuilder<F> where
F: Format<Texture, Options = TextureMetadata> + Clone + Sync,
type SystemData = (WriteStorage<'a, UiImage>, <TexturePrefab<F> as PrefabData<'a>>::SystemData)
SystemData
needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
entities: &[Entity]
) -> Result<(), PrefabError>
[src]
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
entities: &[Entity]
) -> Result<(), PrefabError>
Load the data for this prefab onto the given Entity
Read more
fn trigger_sub_loading(
&mut self,
progress: &mut ProgressCounter,
system_data: &mut Self::SystemData
) -> Result<bool, PrefabError>
[src]
fn trigger_sub_loading(
&mut self,
progress: &mut ProgressCounter,
system_data: &mut Self::SystemData
) -> Result<bool, PrefabError>
Trigger asset loading for any sub assets. Read more
Auto Trait Implementations
impl<F> Send for UiImageBuilder<F>
impl<F> Send for UiImageBuilder<F>
impl<F> Sync for UiImageBuilder<F> where
F: Sync,
impl<F> Sync for UiImageBuilder<F> where
F: Sync,