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