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