Trait itertools::intersperse::IntersperseElement

source ·
pub trait IntersperseElement<Item> {
    // Required method
    fn generate(&mut self) -> Item;
}

Required Methods§

source

fn generate(&mut self) -> Item

Implementors§

source§

impl<Item, F: FnMut() -> Item> IntersperseElement<Item> for F

source§

impl<Item: Clone> IntersperseElement<Item> for IntersperseElementSimple<Item>