Struct winsafe::co::DMDISPLAYFLAGS
source · pub struct DMDISPLAYFLAGS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
DEVMODE
dmDisplayFlags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl DMDISPLAYFLAGS
impl DMDISPLAYFLAGS
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 DMDISPLAYFLAGS
impl AsRef<u32> for DMDISPLAYFLAGS
source§impl Binary for DMDISPLAYFLAGS
impl Binary for DMDISPLAYFLAGS
source§impl BitAnd for DMDISPLAYFLAGS
impl BitAnd for DMDISPLAYFLAGS
source§impl BitAndAssign for DMDISPLAYFLAGS
impl BitAndAssign for DMDISPLAYFLAGS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for DMDISPLAYFLAGS
impl BitOr for DMDISPLAYFLAGS
source§impl BitOrAssign for DMDISPLAYFLAGS
impl BitOrAssign for DMDISPLAYFLAGS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for DMDISPLAYFLAGS
impl BitXor for DMDISPLAYFLAGS
source§impl BitXorAssign for DMDISPLAYFLAGS
impl BitXorAssign for DMDISPLAYFLAGS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for DMDISPLAYFLAGS
impl Clone for DMDISPLAYFLAGS
source§fn clone(&self) -> DMDISPLAYFLAGS
fn clone(&self) -> DMDISPLAYFLAGS
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 DMDISPLAYFLAGS
impl Debug for DMDISPLAYFLAGS
source§impl Default for DMDISPLAYFLAGS
impl Default for DMDISPLAYFLAGS
source§fn default() -> DMDISPLAYFLAGS
fn default() -> DMDISPLAYFLAGS
Returns the “default value” for a type. Read more
source§impl Display for DMDISPLAYFLAGS
impl Display for DMDISPLAYFLAGS
source§impl From<DMDISPLAYFLAGS> for u32
impl From<DMDISPLAYFLAGS> for u32
source§fn from(v: DMDISPLAYFLAGS) -> Self
fn from(v: DMDISPLAYFLAGS) -> Self
Converts to this type from the input type.
source§impl Hash for DMDISPLAYFLAGS
impl Hash for DMDISPLAYFLAGS
source§impl IntUnderlying for DMDISPLAYFLAGS
impl IntUnderlying for DMDISPLAYFLAGS
source§impl LowerHex for DMDISPLAYFLAGS
impl LowerHex for DMDISPLAYFLAGS
source§impl NativeBitflag for DMDISPLAYFLAGS
impl NativeBitflag for DMDISPLAYFLAGS
source§impl Not for DMDISPLAYFLAGS
impl Not for DMDISPLAYFLAGS
source§impl Octal for DMDISPLAYFLAGS
impl Octal for DMDISPLAYFLAGS
source§impl Ord for DMDISPLAYFLAGS
impl Ord for DMDISPLAYFLAGS
source§impl PartialEq for DMDISPLAYFLAGS
impl PartialEq for DMDISPLAYFLAGS
source§fn eq(&self, other: &DMDISPLAYFLAGS) -> bool
fn eq(&self, other: &DMDISPLAYFLAGS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DMDISPLAYFLAGS
impl PartialOrd for DMDISPLAYFLAGS
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 DMDISPLAYFLAGS
impl UpperHex for DMDISPLAYFLAGS
impl Copy for DMDISPLAYFLAGS
impl Eq for DMDISPLAYFLAGS
impl NativeConst for DMDISPLAYFLAGS
impl Send for DMDISPLAYFLAGS
impl StructuralPartialEq for DMDISPLAYFLAGS
Auto Trait Implementations§
impl Freeze for DMDISPLAYFLAGS
impl RefUnwindSafe for DMDISPLAYFLAGS
impl Sync for DMDISPLAYFLAGS
impl Unpin for DMDISPLAYFLAGS
impl UnwindSafe for DMDISPLAYFLAGS
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