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