pub struct OnPlayerDisplayDensityScaleChanged;Expand description
Called when the display density scale changes for a given player. The display density scale is the scale value automatically applied based on the player’s display DPI. This is only relevant on platforms that support high-density displays.
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerDisplayDensityScaleChanged
impl Clone for OnPlayerDisplayDensityScaleChanged
Source§fn clone(&self) -> OnPlayerDisplayDensityScaleChanged
fn clone(&self) -> OnPlayerDisplayDensityScaleChanged
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 OnPlayerDisplayDensityScaleChanged
impl Eq for OnPlayerDisplayDensityScaleChanged
impl StructuralPartialEq for OnPlayerDisplayDensityScaleChanged
Auto Trait Implementations§
impl Freeze for OnPlayerDisplayDensityScaleChanged
impl RefUnwindSafe for OnPlayerDisplayDensityScaleChanged
impl Send for OnPlayerDisplayDensityScaleChanged
impl Sync for OnPlayerDisplayDensityScaleChanged
impl Unpin for OnPlayerDisplayDensityScaleChanged
impl UnsafeUnpin for OnPlayerDisplayDensityScaleChanged
impl UnwindSafe for OnPlayerDisplayDensityScaleChanged
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