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