Struct raw_window_handle::Win32Handle
source · [−]Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.hwnd: *mut c_void
A Win32 HWND
handle.
hinstance: *mut c_void
The HINSTANCE
associated with this type’s HWND
.
Implementations
sourceimpl Win32Handle
impl Win32Handle
Trait Implementations
sourceimpl Clone for Win32Handle
impl Clone for Win32Handle
sourcefn clone(&self) -> Win32Handle
fn clone(&self) -> Win32Handle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Win32Handle
impl Debug for Win32Handle
sourceimpl Hash for Win32Handle
impl Hash for Win32Handle
sourceimpl PartialEq<Win32Handle> for Win32Handle
impl PartialEq<Win32Handle> for Win32Handle
sourcefn eq(&self, other: &Win32Handle) -> bool
fn eq(&self, other: &Win32Handle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Win32Handle) -> bool
fn ne(&self, other: &Win32Handle) -> bool
This method tests for !=
.
impl Copy for Win32Handle
impl Eq for Win32Handle
impl StructuralEq for Win32Handle
impl StructuralPartialEq for Win32Handle
Auto Trait Implementations
impl RefUnwindSafe for Win32Handle
impl !Send for Win32Handle
impl !Sync for Win32Handle
impl Unpin for Win32Handle
impl UnwindSafe for Win32Handle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more