Function std::iter::once [] [src]

pub fn once<T>(value: T) -> Once<T>

Creates an iterator that yields an element exactly once.