Trait itertools::adaptors::coalesce::CountItem

source ·
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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> CountItem<T> for NoCount

source§

type CItem = T

source§

impl<T> CountItem<T> for WithCount

source§

type CItem = (usize, T)