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