Struct winsafe::co::DXGI_MODE_SCALING
source · pub struct DXGI_MODE_SCALING(/* private fields */);
Available on crate features
kernel
and dxgi
only.Expand description
DXGI_MODE_SCALING
enumeration (u32
).
Implementations§
source§impl DXGI_MODE_SCALING
impl DXGI_MODE_SCALING
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
source§impl AsRef<u32> for DXGI_MODE_SCALING
impl AsRef<u32> for DXGI_MODE_SCALING
source§impl Binary for DXGI_MODE_SCALING
impl Binary for DXGI_MODE_SCALING
source§impl Clone for DXGI_MODE_SCALING
impl Clone for DXGI_MODE_SCALING
source§fn clone(&self) -> DXGI_MODE_SCALING
fn clone(&self) -> DXGI_MODE_SCALING
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 moresource§impl Debug for DXGI_MODE_SCALING
impl Debug for DXGI_MODE_SCALING
source§impl Default for DXGI_MODE_SCALING
impl Default for DXGI_MODE_SCALING
source§fn default() -> DXGI_MODE_SCALING
fn default() -> DXGI_MODE_SCALING
Returns the “default value” for a type. Read more
source§impl Display for DXGI_MODE_SCALING
impl Display for DXGI_MODE_SCALING
source§impl From<DXGI_MODE_SCALING> for u32
impl From<DXGI_MODE_SCALING> for u32
source§fn from(v: DXGI_MODE_SCALING) -> Self
fn from(v: DXGI_MODE_SCALING) -> Self
Converts to this type from the input type.
source§impl Hash for DXGI_MODE_SCALING
impl Hash for DXGI_MODE_SCALING
source§impl IntUnderlying for DXGI_MODE_SCALING
impl IntUnderlying for DXGI_MODE_SCALING
source§impl LowerHex for DXGI_MODE_SCALING
impl LowerHex for DXGI_MODE_SCALING
source§impl Octal for DXGI_MODE_SCALING
impl Octal for DXGI_MODE_SCALING
source§impl PartialEq for DXGI_MODE_SCALING
impl PartialEq for DXGI_MODE_SCALING
source§fn eq(&self, other: &DXGI_MODE_SCALING) -> bool
fn eq(&self, other: &DXGI_MODE_SCALING) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for DXGI_MODE_SCALING
impl UpperHex for DXGI_MODE_SCALING
impl Copy for DXGI_MODE_SCALING
impl Eq for DXGI_MODE_SCALING
impl NativeConst for DXGI_MODE_SCALING
impl Send for DXGI_MODE_SCALING
impl StructuralPartialEq for DXGI_MODE_SCALING
Auto Trait Implementations§
impl RefUnwindSafe for DXGI_MODE_SCALING
impl Sync for DXGI_MODE_SCALING
impl Unpin for DXGI_MODE_SCALING
impl UnwindSafe for DXGI_MODE_SCALING
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