pub struct GCLP(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HWND::GetClassLongPtr
index
(i32
).
Originally has GCW
and GCL
prefixes.
Implementations§
source§impl GCLP
impl GCLP
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 GCLP
impl GCLP
pub const ATOM: Self = _
pub const CBWNDEXTRA: Self = _
pub const CBCLSEXTRA: Self = _
pub const MENUNAME: Self = _
pub const HBRBACKGROUND: Self = _
pub const HCURSOR: Self = _
pub const HICON: Self = _
pub const HMODULE: Self = _
pub const WNDPROC: Self = _
pub const HICONSM: Self = _
Trait Implementations§
source§impl IntUnderlying for GCLP
impl IntUnderlying for GCLP
source§impl PartialEq for GCLP
impl PartialEq for GCLP
impl Copy for GCLP
impl Eq for GCLP
impl NativeConst for GCLP
impl Send for GCLP
impl StructuralPartialEq for GCLP
Auto Trait Implementations§
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