Struct amethyst_ui::UiImageBuilder[][src]

pub struct UiImageBuilder<F = TextureFormat> where
    F: Format<Texture, Options = TextureMetadata>, 
{ pub image: TexturePrefab<F>, }

Loadable UiImage data

Type parameters:

  • F: Format used for loading Textures

Fields

Image

Trait Implementations

impl<F: Clone> Clone for UiImageBuilder<F> where
    F: Format<Texture, Options = TextureMetadata>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, F> PrefabData<'a> for UiImageBuilder<F> where
    F: Format<Texture, Options = TextureMetadata> + Clone + Sync
[src]

SystemData needed to perform the load

The result type returned by the load operation

Load the data for this prefab onto the given Entity Read more

Trigger asset loading for any sub assets. Read more

Auto Trait Implementations

impl<F> Send for UiImageBuilder<F>

impl<F> Sync for UiImageBuilder<F> where
    F: Sync