pub trait Atomic<N> { // Required methods fn inc(&self) -> N; fn inc_by(&self, v: N) -> N; fn get(&self) -> N; }