#[repr(transparent)]pub struct HRESULT(pub i32);
Expand description
An error code value returned by most COM functions.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
§impl From<RPC_STATUS> for HRESULT
impl From<RPC_STATUS> for HRESULT
§fn from(value: RPC_STATUS) -> Self
fn from(value: RPC_STATUS) -> Self
Converts to this type from the input type.
§impl From<WIN32_ERROR> for HRESULT
impl From<WIN32_ERROR> for HRESULT
§fn from(value: WIN32_ERROR) -> Self
fn from(value: WIN32_ERROR) -> Self
Converts to this type from the input type.
impl Copy for HRESULT
impl Eq for HRESULT
impl StructuralPartialEq for HRESULT
Auto Trait Implementations§
impl RefUnwindSafe for HRESULT
impl Send for HRESULT
impl Sync for HRESULT
impl Unpin for HRESULT
impl UnwindSafe for HRESULT
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