pub struct InstanceHandle { /* private fields */ }Available on Windows only.
Implementations§
Source§impl InstanceHandle
impl InstanceHandle
pub fn from_raw(raw_handle: HINSTANCE) -> Option<InstanceHandle>
pub unsafe fn from_raw_unchecked(raw_handle: HINSTANCE) -> InstanceHandle
pub fn to_raw(handle: Option<InstanceHandle>) -> HINSTANCE
pub fn as_raw(&self) -> HINSTANCE
Trait Implementations§
Source§impl Clone for InstanceHandle
impl Clone for InstanceHandle
Source§fn clone(&self) -> InstanceHandle
fn clone(&self) -> InstanceHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstanceHandle
impl Send for InstanceHandle
impl Sync for InstanceHandle
Auto Trait Implementations§
impl Freeze for InstanceHandle
impl RefUnwindSafe for InstanceHandle
impl Unpin for InstanceHandle
impl UnwindSafe for InstanceHandle
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