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