Trait Countable

Source
pub trait Countable: AtLeast8BitUnsigned + RuntimeNum { }
Expand description

Unsigned, low-precision quantity for user-scale counts and limits.

Represents small non-negative values (indices, limits, pagination, etc.) while inheriting determinism, compact encoding, and bounded persistence guarantees from RuntimeNum.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> Countable for T
where T: AtLeast8BitUnsigned + RuntimeNum,