pub struct SM(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
GetSystemMetrics
index
(i32
).
Implementations§
source§impl SM
impl SM
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 SM
impl SM
pub const CXSCREEN: Self = _
pub const CYSCREEN: Self = _
pub const CXVSCROLL: Self = _
pub const CYHSCROLL: Self = _
pub const CYCAPTION: Self = _
pub const CXBORDER: Self = _
pub const CYBORDER: Self = _
pub const CXDLGFRAME: Self = _
pub const CYDLGFRAME: Self = _
pub const CYVTHUMB: Self = _
pub const CXHTHUMB: Self = _
pub const CXICON: Self = _
pub const CYICON: Self = _
pub const CXCURSOR: Self = _
pub const CYCURSOR: Self = _
pub const CYMENU: Self = _
pub const CXFULLSCREEN: Self = _
pub const CYFULLSCREEN: Self = _
pub const CYKANJIWINDOW: Self = _
pub const MOUSEPRESENT: Self = _
pub const CYVSCROLL: Self = _
pub const CXHSCROLL: Self = _
pub const DEBUG: Self = _
pub const SWAPBUTTON: Self = _
pub const RESERVED1: Self = _
pub const RESERVED2: Self = _
pub const RESERVED3: Self = _
pub const RESERVED4: Self = _
pub const CXFRAME: Self = _
pub const CYFRAME: Self = _
sourcepub const CXMINTRACK: Self = _
pub const CXMINTRACK: Self = _
The minimum tracking width of a window in pixels. The user cannot drag
the window frame to a size smaller than these dimensions. A window can
override this value by processing the
wm::GetMinMaxInfo
message.
sourcepub const CYMINTRACK: Self = _
pub const CYMINTRACK: Self = _
The minimum tracking height of a window in pixels. The user cannot drag
the window frame to a size smaller than these dimensions. A window can
override this value by processing the
wm::GetMinMaxInfo
message.
pub const CXDOUBLECLK: Self = _
pub const CYDOUBLECLK: Self = _
pub const CXICONSPACING: Self = _
pub const CYICONSPACING: Self = _
pub const MENUDROPALIGNMENT: Self = _
pub const PENWINDOWS: Self = _
pub const DBCSENABLED: Self = _
pub const CMOUSEBUTTONS: Self = _
pub const CXFIXEDFRAME: Self = _
pub const CYFIXEDFRAME: Self = _
pub const CXSIZEFRAME: Self = _
pub const CYSIZEFRAME: Self = _
pub const SECURE: Self = _
pub const CXEDGE: Self = _
pub const CYEDGE: Self = _
pub const CXMINSPACING: Self = _
pub const CYMINSPACING: Self = _
pub const CXSMICON: Self = _
pub const CYSMICON: Self = _
pub const CYSMCAPTION: Self = _
pub const CXSMSIZE: Self = _
pub const CYSMSIZE: Self = _
pub const CXMENUSIZE: Self = _
pub const CYMENUSIZE: Self = _
pub const ARRANGE: Self = _
pub const CXMINIMIZED: Self = _
pub const CYMINIMIZED: Self = _
pub const CXMAXTRACK: Self = _
pub const CYMAXTRACK: Self = _
pub const CXMAXIMIZED: Self = _
pub const CYMAXIMIZED: Self = _
pub const NETWORK: Self = _
pub const CLEANBOOT: Self = _
pub const CXDRAG: Self = _
pub const CYDRAG: Self = _
pub const SHOWSOUNDS: Self = _
pub const CXMENUCHECK: Self = _
pub const CYMENUCHECK: Self = _
pub const SLOWMACHINE: Self = _
pub const MIDEASTENABLED: Self = _
pub const MOUSEWHEELPRESENT: Self = _
pub const XVIRTUALSCREEN: Self = _
pub const YVIRTUALSCREEN: Self = _
pub const CXVIRTUALSCREEN: Self = _
pub const CYVIRTUALSCREEN: Self = _
pub const CMONITORS: Self = _
pub const SAMEDISPLAYFORMAT: Self = _
pub const IMMENABLED: Self = _
pub const CXFOCUSBORDER: Self = _
pub const CYFOCUSBORDER: Self = _
pub const TABLETPC: Self = _
pub const MEDIACENTER: Self = _
pub const STARTER: Self = _
pub const SERVERR2: Self = _
pub const MOUSEHORIZONTALWHEELPRESENT: Self = _
pub const CXPADDEDBORDER: Self = _
pub const DIGITIZER: Self = _
pub const MAXIMUMTOUCHES: Self = _
pub const CMETRICS: Self = _
pub const REMOTESESSION: Self = _
pub const SHUTTINGDOWN: Self = _
pub const REMOTECONTROL: Self = _
pub const CARETBLINKINGENABLED: Self = _
pub const CONVERTIBLESLATEMODE: Self = _
pub const SYSTEMDOCKED: Self = _
Trait Implementations§
source§impl IntUnderlying for SM
impl IntUnderlying for SM
source§impl Ord for SM
impl Ord for SM
source§impl PartialOrd for SM
impl PartialOrd for SM
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 moreimpl Copy for SM
impl Eq for SM
impl NativeConst for SM
impl Send for SM
impl StructuralPartialEq for SM
Auto Trait Implementations§
impl Freeze for SM
impl RefUnwindSafe for SM
impl Sync for SM
impl Unpin for SM
impl UnwindSafe for SM
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