Struct directwrite::error::DWriteError
source · pub struct DWriteError(pub HRESULT);
Tuple Fields
0: HRESULT
Trait Implementations
sourceimpl Clone for DWriteError
impl Clone for DWriteError
sourcefn clone(&self) -> DWriteError
fn clone(&self) -> DWriteError
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 moresourceimpl Debug for DWriteError
impl Debug for DWriteError
sourceimpl Display for DWriteError
impl Display for DWriteError
sourceimpl Error for DWriteError
impl Error for DWriteError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<i32> for DWriteError
impl From<i32> for DWriteError
sourcefn from(hr: HRESULT) -> DWriteError
fn from(hr: HRESULT) -> DWriteError
Converts to this type from the input type.
impl Copy for DWriteError
Auto Trait Implementations
impl RefUnwindSafe for DWriteError
impl Send for DWriteError
impl Sync for DWriteError
impl Unpin for DWriteError
impl UnwindSafe for DWriteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more