/// Helper struct to store a triangle with vertices of any abstract type.
#[derive(Clone, Hash, PartialEq, Eq, Debug)]pubstructTriangle<T:Clone>{pubu: T,
pubv: T,
pubw: T
}impl<T:Clone>Triangle<T>{pubconstfnnew(u: T, v: T, w: T)->Self{Self{ u, v, w }}}