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