pub trait CountItem<T> {
    type CItem;

    // Required method
    fn new(t: T) -> Self::CItem;
}

Required Associated Types§

Required Methods§

source

fn new(t: T) -> Self::CItem

Implementors§

source§

impl<T> CountItem<T> for NoCount

§

type CItem = T

source§

impl<T> CountItem<T> for WithCount

§

type CItem = (usize, T)