pub struct GWLP(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HWND::GetWindowLongPtr
and
HWND::SetWindowLongPtr
index
(i32
).
Originally has prefixes GWL
, GWLP
, DWL
and DWLP
.
Implementations§
Source§impl GWLP
impl GWLP
Sourcepub const unsafe fn as_mut(&mut self) -> &mut i32
pub const unsafe fn as_mut(&mut self) -> &mut i32
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: 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 GWLP
impl GWLP
pub const WNDPROC: Self
pub const HINSTANCE: Self
pub const HWNDPARENT: Self
pub const ID: Self
pub const STYLE: Self
pub const EXSTYLE: Self
pub const USERDATA: Self
pub const DWLP_MSGRESULT: Self
pub const DWLP_DLGPROC: Self
pub const DWLP_USER: Self
Trait Implementations§
Source§impl Ord for GWLP
impl Ord for GWLP
Source§impl PartialOrd for GWLP
impl PartialOrd for GWLP
impl Copy for GWLP
impl Eq for GWLP
impl StructuralPartialEq for GWLP
Auto Trait Implementations§
impl Freeze for GWLP
impl RefUnwindSafe for GWLP
impl Send for GWLP
impl Sync for GWLP
impl Unpin for GWLP
impl UnwindSafe for GWLP
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