itertools::adaptors::coalesce

Trait 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

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> CountItem<T> for NoCount

Source§

type CItem = T

Source§

impl<T> CountItem<T> for WithCount

Source§

type CItem = (usize, T)