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