pub struct Triangle {}
source
Returns all coordinates that the shape occupies. Assume that you start at coordinate x: 0, y: 0.
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U
value