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 as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 Ord for SC
impl Ord for SC
Source§impl PartialOrd for SC
impl PartialOrd for SC
impl Copy for SC
impl Eq for SC
impl StructuralPartialEq for SC
Auto Trait Implementations§
impl Freeze for SC
impl RefUnwindSafe for SC
impl Send 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