pub struct SWP(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HWND::SetWindowPos
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl SWP
impl SWP
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 SWP
impl SWP
pub const NOSIZE: Self
pub const NOMOVE: Self
pub const NOZORDER: Self
pub const NOREDRAW: Self
pub const NOACTIVATE: Self
pub const FRAMECHANGED: Self
pub const SHOWWINDOW: Self
pub const HIDEWINDOW: Self
pub const NOCOPYBITS: Self
pub const NOOWNERZORDER: Self
pub const NOSENDCHANGING: Self
pub const DRAWFRAME: Self
pub const NOREPOSITION: Self
pub const DEFERERASE: Self
pub const ASYNCWINDOWPOS: Self
Trait Implementations§
Source§impl BitAndAssign for SWP
impl BitAndAssign for SWP
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moreSource§impl BitOrAssign for SWP
impl BitOrAssign for SWP
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moreSource§impl BitXorAssign for SWP
impl BitXorAssign for SWP
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moreSource§impl Ord for SWP
impl Ord for SWP
Source§impl PartialOrd for SWP
impl PartialOrd for SWP
impl Copy for SWP
impl Eq for SWP
impl StructuralPartialEq for SWP
Auto Trait Implementations§
impl Freeze for SWP
impl RefUnwindSafe for SWP
impl Send for SWP
impl Sync for SWP
impl Unpin for SWP
impl UnwindSafe for SWP
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