pub struct OnGuiClickEvent {
pub alt: bool,
pub button: &'static str,
pub control: bool,
pub cursor_display_location: LuaAny,
pub element: LuaGuiElement,
pub name: &'static str,
pub player_index: u32,
pub shift: bool,
pub tick: u32,
}Expand description
Called when LuaGuiElement is clicked.
Fields§
§alt: bool§control: bool§cursor_display_location: LuaAny§element: LuaGuiElement§name: &'static str§player_index: u32§shift: bool§tick: u32Trait Implementations§
Source§impl Clone for OnGuiClickEvent
impl Clone for OnGuiClickEvent
Source§fn clone(&self) -> OnGuiClickEvent
fn clone(&self) -> OnGuiClickEvent
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 OnGuiClickEvent
Source§impl Debug for OnGuiClickEvent
impl Debug for OnGuiClickEvent
Source§impl Default for OnGuiClickEvent
impl Default for OnGuiClickEvent
Source§fn default() -> OnGuiClickEvent
fn default() -> OnGuiClickEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnGuiClickEvent
impl PartialEq for OnGuiClickEvent
impl StructuralPartialEq for OnGuiClickEvent
Auto Trait Implementations§
impl Freeze for OnGuiClickEvent
impl RefUnwindSafe for OnGuiClickEvent
impl Send for OnGuiClickEvent
impl Sync for OnGuiClickEvent
impl Unpin for OnGuiClickEvent
impl UnsafeUnpin for OnGuiClickEvent
impl UnwindSafe for OnGuiClickEvent
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