Enum direct2d::error::D2D1Error
[−]
[src]
pub enum D2D1Error { MissingLibrary, UnknownEnumValue, ComError(HRESULT), }
Variants
MissingLibrary
May be caused if you try to run this on an older version of windows
UnknownEnumValue
A Direct2D API returned an enum value that this abstraction doesn't know about
ComError(HRESULT)
Any other HRESULT error
Trait Implementations
impl Clone for D2D1Error
[src]
fn clone(&self) -> D2D1Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for D2D1Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for D2D1Error
[src]
fn eq(&self, __arg_0: &D2D1Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &D2D1Error) -> bool
[src]
This method tests for !=
.