Enum nanovg::ImageBuilderError[][src]

pub enum ImageBuilderError {
    CStringError,
    CreateImageFailed,
    NotEnoughData,
}

Variants

The path for build_from_file could not be converted to a c-string.

The call to nvgCreateImage, or similar functions, failed.

For from_rgba, the passed data slice does not contain enough data for the specified image size.

Trait Implementations

impl Clone for ImageBuilderError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ImageBuilderError
[src]

impl Debug for ImageBuilderError
[src]

Formats the value using the given formatter. Read more

impl From<NulError> for ImageBuilderError
[src]

Performs the conversion.

Auto Trait Implementations