Enum sdl2::ttf::InitError [−][src]
pub enum InitError {
InitializationError(Error),
AlreadyInitializedError,
}Expand description
An error for when sdl2_ttf is attempted initialized twice
Necessary for context management, unless we find a way to have a singleton
Variants
InitializationError(Error)Tuple Fields of InitializationError
0: ErrorTrait 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