Lex Library
Simple library with miscellaneous stuff for rust development.
Vector2(generic) for all primitives compatible with egui as a feature.
Color module with RGB and RGBA structs that can be parsed from strings compatible with egui and sdl2 as features.
SemVer struct to store/compare semantic versions.
Really simple Timer.
will be adding stuff as needed!
Changelog
0.7.1
- Timer.new() now is a const function.
- RGB(A) can be easily be converted into sdl2::pixel::Color.
0.7.0
- Removed Vec2generic, as it is useless.
- 2 new colors in RGB.
0.6.0
- New Vector2 as generic for all primitives types and compatible ones.
0.5.1
- impl Display trait for color::ColorParseError
- derive PartialEq, Copy and Clone for color::ColorParseError
0.5.0
feature egui
- from for Vector2s
- from for egui::Vec2
- from for RGB(A)
- from
color module
- Color trait
- RGB struct
- RGBA struct
- Contant Colors in RGB and RGBA