pub struct SC(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::SysCommand
type of system command
requested (u32
).
Implementations§
source§impl SC
impl SC
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 SC
impl SC
pub const CLOSE: Self = _
pub const CONTEXTHELP: Self = _
pub const DEFAULT: Self = _
pub const HOTKEY: Self = _
pub const HSCROLL: Self = _
pub const ISSECURE: Self = _
pub const KEYMENU: Self = _
pub const MAXIMIZE: Self = _
pub const MINIMIZE: Self = _
pub const MONITORPOWER: Self = _
pub const MOUSEMENU: Self = _
pub const MOVE: Self = _
pub const NEXTWINDOW: Self = _
pub const PREVWINDOW: Self = _
pub const RESTORE: Self = _
pub const SCREENSAVE: Self = _
pub const SIZE: Self = _
pub const TASKLIST: Self = _
pub const VSCROLL: Self = _
Trait Implementations§
source§impl IntUnderlying for SC
impl IntUnderlying for SC
source§impl Ord for SC
impl Ord for SC
source§impl PartialOrd for SC
impl PartialOrd for SC
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 SC
impl Eq for SC
impl NativeConst for SC
impl Send for SC
impl StructuralPartialEq for SC
Auto Trait Implementations§
impl Freeze for SC
impl RefUnwindSafe for SC
impl Sync for SC
impl Unpin for SC
impl UnwindSafe for SC
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