[−][src]Crate texel_types
Structs
BoundsIntoIterator | Bounds iterator that returns Position2D elements contained in given area |
Dimension | 2D dimension of up to 16bit size |
Position | 3D position |
Position2D | 2D position |
SceneV1 | Current scene version == V1 |
Sprite | Sprite represents a 2D ASCII art picture with frame animation |
Texel | Base building block, "textual pixel" consisting of coordinates, symbol, styles and colors |
Enums
Bounds | Two dimensional boundary consisting of |
ColorMode | ColorMode enum for background/foreground selection |
Direction | Describes a direction |
Scene | Scene is the final serialization artifact for texel_types. As such it needs to be versioned explicitly so it can be known which version of the serialized scene we're deserializing from files. This enum wrapper will hold any version of the scene object to provide forward compatibility. |
SymbolStyle | Symbol styles enum |
Translation | Describes the translation operation |
Which | Generic "which" selector for selections etc. |
Constants
DEFAULT_BG_U8 | Default background color for sprites |
DEFAULT_FG_U8 | Default foreground color for sprites |
SPRITE_MAX_BYTES | 256 * 256 ascii chars maximum |
Type Definitions
SymbolStyles | Set of |
Texels | Vector of Texels |