Struct windows::Graphics::Display::ResolutionScale
#[repr(transparent)]pub struct ResolutionScale(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl ResolutionScale
impl ResolutionScale
pub const Invalid: Self = _
pub const Scale100Percent: Self = _
pub const Scale120Percent: Self = _
pub const Scale125Percent: Self = _
pub const Scale140Percent: Self = _
pub const Scale150Percent: Self = _
pub const Scale160Percent: Self = _
pub const Scale175Percent: Self = _
pub const Scale180Percent: Self = _
pub const Scale200Percent: Self = _
pub const Scale225Percent: Self = _
pub const Scale250Percent: Self = _
pub const Scale300Percent: Self = _
pub const Scale350Percent: Self = _
pub const Scale400Percent: Self = _
pub const Scale450Percent: Self = _
pub const Scale500Percent: Self = _
Trait Implementations§
§impl Clone for ResolutionScale
impl Clone for ResolutionScale
§fn clone(&self) -> ResolutionScale
fn clone(&self) -> ResolutionScale
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ResolutionScale
impl Debug for ResolutionScale
§impl Default for ResolutionScale
impl Default for ResolutionScale
§fn default() -> ResolutionScale
fn default() -> ResolutionScale
Returns the “default value” for a type. Read more
§impl PartialEq for ResolutionScale
impl PartialEq for ResolutionScale
§fn eq(&self, other: &ResolutionScale) -> bool
fn eq(&self, other: &ResolutionScale) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResolutionScale
impl Eq for ResolutionScale
impl StructuralPartialEq for ResolutionScale
Auto Trait Implementations§
impl Freeze for ResolutionScale
impl RefUnwindSafe for ResolutionScale
impl Send for ResolutionScale
impl Sync for ResolutionScale
impl Unpin for ResolutionScale
impl UnwindSafe for ResolutionScale
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)