1 2 3 4 5 6 7 8 9
library; pub trait Add { fn add(self, other: Self) -> Self; } pub trait Subtract { fn subtract(self, other: Self) -> Self; }