Rust 2d Point

Apollo 5776731e72 Pythagorean Theorem for Point.distance vor 4 Wochen
examples ff9375424e Point.distance needs to be properly designed vor 1 Monat
src e07c18dde8 Implemented mathmatics for distance vor 4 Wochen
.gitignore 5caa67c546 v0.1.0 basic i64 Point vor 1 Monat
Cargo.lock 5776731e72 Pythagorean Theorem for Point.distance vor 4 Wochen
Cargo.toml 5776731e72 Pythagorean Theorem for Point.distance vor 4 Wochen
LICENSE 5caa67c546 v0.1.0 basic i64 Point vor 1 Monat
README.md 9ca4a3450f Released v0.1.4 'Option<serde>' vor 1 Monat

README.md

Point

Rust 2d Point

Features

  • Arithmetics overloaded (+, -, *, /, and % and their Assign friends (i.e. +=, -=))
  • Point-likes handled (Point can handle (T, T) as Point-likes)
  • Tested (Striving for 100% test coverage)
  • Great for simple 2 dimension environments (where (1, 1) to (3, 3) has a distance of 2 or (2, 2))
  • serde supported *
  • Uses anyhow::Error for the TryFrom<String> implementation

* This is hidden behind the serde feature (This feature didn't work under v0.1.1-v0.1.3, it was fixed in v0.1.4)