Struct winsafe::co::ENUM_SETTINGS
source · pub struct ENUM_SETTINGS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
EnumDisplaySettingsEx
mode_num
(u32
).
Originally with ENUM
prefix and SETTINGS
suffix.
Implementations§
source§impl ENUM_SETTINGS
impl ENUM_SETTINGS
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 ENUM_SETTINGS
impl AsRef<u32> for ENUM_SETTINGS
source§impl Binary for ENUM_SETTINGS
impl Binary for ENUM_SETTINGS
source§impl Clone for ENUM_SETTINGS
impl Clone for ENUM_SETTINGS
source§fn clone(&self) -> ENUM_SETTINGS
fn clone(&self) -> ENUM_SETTINGS
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 ENUM_SETTINGS
impl Debug for ENUM_SETTINGS
source§impl Default for ENUM_SETTINGS
impl Default for ENUM_SETTINGS
source§fn default() -> ENUM_SETTINGS
fn default() -> ENUM_SETTINGS
Returns the “default value” for a type. Read more
source§impl Display for ENUM_SETTINGS
impl Display for ENUM_SETTINGS
source§impl From<ENUM_SETTINGS> for u32
impl From<ENUM_SETTINGS> for u32
source§fn from(v: ENUM_SETTINGS) -> Self
fn from(v: ENUM_SETTINGS) -> Self
Converts to this type from the input type.
source§impl Hash for ENUM_SETTINGS
impl Hash for ENUM_SETTINGS
source§impl IntUnderlying for ENUM_SETTINGS
impl IntUnderlying for ENUM_SETTINGS
source§impl LowerHex for ENUM_SETTINGS
impl LowerHex for ENUM_SETTINGS
source§impl Octal for ENUM_SETTINGS
impl Octal for ENUM_SETTINGS
source§impl Ord for ENUM_SETTINGS
impl Ord for ENUM_SETTINGS
source§impl PartialEq for ENUM_SETTINGS
impl PartialEq for ENUM_SETTINGS
source§fn eq(&self, other: &ENUM_SETTINGS) -> bool
fn eq(&self, other: &ENUM_SETTINGS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ENUM_SETTINGS
impl PartialOrd for ENUM_SETTINGS
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 ENUM_SETTINGS
impl UpperHex for ENUM_SETTINGS
impl Copy for ENUM_SETTINGS
impl Eq for ENUM_SETTINGS
impl NativeConst for ENUM_SETTINGS
impl Send for ENUM_SETTINGS
impl StructuralPartialEq for ENUM_SETTINGS
Auto Trait Implementations§
impl Freeze for ENUM_SETTINGS
impl RefUnwindSafe for ENUM_SETTINGS
impl Sync for ENUM_SETTINGS
impl Unpin for ENUM_SETTINGS
impl UnwindSafe for ENUM_SETTINGS
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