Skip to main content

box_once

Function box_once 

Source
pub fn box_once<'a, T: 'a>(x: T) -> BoxIter<'a, T>
Expand description

Return a boxed iterator that yields a single element.