lexlib 0.7.4

Library with miscellaneous stuff for rust development.
Documentation

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.4

  • updated egui version to 0.21

0.7.3

  • Timer::done() now implicitly calls Timer::update().
  • new Timer::finished() that returns true if timer is zero/done.

0.7.2

  • reprC feature, allows to safely use structs that specify it with C code, read the description of a struct to know if it implements this!.

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.