Function once

Source
pub fn once<T>(value: T) -> Once<T>
where T: Clone,
Expand description

Creates an iterable which yields only one value.