Struct amethyst_ui::UiResize
[−]
[src]
pub struct UiResize(pub Box<FnMut(&mut UiTransform, (f32, f32)) + Send + Sync>);
Whenever the window is resized the function in this component will be called on this entity's UiTransform, along with the new width and height of the window.
Trait Implementations
impl Component for UiResize
[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.