Trait Counter

Source
pub trait Counter:
    Sealed
    + CounterArithmetic
    + CounterBasic { }
Expand description

The Counter trait simplifies the use of Multiset with generics. This trait is sealed and not implementable outside of this crate.

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.

Implementations on Foreign Types§

Source§

impl Counter for u8

Source§

impl Counter for u16

Source§

impl Counter for u32

Source§

impl Counter for u64

Source§

impl Counter for usize

Implementors§