@@ -282,11 +282,11 @@ <h5 id="safety-1"><a class="doc-anchor" href="#safety-1">§</a>Safety</h5>
282282 C: Coerce + < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/fmt/trait.Debug.html " title ="trait core::fmt::Debug "> Debug</ a > ,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle method-toggle " open > < summary > < section id ="method.fmt " class ="method trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#117 "> Source</ a > < a href ="#method.fmt " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="https://doc.rust-lang.org/1.91.1/core/fmt/trait.Debug.html#tymethod.fmt " class ="fn "> fmt</ a > (&self, f: &mut < a class ="struct " href ="https://doc.rust-lang.org/1.91.1/core/fmt/struct.Formatter.html " title ="struct core::fmt::Formatter "> Formatter</ a > <'_>) -> < a class ="type " href ="https://doc.rust-lang.org/1.91.1/core/fmt/type.Result.html " title ="type core::fmt::Result "> Result</ a > </ h4 > </ section > </ summary > < div class ='docblock '> Formats the value using the given formatter. < a href ="https://doc.rust-lang.org/1.91.1/core/fmt/trait.Debug.html#tymethod.fmt "> Read more</ a > </ div > </ details > </ div > </ details > < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-Deref-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#125-136 "> Source</ a > < a href ="#impl-Deref-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html " title ="trait core::ops::deref::Deref "> Deref</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
283283 T: < a class ="trait " href ="trait.Element.html " title ="trait numpy::Element "> Element</ a > ,
284284 D: < a class ="trait " href ="https://docs.rs/ndarray/0.15/ndarray/dimension/dimension_trait/trait.Dimension.html " title ="trait ndarray::dimension::dimension_trait::Dimension "> Dimension</ a > ,
285- C: Coerce,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedtype.Target " class ="associatedtype trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#131 "> Source</ a > < a href ="#associatedtype.Target " class ="anchor "> §</ a > < h4 class ="code-header "> type < a href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#associatedtype.Target " class ="associatedtype "> Target</ a > = < a class ="struct " href ="borrow/struct.PyReadonlyArray.html " title ="struct numpy::borrow::PyReadonlyArray "> PyReadonlyArray</ a > <'py, T, D></ h4 > </ section > </ summary > < div class ='docblock '> The resulting type after dereferencing.</ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.deref " class ="method trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#133-135 "> Source</ a > < a href ="#method.deref " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#tymethod.deref " class ="fn "> deref</ a > (&self) -> &Self::< a class ="associatedtype " href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#associatedtype.Target " title ="type core::ops::deref::Deref::Target "> Target</ a > </ h4 > </ section > </ summary > < div class ='docblock '> Dereferences the value.</ div > </ details > </ div > </ details > < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-FromPyObject%3C'a,+'py%3E-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#138-184 "> Source</ a > < a href ="#impl-FromPyObject%3C'a,+'py%3E-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'a, 'py, T, D, C> FromPyObject<'a, 'py> for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
285+ C: Coerce,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedtype.Target " class ="associatedtype trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#131 "> Source</ a > < a href ="#associatedtype.Target " class ="anchor "> §</ a > < h4 class ="code-header "> type < a href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#associatedtype.Target " class ="associatedtype "> Target</ a > = < a class ="struct " href ="borrow/struct.PyReadonlyArray.html " title ="struct numpy::borrow::PyReadonlyArray "> PyReadonlyArray</ a > <'py, T, D></ h4 > </ section > </ summary > < div class ='docblock '> The resulting type after dereferencing.</ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.deref " class ="method trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#133-135 "> Source</ a > < a href ="#method.deref " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#tymethod.deref " class ="fn "> deref</ a > (&self) -> &Self::< a class ="associatedtype " href ="https://doc.rust-lang.org/1.91.1/core/ops/deref/trait.Deref.html#associatedtype.Target " title ="type core::ops::deref::Deref::Target "> Target</ a > </ h4 > </ section > </ summary > < div class ='docblock '> Dereferences the value.</ div > </ details > </ div > </ details > < details class ="toggle implementors-toggle " open > < summary > < section id ="impl-FromPyObject%3C'a,+'py%3E-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#138-188 "> Source</ a > < a href ="#impl-FromPyObject%3C'a,+'py%3E-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'a, 'py, T, D, C> FromPyObject<'a, 'py> for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
286286 T: < a class ="trait " href ="trait.Element.html " title ="trait numpy::Element "> Element</ a > + 'py,
287287 D: < a class ="trait " href ="https://docs.rs/ndarray/0.15/ndarray/dimension/dimension_trait/trait.Dimension.html " title ="trait ndarray::dimension::dimension_trait::Dimension "> Dimension</ a > + 'py,
288288 C: Coerce,
289- < a class ="struct " href ="https://doc.rust-lang.org/1.91.1/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > <T>: FromPyObject<'a, 'py>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedtype.Error " class ="associatedtype trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#145 "> Source</ a > < a href ="#associatedtype.Error " class ="anchor "> §</ a > < h4 class ="code-header "> type < a class ="associatedtype "> Error</ a > = PyErr</ h4 > </ section > </ summary > < div class ='docblock '> The type returned in the event of a conversion error. < a > Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.extract " class ="method trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#147-183 "> Source</ a > < a href ="#method.extract " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a class ="fn "> extract</ a > (ob: Borrowed<'a, 'py, PyAny>) -> PyResult<Self></ h4 > </ section > </ summary > < div class ='docblock '> Extracts < code > Self</ code > from the bound smart pointer < code > obj</ code > . < a > Read more</ a > </ div > </ details > </ div > </ details > </ div > < h2 id ="synthetic-implementations " class ="section-header "> Auto Trait Implementations< a href ="#synthetic-implementations " class ="anchor "> §</ a > </ h2 > < div id ="synthetic-implementations-list "> < section id ="impl-Freeze-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Freeze-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Freeze.html " title ="trait core::marker::Freeze "> Freeze</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-RefUnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-RefUnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/panic/unwind_safe/trait.RefUnwindSafe.html " title ="trait core::panic::unwind_safe::RefUnwindSafe "> RefUnwindSafe</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Send-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Send-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Send.html " title ="trait core::marker::Send "> Send</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Sync-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Sync-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Sync.html " title ="trait core::marker::Sync "> Sync</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Unpin-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Unpin-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Unpin.html " title ="trait core::marker::Unpin "> Unpin</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
289+ < a class ="struct " href ="https://doc.rust-lang.org/1.91.1/alloc/vec/struct.Vec.html " title ="struct alloc::vec::Vec "> Vec</ a > <T>: FromPyObject<'a, 'py>,</ div > </ h3 > </ section > </ summary > < div class ="impl-items "> < details class ="toggle " open > < summary > < section id ="associatedtype.Error " class ="associatedtype trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#145 "> Source</ a > < a href ="#associatedtype.Error " class ="anchor "> §</ a > < h4 class ="code-header "> type < a class ="associatedtype "> Error</ a > = PyErr</ h4 > </ section > </ summary > < div class ='docblock '> The type returned in the event of a conversion error. < a > Read more</ a > </ div > </ details > < details class ="toggle method-toggle " open > < summary > < section id ="method.extract " class ="method trait-impl "> < a class ="src rightside " href ="../src/numpy/array_like.rs.html#147-187 "> Source</ a > < a href ="#method.extract " class ="anchor "> §</ a > < h4 class ="code-header "> fn < a class ="fn "> extract</ a > (ob: Borrowed<'a, 'py, PyAny>) -> PyResult<Self></ h4 > </ section > </ summary > < div class ='docblock '> Extracts < code > Self</ code > from the bound smart pointer < code > obj</ code > . < a > Read more</ a > </ div > </ details > </ div > </ details > </ div > < h2 id ="synthetic-implementations " class ="section-header "> Auto Trait Implementations< a href ="#synthetic-implementations " class ="anchor "> §</ a > </ h2 > < div id ="synthetic-implementations-list "> < section id ="impl-Freeze-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Freeze-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Freeze.html " title ="trait core::marker::Freeze "> Freeze</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-RefUnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-RefUnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/panic/unwind_safe/trait.RefUnwindSafe.html " title ="trait core::panic::unwind_safe::RefUnwindSafe "> RefUnwindSafe</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Send-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Send-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Send.html " title ="trait core::marker::Send "> Send</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Sync-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Sync-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C = < a class ="struct " href ="struct.TypeMustMatch.html " title ="struct numpy::TypeMustMatch "> TypeMustMatch</ a > > !< a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Sync.html " title ="trait core::marker::Sync "> Sync</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C></ h3 > </ section > < section id ="impl-Unpin-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-Unpin-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Unpin.html " title ="trait core::marker::Unpin "> Unpin</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
290290 C: < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Unpin.html " title ="trait core::marker::Unpin "> Unpin</ a > ,
291291 T: < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Unpin.html " title ="trait core::marker::Unpin "> Unpin</ a > ,
292292 D: < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/marker/trait.Unpin.html " title ="trait core::marker::Unpin "> Unpin</ a > ,</ div > </ h3 > </ section > < section id ="impl-UnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="impl "> < a href ="#impl-UnwindSafe-for-PyArrayLike%3C'py,+T,+D,+C%3E " class ="anchor "> §</ a > < h3 class ="code-header "> impl<'py, T, D, C> < a class ="trait " href ="https://doc.rust-lang.org/1.91.1/core/panic/unwind_safe/trait.UnwindSafe.html " title ="trait core::panic::unwind_safe::UnwindSafe "> UnwindSafe</ a > for < a class ="struct " href ="struct.PyArrayLike.html " title ="struct numpy::PyArrayLike "> PyArrayLike</ a > <'py, T, D, C>< div class ="where "> where
0 commit comments