Skip to main content

repeat

Function repeat 

Source
pub const fn repeat<Item>(item: Item) -> Repeat<Item>
where Item: Clone,
Expand description

Creates a pull that yields clones of the given item forever.