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