Struct amethyst_ui::MouseReactive [−][src]
pub struct MouseReactive;
A component that tags an entity as reactive to ui events. Will only work if the entity has a UiTransform component attached to it. Without this, the ui element will not generate events.
Trait Implementations
impl Default for MouseReactive[src]
impl Default for MouseReactivefn default() -> MouseReactive[src]
fn default() -> MouseReactiveReturns the "default value" for a type. Read more
impl Clone for MouseReactive[src]
impl Clone for MouseReactivefn clone(&self) -> MouseReactive[src]
fn clone(&self) -> MouseReactiveReturns 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 MouseReactive[src]
impl Component for MouseReactivetype Storage = NullStorage<MouseReactive>
Associated storage type for this component.
Auto Trait Implementations
impl Send for MouseReactive
impl Send for MouseReactiveimpl Sync for MouseReactive
impl Sync for MouseReactive