Struct winresult_types::ErrorHResultOrCode
source · [−]#[repr(transparent)]pub struct ErrorHResultOrCode(_);Expand description
Implementations
Trait Implementations
sourceimpl Clone for ErrorHResultOrCode
impl Clone for ErrorHResultOrCode
sourcefn clone(&self) -> ErrorHResultOrCode
fn clone(&self) -> ErrorHResultOrCode
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
impl Debug for ErrorHResultOrCode
impl Debug for ErrorHResultOrCode
sourceimpl From<ErrorCode> for ErrorHResultOrCode
impl From<ErrorCode> for ErrorHResultOrCode
sourceimpl From<ErrorHResultOrCode> for u32
impl From<ErrorHResultOrCode> for u32
sourcefn from(v: ErrorHResultOrCode) -> Self
fn from(v: ErrorHResultOrCode) -> Self
Performs the conversion.
sourceimpl From<HResultError> for ErrorHResultOrCode
impl From<HResultError> for ErrorHResultOrCode
sourcefn from(v: HResultError) -> Self
fn from(v: HResultError) -> Self
Performs the conversion.
sourceimpl Hash for ErrorHResultOrCode
impl Hash for ErrorHResultOrCode
sourceimpl Ord for ErrorHResultOrCode
impl Ord for ErrorHResultOrCode
sourceimpl PartialEq<ErrorHResultOrCode> for ErrorHResultOrCode
impl PartialEq<ErrorHResultOrCode> for ErrorHResultOrCode
sourcefn eq(&self, other: &ErrorHResultOrCode) -> bool
fn eq(&self, other: &ErrorHResultOrCode) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ErrorHResultOrCode) -> bool
fn ne(&self, other: &ErrorHResultOrCode) -> bool
This method tests for !=.
sourceimpl PartialOrd<ErrorHResultOrCode> for ErrorHResultOrCode
impl PartialOrd<ErrorHResultOrCode> for ErrorHResultOrCode
sourcefn partial_cmp(&self, other: &ErrorHResultOrCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrorHResultOrCode) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for ErrorHResultOrCode
impl Eq for ErrorHResultOrCode
impl StructuralEq for ErrorHResultOrCode
impl StructuralPartialEq for ErrorHResultOrCode
Auto Trait Implementations
impl RefUnwindSafe for ErrorHResultOrCode
impl Send for ErrorHResultOrCode
impl Sync for ErrorHResultOrCode
impl Unpin for ErrorHResultOrCode
impl UnwindSafe for ErrorHResultOrCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more