[−][src]Struct dxplr::HResult
wrapped around HRESULT
Methods
impl HResult
[src]
pub fn new(inner: Context<HResultKind>) -> HResult
[src]
pub fn kind(&self) -> &HResultKind
[src]
pub fn is_successed(&self) -> bool
[src]
pub fn is_failed(&self) -> bool
[src]
pub fn code(&self) -> HRESULT
[src]
Trait Implementations
impl PartialEq<HResult> for HResult
[src]
impl PartialEq<i32> for HResult
[src]
impl PartialEq<HResultKind> for HResult
[src]
fn eq(&self, other: &HResultKind) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl From<i32> for HResult
[src]
impl From<HResultKind> for HResult
[src]
fn from(kind: HResultKind) -> HResult
[src]
impl From<Context<HResultKind>> for HResult
[src]
fn from(inner: Context<HResultKind>) -> HResult
[src]
impl Debug for HResult
[src]
impl Display for HResult
[src]
impl Fail for HResult
[src]
Auto Trait Implementations
impl Sync for HResult
impl Send for HResult
impl Unpin for HResult
impl !UnwindSafe for HResult
impl !RefUnwindSafe for HResult
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,