pub trait BlockNumberOps: Debug + Ord + Add<Self, Output = Self> + Sub<Self, Output = Self> + One + Zero + AsPrimitive<usize> { }
Expand description

Arithmetic necessary for a block number.

Implementors§

§

impl<T> BlockNumberOps for Twhere T: Ord + Add<T, Output = T> + Sub<T, Output = T> + Debug + One + Zero + AsPrimitive<usize>,