Struct winsafe::guard::ReleaseCaptureGuard
source · pub struct ReleaseCaptureGuard<'a, H>where
H: user_Hwnd,{ /* private fields */ }
Available on crate features
kernel
and user
only.Expand description
RAII implementation for HWND
which automatically calls
ReleaseCapture
when the object goes out of scope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, H> RefUnwindSafe for ReleaseCaptureGuard<'a, H>where
H: RefUnwindSafe,
impl<'a, H> Send for ReleaseCaptureGuard<'a, H>where
H: Sync,
impl<'a, H> !Sync for ReleaseCaptureGuard<'a, H>
impl<'a, H> Unpin for ReleaseCaptureGuard<'a, H>
impl<'a, H> UnwindSafe for ReleaseCaptureGuard<'a, H>where
H: RefUnwindSafe,
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