pub struct OnGuiLeaveEvent {
pub element: LuaGuiElement,
pub name: &'static str,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when the player’s cursor leaves a LuaGuiElement that was previously hovered.
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 OnGuiLeaveEvent
impl Clone for OnGuiLeaveEvent
Source§fn clone(&self) -> OnGuiLeaveEvent
fn clone(&self) -> OnGuiLeaveEvent
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 OnGuiLeaveEvent
Source§impl Debug for OnGuiLeaveEvent
impl Debug for OnGuiLeaveEvent
Source§impl Default for OnGuiLeaveEvent
impl Default for OnGuiLeaveEvent
Source§fn default() -> OnGuiLeaveEvent
fn default() -> OnGuiLeaveEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnGuiLeaveEvent
impl PartialEq for OnGuiLeaveEvent
impl StructuralPartialEq for OnGuiLeaveEvent
Auto Trait Implementations§
impl Freeze for OnGuiLeaveEvent
impl RefUnwindSafe for OnGuiLeaveEvent
impl Send for OnGuiLeaveEvent
impl Sync for OnGuiLeaveEvent
impl Unpin for OnGuiLeaveEvent
impl UnsafeUnpin for OnGuiLeaveEvent
impl UnwindSafe for OnGuiLeaveEvent
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