pub struct WH(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HHOOK::CallNextHookEx
code
and
HHOOK::SetWindowsHookEx
hook_id
(i32
).
Implementations§
source§impl WH
impl WH
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 WH
impl WH
pub const MSGFILTER: Self = _
pub const JOURNALRECORD: Self = _
pub const JOURNALPLAYBACK: Self = _
pub const KEYBOARD: Self = _
pub const GETMESSAGE: Self = _
pub const CALLWNDPROC: Self = _
pub const CBT: Self = _
pub const SYSMSGFILTER: Self = _
pub const MOUSE: Self = _
pub const DEBUG: Self = _
pub const SHELL: Self = _
pub const FOREGROUNDIDLE: Self = _
pub const CALLWNDPROCRET: Self = _
pub const KEYBOARD_LL: Self = _
pub const MOUSE_LL: Self = _
Trait Implementations§
source§impl IntUnderlying for WH
impl IntUnderlying for WH
source§impl Ord for WH
impl Ord for WH
source§impl PartialOrd for WH
impl PartialOrd for WH
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 WH
impl Eq for WH
impl NativeConst for WH
impl Send for WH
impl StructuralPartialEq for WH
Auto Trait Implementations§
impl Freeze for WH
impl RefUnwindSafe for WH
impl Sync for WH
impl Unpin for WH
impl UnwindSafe for WH
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