pub struct HRSRC(/* private fields */);
Available on crate feature
kernel
only.Expand description
Handle to a
resource.
Originally just a HANDLE
.
For an example, see
HINSTANCE::LockResource
.
Trait Implementations§
source§impl Handle for HRSRC
impl Handle for HRSRC
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates a new handle object by wrapping a pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference to the underlying raw pointer. Read more
source§impl PartialEq for HRSRC
impl PartialEq for HRSRC
impl Eq for HRSRC
impl Send for HRSRC
impl StructuralPartialEq for HRSRC
Auto Trait Implementations§
impl Freeze for HRSRC
impl RefUnwindSafe for HRSRC
impl !Sync for HRSRC
impl Unpin for HRSRC
impl UnwindSafe for HRSRC
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