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]
impl Clone for UiImage
fn clone(&self) -> UiImage
[src]
fn clone(&self) -> UiImage
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 Component for UiImage
[src]
impl Component for UiImage
type Storage = VecStorage<Self>
Associated storage type for this component.