Trait finality_grandpa::BlockNumberOps

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

Arithmetic necessary for a block number.

Object Safety§

This trait is not object safe.

Implementors§

source§

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