Enum sdl2_ttf::FontError
[−]
[src]
pub enum FontError { InvalidLatin1Text(NulError), SdlError(ErrorMessage), }
A font-related error.
Variants
InvalidLatin1Text(NulError)
A Latin-1 encoded byte string is invalid.
SdlError(ErrorMessage)
A SDL2-related error occured.
Trait Implementations
impl Debug for FontError
[src]
impl Error for FontError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause<'a>(&'a self) -> Option<&'a Error>
The lower-level cause of this error, if any. Read more