pub struct OnGuiHoverEvent {
pub element: LuaGuiElement,
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when LuaGuiElement is hovered by the mouse.
Only fired for events whose LuaGuiElement::raise_hover_events is true.
Fields§
§element: LuaGuiElement§name: &'static str§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnGuiHoverEvent
impl Clone for OnGuiHoverEvent
Source§fn clone(&self) -> OnGuiHoverEvent
fn clone(&self) -> OnGuiHoverEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OnGuiHoverEvent
Source§impl Debug for OnGuiHoverEvent
impl Debug for OnGuiHoverEvent
Source§impl Default for OnGuiHoverEvent
impl Default for OnGuiHoverEvent
Source§fn default() -> OnGuiHoverEvent
fn default() -> OnGuiHoverEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnGuiHoverEvent
impl PartialEq for OnGuiHoverEvent
impl StructuralPartialEq for OnGuiHoverEvent
Auto Trait Implementations§
impl Freeze for OnGuiHoverEvent
impl RefUnwindSafe for OnGuiHoverEvent
impl Send for OnGuiHoverEvent
impl Sync for OnGuiHoverEvent
impl Unpin for OnGuiHoverEvent
impl UnsafeUnpin for OnGuiHoverEvent
impl UnwindSafe for OnGuiHoverEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more