1 2 3 4 5 6 7 8 9 10 11
use super::*; impl<T> Line3D<T> { /// Construct new line pub fn new<P>(start: P, end: P) -> Self where Point3D<T>: From<P>, { Self { start: start.into(), end: end.into() } } }