Struct amethyst_ui::UiImage
[−]
[src]
pub struct UiImage { pub texture: TextureHandle, }
A component with the texture to display in this entity's UiTransform
Fields
texture: TextureHandle
The texture to display
Trait Implementations
impl Clone for UiImage
[src]
fn clone(&self) -> UiImage
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Component for UiImage
[src]
type Storage = VecStorage<Self>
Associated storage type for this component.