pub trait SimpleMath {
    fn half(&self) -> Self;
fn double(&self) -> Self; }

Required methods

Divides by 2 and rounds down

Multiplies by 2

Implementors