singleton_stream

Function singleton_stream 

Source
pub fn singleton_stream<T>(val: T) -> Stream<T>
where T: 'static,
Expand description

Return a stream consisting of exactly one element and inifinite tail.