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