pub fn iter<'a>(&'a self) -> impl Iterator<Item = TDim> + 'a {
        self.shape.clone().into_iter().enumerate().map(move |(ix, d)| {
            if let Some(ref info) = self.stream_info {
                if ix == info.axis {
                    return info.len.clone();
                }
            }
            (d as i64).to_dim()
        })
    }
/// Iterator over dimension of the shape.
Iterator over dimension of the shape.
Iterator over dimension of the shape .
pub fn iter<'a>(&'a self) -> impl Iterator<Item = TDim> + 'a {
        self.shape.clone().into_iter().enumerate().map(move |(ix, d)| {
            if let Some(ref info) = self.stream_info {
                if ix == info.axis {
                    return info.len.clone();
                }
            }
            (d as i64).to_dim()
        })
    }
pub fn iter < ' a > ( & ' a self ) -> impl Iterator < Item = TDim > + ' a { self . shape . clone ( ) . into_iter ( ) . enumerate ( ) . map ( move | ( ix , d ) | { if let Some ( ref info ) = self . stream_info { if ix == info . axis { return info . len . clone ( ) ; } } ( d as i64 ) . to_dim ( ) } ) }
Iterator over dimension of the shape.
Iterator over dimension of the shape .
&'a self