Enum nannou::ui::text::font::Error[][src]

pub enum Error {
    IO(Error),
    NoFont,
}

Returned when loading new fonts from file or bytes.

Variants

Some error occurred while loading a FontCollection from a file.

No Fonts could be yielded from the FontCollection.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error