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