Function dvcompute::simulation::stream::singleton_stream [−][src]
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.