<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A producer of an n-dimensional set of elements; for example an array view, mutable array view or an iterator that yields chunks."><meta name="keywords" content="rust, rustlang, rust-lang, NdProducer"><title>NdProducer in ndarray - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
<link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../ndarray/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Trait NdProducer</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#associated-types">Associated Types</a></h3><div class="sidebar-links"><a href="#associatedtype.Dim">Dim</a><a href="#associatedtype.Item">Item</a></div><h3 class="sidebar-title"><a href="#required-methods">Required Methods</a></h3><div class="sidebar-links"><a href="#tymethod.__private__">__private__</a></div><h3 class="sidebar-title"><a href="#implementors">Implementors</a></h3></div><h2 class="location">Other items in<br><a href="index.html">ndarray</a></h2><div id="sidebar-vars" data-name="NdProducer" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img src="../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img src="../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Trait <a href="index.html">ndarray</a>::<wbr><a class="trait" href="#">NdProducer</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/ndarray/zip/mod.rs.html#139-179" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust trait">pub trait NdProducer {
type <a href="#associatedtype.Item" class="type">Item</a>;
type <a href="#associatedtype.Dim" class="type">Dim</a>: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>;
fn <a href="#tymethod.__private__" class="fnname">__private__</a>(&self) -> PrivateMarker;
}</pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A producer of an n-dimensional set of elements;
for example an array view, mutable array view or an iterator
that yields chunks.</p>
<p>Producers are used as a arguments to <code>Zip</code> and <code>azip!()</code>.</p>
<h1 id="comparison-to-intoiterator" class="section-header"><a href="#comparison-to-intoiterator">Comparison to <code>IntoIterator</code></a></h1>
<p>Most <code>NdProducers</code> are <em>iterable</em> (implement <code>IntoIterator</code>) but not directly
iterators. This separation is needed because the producer represents
a multidimensional set of items, it can be split along a particular axis for
parallelization, and it has no fixed correspondance to a sequence.</p>
<p>The natural exception is one dimensional producers, like <code>AxisIter</code>, which
implement <code>Iterator</code> directly
(<code>AxisIter</code> traverses a one dimensional sequence, along an axis, while
<em>producing</em> multidimensional items).</p>
<p>See also <a href="trait.IntoNdProducer.html"><code>IntoNdProducer</code></a></p>
</div></details><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Item" class="method has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a></h4><a class="srclink" href="../src/ndarray/zip/mod.rs.html#141" title="goto source code">[src]</a></div></summary><div class="docblock"><p>The element produced per iteration.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="associatedtype.Dim" class="method has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a>: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a></h4><a class="srclink" href="../src/ndarray/zip/mod.rs.html#144" title="goto source code">[src]</a></div></summary><div class="docblock"><p>Dimension type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.__private__" class="method has-srclink"><h4 class="code-header">fn <a href="#tymethod.__private__" class="fnname">__private__</a>(&self) -> PrivateMarker</h4><a class="srclink" href="../src/ndarray/zip/mod.rs.html#178" title="goto source code">[src]</a></div></summary><div class="docblock"><p>This trait is private to implement; this method exists to make it
impossible to implement outside the crate.</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.AxisIter.html" title="struct ndarray::iter::AxisIter">AxisIter</a><'a, A, D></h3><a href="#impl-NdProducer" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/mod.rs.html#892-937" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <Self as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a></h4><a href="#associatedtype.Item-1" class="anchor"></a></div><div id="associatedtype.Dim-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = <a class="type" href="type.Ix1.html" title="type ndarray::Ix1">Ix1</a></h4><a href="#associatedtype.Dim-1" class="anchor"></a></div><div id="associatedtype.Ptr" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr" class="anchor"></a></div><div id="associatedtype.Stride" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride" class="anchor"></a></div><div id="method.contiguous_stride" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="#method.contiguous_stride" class="fnname">contiguous_stride</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#method.contiguous_stride" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/mod.rs.html#912-914" title="goto source code">[src]</a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-1" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.AxisIterMut.html" title="struct ndarray::iter::AxisIterMut">AxisIterMut</a><'a, A, D></h3><a href="#impl-NdProducer-1" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/mod.rs.html#939-984" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-2" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <Self as <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/1.54.0/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a></h4><a href="#associatedtype.Item-2" class="anchor"></a></div><div id="associatedtype.Dim-2" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = <a class="type" href="type.Ix1.html" title="type ndarray::Ix1">Ix1</a></h4><a href="#associatedtype.Dim-2" class="anchor"></a></div><div id="associatedtype.Ptr-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-1" class="anchor"></a></div><div id="associatedtype.Stride-1" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-1" class="anchor"></a></div><div id="method.contiguous_stride-1" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="#method.contiguous_stride-1" class="fnname">contiguous_stride</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#method.contiguous_stride-1" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/mod.rs.html#959-961" title="goto source code">[src]</a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-2" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.ExactChunks.html" title="struct ndarray::iter::ExactChunks">ExactChunks</a><'a, A, D></h3><a href="#impl-NdProducer-2" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/chunks.rs.html#8-25" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-3" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="type" href="type.ArrayView.html" title="type ndarray::ArrayView">ArrayView</a><'a, A, D></h4><a href="#associatedtype.Item-3" class="anchor"></a></div><div id="associatedtype.Dim-3" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-3" class="anchor"></a></div><div id="associatedtype.Ptr-2" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-2" class="anchor"></a></div><div id="associatedtype.Stride-2" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-2" class="anchor"></a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-3" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.ExactChunksMut.html" title="struct ndarray::iter::ExactChunksMut">ExactChunksMut</a><'a, A, D></h3><a href="#impl-NdProducer-3" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/chunks.rs.html#89-107" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-4" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="type" href="type.ArrayViewMut.html" title="type ndarray::ArrayViewMut">ArrayViewMut</a><'a, A, D></h4><a href="#associatedtype.Item-4" class="anchor"></a></div><div id="associatedtype.Dim-4" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-4" class="anchor"></a></div><div id="associatedtype.Ptr-3" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-3" class="anchor"></a></div><div id="associatedtype.Stride-3" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-3" class="anchor"></a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-4" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.Lanes.html" title="struct ndarray::iter::Lanes">Lanes</a><'a, A, D></h3><a href="#impl-NdProducer-4" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/lanes.rs.html#7-23" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-5" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="type" href="type.ArrayView.html" title="type ndarray::ArrayView">ArrayView</a><'a, A, <a class="type" href="type.Ix1.html" title="type ndarray::Ix1">Ix1</a>></h4><a href="#associatedtype.Item-5" class="anchor"></a></div><div id="associatedtype.Dim-5" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-5" class="anchor"></a></div><div id="associatedtype.Ptr-4" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-4" class="anchor"></a></div><div id="associatedtype.Stride-4" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-4" class="anchor"></a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-5" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.LanesMut.html" title="struct ndarray::iter::LanesMut">LanesMut</a><'a, A, D></h3><a href="#impl-NdProducer-5" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/lanes.rs.html#59-75" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-6" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="type" href="type.ArrayViewMut.html" title="type ndarray::ArrayViewMut">ArrayViewMut</a><'a, A, <a class="type" href="type.Ix1.html" title="type ndarray::Ix1">Ix1</a>></h4><a href="#associatedtype.Item-6" class="anchor"></a></div><div id="associatedtype.Dim-6" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-6" class="anchor"></a></div><div id="associatedtype.Ptr-5" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-5" class="anchor"></a></div><div id="associatedtype.Stride-5" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-5" class="anchor"></a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-6" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.Windows.html" title="struct ndarray::iter::Windows">Windows</a><'a, A, D></h3><a href="#impl-NdProducer-6" class="anchor"></a><a class="srclink" href="../src/ndarray/iterators/windows.rs.html#46-63" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-7" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="type" href="type.ArrayView.html" title="type ndarray::ArrayView">ArrayView</a><'a, A, D></h4><a href="#associatedtype.Item-7" class="anchor"></a></div><div id="associatedtype.Dim-7" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-7" class="anchor"></a></div><div id="associatedtype.Ptr-6" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-6" class="anchor"></a></div><div id="associatedtype.Stride-6" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-6" class="anchor"></a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-7" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="type" href="type.ArrayView.html" title="type ndarray::ArrayView">ArrayView</a><'a, A, D></h3><a href="#impl-NdProducer-7" class="anchor"></a><a class="srclink" href="../src/ndarray/zip/mod.rs.html#276-326" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-8" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a </a>A</h4><a href="#associatedtype.Item-8" class="anchor"></a></div><div id="associatedtype.Dim-8" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-8" class="anchor"></a></div><div id="associatedtype.Ptr-7" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-7" class="anchor"></a></div><div id="associatedtype.Stride-7" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-7" class="anchor"></a></div><div id="method.contiguous_stride-2" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="#method.contiguous_stride-2" class="fnname">contiguous_stride</a>(&self) -> Self::<a class="type" href="trait.NdProducer.html#associatedtype.Stride" title="type ndarray::NdProducer::Stride">Stride</a></h4><a href="#method.contiguous_stride-2" class="anchor"></a><a class="srclink" href="../src/ndarray/zip/mod.rs.html#320" title="goto source code">[src]</a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-8" class="impl has-srclink"><h3 class="code-header in-band">impl<'a, A, D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="type" href="type.ArrayViewMut.html" title="type ndarray::ArrayViewMut">ArrayViewMut</a><'a, A, D></h3><a href="#impl-NdProducer-8" class="anchor"></a><a class="srclink" href="../src/ndarray/zip/mod.rs.html#328-377" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-9" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.reference.html">&'a mut </a>A</h4><a href="#associatedtype.Item-9" class="anchor"></a></div><div id="associatedtype.Dim-9" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-9" class="anchor"></a></div><div id="associatedtype.Ptr-8" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.pointer.html">*mut A</a></h4><a href="#associatedtype.Ptr-8" class="anchor"></a></div><div id="associatedtype.Stride-8" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.isize.html">isize</a></h4><a href="#associatedtype.Stride-8" class="anchor"></a></div><div id="method.contiguous_stride-3" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="#method.contiguous_stride-3" class="fnname">contiguous_stride</a>(&self) -> Self::<a class="type" href="trait.NdProducer.html#associatedtype.Stride" title="type ndarray::NdProducer::Stride">Stride</a></h4><a href="#method.contiguous_stride-3" class="anchor"></a><a class="srclink" href="../src/ndarray/zip/mod.rs.html#371" title="goto source code">[src]</a></div></div></details><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-NdProducer-9" class="impl has-srclink"><h3 class="code-header in-band">impl<D: <a class="trait" href="trait.Dimension.html" title="trait ndarray::Dimension">Dimension</a> + <a class="trait" href="https://doc.rust-lang.org/1.54.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>> <a class="trait" href="trait.NdProducer.html" title="trait ndarray::NdProducer">NdProducer</a> for <a class="struct" href="iter/struct.Indices.html" title="struct ndarray::iter::Indices">Indices</a><D></h3><a href="#impl-NdProducer-9" class="anchor"></a><a class="srclink" href="../src/ndarray/indexes.rs.html#128-197" title="goto source code">[src]</a></div></summary><div class="impl-items"><div id="associatedtype.Item-10" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Item" class="type">Item</a> = D::<a class="type" href="trait.Dimension.html#associatedtype.Pattern" title="type ndarray::Dimension::Pattern">Pattern</a></h4><a href="#associatedtype.Item-10" class="anchor"></a></div><div id="associatedtype.Dim-10" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Dim" class="type">Dim</a> = D</h4><a href="#associatedtype.Dim-10" class="anchor"></a></div><div id="associatedtype.Ptr-9" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Ptr" class="type">Ptr</a> = IndexPtr<D></h4><a href="#associatedtype.Ptr-9" class="anchor"></a></div><div id="associatedtype.Stride-9" class="type trait-impl has-srclink"><h4 class="code-header">type <a href="#associatedtype.Stride" class="type">Stride</a> = <a class="primitive" href="https://doc.rust-lang.org/1.54.0/std/primitive.usize.html">usize</a></h4><a href="#associatedtype.Stride-9" class="anchor"></a></div><div id="method.contiguous_stride-4" class="method trait-impl has-srclink"><h4 class="code-header">fn <a href="#method.contiguous_stride-4" class="fnname">contiguous_stride</a>(&self) -> Self::<a class="type" href="trait.NdProducer.html#associatedtype.Stride" title="type ndarray::NdProducer::Stride">Stride</a></h4><a href="#method.contiguous_stride-4" class="anchor"></a><a class="srclink" href="../src/ndarray/indexes.rs.html#180" title="goto source code">[src]</a></div></div></details></div><script type="text/javascript" src="../implementors/ndarray/trait.NdProducer.js" async></script></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="ndarray" data-search-index-js="../search-index.js" data-search-js="../search.js"></div><script src="../main.js"></script></body></html>