pub struct OnPlayerDisplayScaleChangedEvent {
pub name: &'static str,
pub old_scale: f64,
pub player_index: u32,
pub tick: u32,
}Expand description
Called when the display scale changes for a given player.
Fields§
§name: &'static str§old_scale: f64§player_index: u32§tick: u32Trait Implementations§
Source§impl Clone for OnPlayerDisplayScaleChangedEvent
impl Clone for OnPlayerDisplayScaleChangedEvent
Source§fn clone(&self) -> OnPlayerDisplayScaleChangedEvent
fn clone(&self) -> OnPlayerDisplayScaleChangedEvent
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 OnPlayerDisplayScaleChangedEvent
Source§impl Default for OnPlayerDisplayScaleChangedEvent
impl Default for OnPlayerDisplayScaleChangedEvent
Source§fn default() -> OnPlayerDisplayScaleChangedEvent
fn default() -> OnPlayerDisplayScaleChangedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnPlayerDisplayScaleChangedEvent
Auto Trait Implementations§
impl Freeze for OnPlayerDisplayScaleChangedEvent
impl RefUnwindSafe for OnPlayerDisplayScaleChangedEvent
impl Send for OnPlayerDisplayScaleChangedEvent
impl Sync for OnPlayerDisplayScaleChangedEvent
impl Unpin for OnPlayerDisplayScaleChangedEvent
impl UnsafeUnpin for OnPlayerDisplayScaleChangedEvent
impl UnwindSafe for OnPlayerDisplayScaleChangedEvent
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