pub fn from<T>(name: &'static str, iter: T) -> Self
    where
        T: IteratorTrait,
    {
        Self {
            iter: IterRepr::Iterator(Box::new(IteratorObj { name, iter })),
        }
    }
/// Construct a new owning iterator.
///
/// The name is only intended to identify the iterator in case of errors.
Construct a new owning iterator.
The name is only intended to identify the iterator in case of errors.
Construct a new owning iterator . The name is only intended to identify the iterator in case of errors .
pub fn from<T>(name: &'static str, iter: T) -> Self
    where
        T: IteratorTrait,
    {
        Self {
            iter: IterRepr::Iterator(Box::new(IteratorObj { name, iter })),
        }
    }
pub fn from < T > ( name : & ' static str , iter : T ) -> Self where T : IteratorTrait , { Self { iter : IterRepr :: Iterator ( Box :: new ( IteratorObj { name , iter } ) ) , } }
Construct a new owning iterator.
Construct a new owning iterator .
name
&'static str
iter
T
name
&'static str
iter
T