Rust 2d Point

Apollo 5776731e72 Pythagorean Theorem for Point.distance 1 mēnesi atpakaļ
examples ff9375424e Point.distance needs to be properly designed 1 mēnesi atpakaļ
src e07c18dde8 Implemented mathmatics for distance 1 mēnesi atpakaļ
.gitignore 5caa67c546 v0.1.0 basic i64 Point 2 mēneši atpakaļ
Cargo.lock 5776731e72 Pythagorean Theorem for Point.distance 1 mēnesi atpakaļ
Cargo.toml 5776731e72 Pythagorean Theorem for Point.distance 1 mēnesi atpakaļ
LICENSE 5caa67c546 v0.1.0 basic i64 Point 2 mēneši atpakaļ
README.md 9ca4a3450f Released v0.1.4 'Option<serde>' 1 mēnesi atpakaļ

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)