Enum sdl2::ttf::FontError [−][src]
Expand description
A font-related error.
Variants
InvalidLatin1Text(NulError)A Latin-1 encoded byte string is invalid.
Tuple Fields of InvalidLatin1Text
0: NulErrorSdlError(String)A SDL2-related error occured.
Tuple Fields of SdlError
0: StringTrait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for FontError
impl UnwindSafe for FontError
Blanket Implementations
Mutably borrows from an owned value. Read more