Enum direct2d::error::D2D1Error [] [src]

pub enum D2D1Error {
    MissingLibrary,
    UnknownEnumValue,
    ComError(HRESULT),
}

Variants

May be caused if you try to run this on an older version of windows

A Direct2D API returned an enum value that this abstraction doesn't know about

Any other HRESULT error

Trait Implementations

impl Clone for D2D1Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for D2D1Error
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for D2D1Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<HRESULT> for D2D1Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for D2D1Error

impl Sync for D2D1Error