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 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 IntUnderlying for GWLP
impl IntUnderlying for GWLP
source§impl Ord for GWLP
impl Ord for GWLP
source§impl PartialEq for GWLP
impl PartialEq for GWLP
source§impl PartialOrd for GWLP
impl PartialOrd for GWLP
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 GWLP
impl Eq for GWLP
impl NativeConst for GWLP
impl Send for GWLP
impl StructuralPartialEq for GWLP
Auto Trait Implementations§
impl Freeze for GWLP
impl RefUnwindSafe 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