rene 0.2.0

Computational geometry.
Documentation
1
2
3
4
5
6
7
8
9
use std::fmt;

use super::types::Point;

impl<Scalar: fmt::Display> fmt::Display for Point<Scalar> {
    fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
        formatter.write_fmt(format_args!("Point({}, {})", self.x, self.y))
    }
}