pub trait OrdOffset: Copy + PartialEq + Add<Output = Self> + Sub<Output = Self> + TryFrom<usize> + TryInto<usize> { }
Expand description

Trait for types used as offsets into an ordered layer. This is usually usize, but u32 can also be used in applications where huge batches do not occur to reduce metadata size.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O> OrdOffset for Owhere O: Copy + PartialEq + Add<Output = Self> + Sub<Output = Self> + TryFrom<usize> + TryInto<usize>,