pub trait Double { type Output; // Required method fn double(&self) -> Self::Output; }
Unary operator for retrieving the doubled value.
Returns the double of self.
double
self