1 2 3 4 5 6 7 8
use std::ops::AddAssign; pub struct Int(pub i32); impl AddAssign<i32> for Int { fn add_assign(&mut self, _: i32) { } }