pub struct AtlThunk { /* private fields */ }Expand description
Rust wrapper of ATL thunk type. It is used as a window procedure with associated data.
Implementations§
source§impl AtlThunk
impl AtlThunk
sourcepub fn try_new(
procedure: unsafe extern "system" fn(_: usize, _: u32, _: WPARAM, _: LPARAM) -> LRESULT,
first_parameter: usize,
) -> Result<Self>
pub fn try_new( procedure: unsafe extern "system" fn(_: usize, _: u32, _: WPARAM, _: LPARAM) -> LRESULT, first_parameter: usize, ) -> Result<Self>
Creates a new AtlThunk object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AtlThunk
impl RefUnwindSafe for AtlThunk
impl Unpin for AtlThunk
impl UnwindSafe for AtlThunk
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