Struct windows::Devices::Display::Core::DisplayPathScaling
#[repr(transparent)]pub struct DisplayPathScaling(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl DisplayPathScaling
impl DisplayPathScaling
pub const Identity: Self = _
pub const Centered: Self = _
pub const Stretched: Self = _
pub const AspectRatioStretched: Self = _
pub const Custom: Self = _
pub const DriverPreferred: Self = _
Trait Implementations§
§impl Clone for DisplayPathScaling
impl Clone for DisplayPathScaling
§fn clone(&self) -> DisplayPathScaling
fn clone(&self) -> DisplayPathScaling
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 DisplayPathScaling
impl Debug for DisplayPathScaling
§impl Default for DisplayPathScaling
impl Default for DisplayPathScaling
§fn default() -> DisplayPathScaling
fn default() -> DisplayPathScaling
Returns the “default value” for a type. Read more
§impl PartialEq for DisplayPathScaling
impl PartialEq for DisplayPathScaling
§fn eq(&self, other: &DisplayPathScaling) -> bool
fn eq(&self, other: &DisplayPathScaling) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayPathScaling
impl Eq for DisplayPathScaling
impl StructuralPartialEq for DisplayPathScaling
Auto Trait Implementations§
impl Freeze for DisplayPathScaling
impl RefUnwindSafe for DisplayPathScaling
impl Send for DisplayPathScaling
impl Sync for DisplayPathScaling
impl Unpin for DisplayPathScaling
impl UnwindSafe for DisplayPathScaling
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
)