Docs.rs
sext-0.1.1
sext 0.1.1
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
floppydiskette
Dependencies
env_logger ^0.9.1
normal
fontdue ^0.7.2
normal
log ^0.4.17
normal
Versions
36.36%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
sext
0.1.1
All Items
Crate Items
Modules
Structs
Enums
Traits
Crate
sext
Copy item path
Source
Modules
§
colours
Structs
§
Text
Renderer
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
§
Text
Renderer
Error
Enum for the different (1) possible errors that you could get while constructing a TextRenderer.
Traits
§
Drawable
Surface
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.