pub fn from_double_ended<T>(name: &'static str, iter: T) -> Self
    where
        T: DoubleEndedIteratorTrait,
    {
        Self {
            iter: IterRepr::DoubleEndedIterator(Box::new(IteratorObj { name, iter })),
        }
    }
/// Construct a new double-ended owning iterator, with a human-readable
/// name.
///
/// The name is only intended to identify the iterator in case of errors.
Construct a new double-ended owning iterator, with a human-readable
name.

The name is only intended to identify the iterator in case of errors.
Construct a new double - ended owning iterator with a human - readable name . The name is only intended to identify the iterator in case of errors .
pub fn from_double_ended<T>(name: &'static str, iter: T) -> Self
    where
        T: DoubleEndedIteratorTrait,
    {
        Self {
            iter: IterRepr::DoubleEndedIterator(Box::new(IteratorObj { name, iter })),
        }
    }
pub fn from_double_ended < T > ( name : & ' static str , iter : T ) -> Self where T : DoubleEndedIteratorTrait , { Self { iter : IterRepr :: DoubleEndedIterator ( Box :: new ( IteratorObj { name , iter } ) ) , } }
Construct a new double-ended owning iterator, with a human-readable
name.
Construct a new double - ended owning iterator with a human - readable name .
name
&'static str
iter
T
name
&'static str
iter
T