Crate sext

Source

Modules§

colours

Structs§

TextRenderer
The main text renderer struct, which holds a single font and its cache. Try not to clone this as it may end up containing a large amount of data. Instead, you might want to wrap this in an Arc or some other pointer type.

Enums§

TextRendererError
Enum for the different (1) possible errors that you could get while constructing a TextRenderer.

Traits§

DrawableSurface
A “surface” that you can draw pixels to. Historically, this was an SDL2 surface, but it has been abstracted out to allow for other backends.