Enum sdl2_ttf::InitError [] [src]

pub enum InitError {
    InitializationError(Error),
    AlreadyInitializedError,
}

An error for when sdl2_ttf is attempted initialized twice Necessary for context management, unless we find a way to have a singleton

Variants

Trait Implementations

impl Debug for InitError
[src]

Formats the value using the given formatter.

impl Error for InitError
[src]

A short description of the error. Read more

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

impl Display for InitError
[src]

Formats the value using the given formatter. Read more