diff --git a/help.html b/help.html index c48a36f80..59ab4ecc8 100644 --- a/help.html +++ b/help.html @@ -1,2 +1,2 @@ -Help +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/numpy/all.html b/numpy/all.html index 3259061d7..77e9556ee 100644 --- a/numpy/all.html +++ b/numpy/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Statics

Constants

\ No newline at end of file diff --git a/numpy/array/fn.get_array_module.html b/numpy/array/fn.get_array_module.html index 808dab6e7..96ab9db6c 100644 --- a/numpy/array/fn.get_array_module.html +++ b/numpy/array/fn.get_array_module.html @@ -1,3 +1,3 @@ -get_array_module in numpy::array - Rust +get_array_module in numpy::array - Rust

Function numpy::array::get_array_module

source ·
pub fn get_array_module<'py>(py: Python<'py>) -> PyResult<Bound<'_, PyModule>>
Expand description

Returns a handle to NumPy’s multiarray module.

\ No newline at end of file diff --git a/numpy/array/index.html b/numpy/array/index.html index 1f419bd03..85fa380e9 100644 --- a/numpy/array/index.html +++ b/numpy/array/index.html @@ -1,3 +1,3 @@ -numpy::array - Rust +numpy::array - Rust

Module numpy::array

source ·
Expand description

Safe interface for NumPy’s N-dimensional arrays

Structs§

Traits§

Functions§

Type Aliases§

\ No newline at end of file diff --git a/numpy/array/struct.PyArray.html b/numpy/array/struct.PyArray.html index 6ac04266e..09e84cff9 100644 --- a/numpy/array/struct.PyArray.html +++ b/numpy/array/struct.PyArray.html @@ -1,4 +1,4 @@ -PyArray in numpy::array - Rust +PyArray in numpy::array - Rust

Struct numpy::array::PyArray

source ·
pub struct PyArray<T, D>(/* private fields */);
Expand description

A safe, statically-typed wrapper for NumPy’s ndarray class.

§Memory location

    @@ -22,7 +22,7 @@

    §References

    §Element type and dimensionality

    PyArray has two type parametes T and D. -T represents the type of its elements, e.g. f32 or [PyObject]. +T represents the type of its elements, e.g. f32 or [PyObject]. D represents its dimensionality, e.g Ix2 or IxDyn.

    Element types are Rust types which implement the Element trait. Dimensions are represented by the ndarray::Dimension trait.

    @@ -63,26 +63,26 @@
    §Example
    });
source

pub unsafe fn from_owned_ptr<'py>( py: Python<'py>, - ptr: *mut PyObject -) -> &'py Self

👎Deprecated since 0.21.0: use Bound::from_owned_ptr() instead

Constructs a reference to a PyArray from a raw pointer to a Python object.

+ ptr: *mut PyObject +) -> &'py Self
👎Deprecated since 0.21.0: use Bound::from_owned_ptr() instead

Constructs a reference to a PyArray from a raw pointer to a Python object.

§Safety

This is a wrapper around [pyo3::FromPyPointer::from_owned_ptr_or_opt] and inherits its safety contract.

source

pub unsafe fn from_borrowed_ptr<'py>( py: Python<'py>, - ptr: *mut PyObject -) -> &'py Self

👎Deprecated since 0.21.0: use Bound::from_borrowed_ptr() instead

Constructs a reference to a PyArray from a raw point to a Python object.

+ ptr: *mut PyObject +) -> &'py Self
👎Deprecated since 0.21.0: use Bound::from_borrowed_ptr() instead

Constructs a reference to a PyArray from a raw point to a Python object.

§Safety

This is a wrapper around [pyo3::FromPyPointer::from_borrowed_ptr_or_opt] and inherits its safety contract.

-
source

pub fn data(&self) -> *mut T

Returns a pointer to the first element of the array.

+
source

pub fn data(&self) -> *mut T

Returns a pointer to the first element of the array.

source§

impl<T: Element, D: Dimension> PyArray<T, D>

source

pub fn dims(&self) -> D

Same as shape, but returns D instead of &[usize].

-
source

pub unsafe fn new<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self
where +

source

pub unsafe fn new<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self
where ID: IntoDimension<Dim = D>,

👎Deprecated since 0.21.0: will be replaced by PyArray::new_bound in the future

Deprecated form of PyArray<T, D>::new_bound

§Safety

Same as PyArray<T, D>::new_bound

source

pub unsafe fn new_bound<'py, ID>( py: Python<'py>, dims: ID, - is_fortran: bool + is_fortran: bool ) -> Bound<'py, Self>
where ID: IntoDimension<Dim = D>,

Creates a new uninitialized NumPy array.

If is_fortran is true, then it has Fortran/column-major order, @@ -120,7 +120,7 @@

§Example
source

pub unsafe fn borrow_from_array<'py, S>( array: &ArrayBase<S, D>, container: &'py PyAny -) -> &'py Self
where +) -> &'py Self
where S: Data<Elem = T>,

👎Deprecated since 0.21.0: will be replaced by PyArray::borrow_from_array_bound in the future

Deprecated form of PyArray<T, D>::borrow_from_array_bound

§Safety

Same as PyArray<T, D>::borrow_from_array_bound

@@ -149,12 +149,12 @@
§Example
unsafe { PyArray1::borrow_from_array_bound(array, this.into_any()) } } }
-
source

pub fn zeros<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self
where +

source

pub fn zeros<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self
where ID: IntoDimension<Dim = D>,

👎Deprecated since 0.21.0: will be replaced by PyArray::zeros_bound in the future

Deprecated form of PyArray<T, D>::zeros_bound

source

pub fn zeros_bound<ID>( py: Python<'_>, dims: ID, - is_fortran: bool + is_fortran: bool ) -> Bound<'_, Self>
where ID: IntoDimension<Dim = D>,

Construct a new NumPy array filled with zeros.

If is_fortran is true, then it has Fortran/column-major order, @@ -171,24 +171,24 @@

§Example
assert_eq!(pyarray.readonly().as_slice().unwrap(), [0; 4]); });
-
source

pub unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError>

Returns an immutable view of the internal data as a slice.

+
source

pub unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError>

Returns an immutable view of the internal data as a slice.

§Safety

Calling this method is undefined behaviour if the underlying array is aliased mutably by other instances of PyArray or concurrently modified by Python or other native code.

Please consider the safe alternative PyReadonlyArray::as_slice.

-
source

pub unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError>

Returns a mutable view of the internal data as a slice.

+
source

pub unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError>

Returns a mutable view of the internal data as a slice.

§Safety

Calling this method is undefined behaviour if the underlying array is aliased immutably or mutably by other instances of PyArray or concurrently modified by Python or other native code.

Please consider the safe alternative PyReadwriteArray::as_slice_mut.

-
source

pub fn from_owned_array<'py>(py: Python<'py>, arr: Array<T, D>) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_owned_array_bound in the future
source

pub fn from_owned_array<'py>(py: Python<'py>, arr: Array<T, D>) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_owned_array_bound in the future
source

pub fn from_owned_array_bound( py: Python<'_>, arr: Array<T, D> ) -> Bound<'_, Self>

Constructs a NumPy from an ndarray::Array

-

This method uses the internal Vec of the ndarray::Array as the base object of the NumPy array.

+

This method uses the internal Vec of the ndarray::Array as the base object of the NumPy array.

§Example
use numpy::{PyArray, PyArrayMethods};
 use ndarray::array;
@@ -199,7 +199,7 @@ 
§Example
assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]); });
-
source

pub unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>

Get a reference of the specified element if the given index is valid.

+
source

pub unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>

Get a reference of the specified element if the given index is valid.

§Safety

Calling this method is undefined behaviour if the underlying array is aliased mutably by other instances of PyArray @@ -214,7 +214,7 @@

§Example
assert_eq!(unsafe { *pyarray.get([1, 0, 3]).unwrap() }, 11); });
-
source

pub unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>

Same as get, but returns Option<&mut T>.

+
source

pub unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>

Same as get, but returns Option<&mut T>.

§Safety

Calling this method is undefined behaviour if the underlying array is aliased immutably or mutably by other instances of PyArray @@ -233,7 +233,7 @@

§Example
assert_eq!(unsafe { *pyarray.get([1, 0, 3]).unwrap() }, 42); });
-
source

pub unsafe fn uget<Idx>(&self, index: Idx) -> &T
where +

source

pub unsafe fn uget<Idx>(&self, index: Idx) -> &T
where Idx: NpyIndex<Dim = D>,

Get an immutable reference of the specified element, without checking the given index.

See NpyIndex for what types can be used as the index.

@@ -251,18 +251,18 @@
§Example
assert_eq!(unsafe { *pyarray.uget([1, 0, 3]) }, 11); });
-
source

pub unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T
where +

source

pub unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T
where Idx: NpyIndex<Dim = D>,

Same as uget, but returns &mut T.

§Safety

Passing an invalid index is undefined behavior. The element must also have been initialized and other references to it must not exist.

See PyReadwriteArray::get_mut for a safe alternative.

-
source

pub unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T
where +

source

pub unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T
where Idx: NpyIndex<Dim = D>,

Same as uget, but returns *mut T.

§Safety

Passing an invalid index is undefined behavior.

-
source

pub fn get_owned<Idx>(&self, index: Idx) -> Option<T>
where +

source

pub fn get_owned<Idx>(&self, index: Idx) -> Option<T>
where Idx: NpyIndex<Dim = D>,

Get a copy of the specified element in the array.

See NpyIndex for what types can be used as the index.

§Example
@@ -275,7 +275,7 @@
§Example
assert_eq!(pyarray.get_owned([1, 0, 3]), Some(11)); });
source

pub fn to_dyn(&self) -> &PyArray<T, IxDyn>

Turn an array with fixed dimensionality into one with dynamic dimensionality.

-
source

pub fn to_vec(&self) -> Result<Vec<T>, NotContiguousError>

Returns a copy of the internal data of the array as a Vec.

+
source

pub fn to_vec(&self) -> Result<Vec<T>, NotContiguousError>

Returns a copy of the internal data of the array as a Vec.

Fails if the internal array is not contiguous. See also as_slice.

§Example
use numpy::{PyArray2, PyArrayMethods};
@@ -290,7 +290,7 @@ 
§Example
assert_eq!(pyarray.to_vec().unwrap(), vec![0, 1, 2, 3]); });
-
source

pub fn from_array<'py, S>(py: Python<'py>, arr: &ArrayBase<S, D>) -> &'py Self
where +

source

pub fn from_array<'py, S>(py: Python<'py>, arr: &ArrayBase<S, D>) -> &'py Self
where S: Data<Elem = T>,

👎Deprecated since 0.21.0: will be replaced by PyArray::from_array_bound in the future
source

pub fn from_array_bound<'py, S>( py: Python<'py>, @@ -309,12 +309,12 @@

§Example
assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]); }); -
source

pub fn try_readonly(&self) -> Result<PyReadonlyArray<'_, T, D>, BorrowError>

Get an immutable borrow of the NumPy array

+
source

pub fn try_readonly(&self) -> Result<PyReadonlyArray<'_, T, D>, BorrowError>

Get an immutable borrow of the NumPy array

source

pub fn readonly(&self) -> PyReadonlyArray<'_, T, D>

Get an immutable borrow of the NumPy array

§Panics

Panics if the allocation backing the array is currently mutably borrowed.

For a non-panicking variant, use try_readonly.

-
source

pub fn try_readwrite(&self) -> Result<PyReadwriteArray<'_, T, D>, BorrowError>

Get a mutable borrow of the NumPy array

+
source

pub fn try_readwrite(&self) -> Result<PyReadwriteArray<'_, T, D>, BorrowError>

Get a mutable borrow of the NumPy array

source

pub fn readwrite(&self) -> PyReadwriteArray<'_, T, D>

Get a mutable borrow of the NumPy array

§Panics

Panics if the allocation backing the array is currently borrowed or @@ -348,7 +348,7 @@

§Example
N: Scalar + Element, D: Dimension,
source

pub unsafe fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where +) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where R: Dim, C: Dim, RStride: Dim, @@ -358,7 +358,7 @@
§Safety

Calling this method invalidates all exclusive references to the internal data, e.g. ArrayViewMut or MatrixSliceMut.

source

pub unsafe fn try_as_matrix_mut<R, C, RStride, CStride>( &self -) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
where +) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
where R: Dim, C: Dim, RStride: Dim, @@ -369,12 +369,12 @@
§Safety

source§

impl<D: Dimension> PyArray<PyObject, D>

source

pub fn from_owned_object_array<'py, T>( py: Python<'py>, arr: Array<Py<T>, D> -) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_owned_object_array_bound in the future

Deprecated form of PyArray<T, D>::from_owned_object_array_bound

+) -> &'py Self
👎Deprecated since 0.21.0: will be replaced by PyArray::from_owned_object_array_bound in the future
source

pub fn from_owned_object_array_bound<T>( py: Python<'_>, arr: Array<Py<T>, D> ) -> Bound<'_, Self>

Construct a NumPy array containing objects stored in a ndarray::Array

-

This method uses the internal Vec of the ndarray::Array as the base object of the NumPy array.

+

This method uses the internal Vec of the ndarray::Array as the base object of the NumPy array.

§Example
use ndarray::array;
 use pyo3::{pyclass, Py, Python, types::PyAnyMethods};
@@ -402,10 +402,10 @@ 
§Example
assert!(pyarray.readonly().as_array().get(0).unwrap().bind(py).is_instance_of::<CustomElement>()); });
-
source§

impl<T: Copy + Element> PyArray<T, Ix0>

source

pub fn item(&self) -> T

Get the single element of a zero-dimensional array.

+
source§

impl<T: Copy + Element> PyArray<T, Ix0>

source

pub fn item(&self) -> T

Get the single element of a zero-dimensional array.

See inner for an example.

-
source§

impl<T: Element> PyArray<T, Ix1>

source

pub fn from_slice<'py>(py: Python<'py>, slice: &[T]) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_slice_bound in the future
source

pub fn from_slice_bound<'py>(py: Python<'py>, slice: &[T]) -> Bound<'py, Self>

Construct a one-dimensional array from a slice.

+
source§

impl<T: Element> PyArray<T, Ix1>

source

pub fn from_slice<'py>(py: Python<'py>, slice: &[T]) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_slice_bound in the future
source

pub fn from_slice_bound<'py>(py: Python<'py>, slice: &[T]) -> Bound<'py, Self>

Construct a one-dimensional array from a slice.

§Example
use numpy::{PyArray, PyArrayMethods};
 use pyo3::Python;
@@ -415,8 +415,8 @@ 
§Example
let pyarray = PyArray::from_slice_bound(py, slice); assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]); });
-
source

pub fn from_vec<'py>(py: Python<'py>, vec: Vec<T>) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec_bound in the future

Deprecated form of PyArray<T, Ix1>::from_vec_bound

-
source

pub fn from_vec_bound<'py>(py: Python<'py>, vec: Vec<T>) -> Bound<'py, Self>

Construct a one-dimensional array from a Vec<T>.

+
source

pub fn from_vec<'py>(py: Python<'py>, vec: Vec<T>) -> &'py Self

👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec_bound in the future

Deprecated form of PyArray<T, Ix1>::from_vec_bound

+
source

pub fn from_vec_bound<'py>(py: Python<'py>, vec: Vec<T>) -> Bound<'py, Self>

Construct a one-dimensional array from a Vec<T>.

§Example
use numpy::{PyArray, PyArrayMethods};
 use pyo3::Python;
@@ -426,11 +426,11 @@ 
§Example
let pyarray = PyArray::from_vec_bound(py, vec); assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]); });
-
source

pub fn from_iter<'py, I>(py: Python<'py>, iter: I) -> &'py Self
where - I: IntoIterator<Item = T>,

👎Deprecated since 0.21.0: will be replaced by PyArray::from_iter_bound in the future
source

pub fn from_iter<'py, I>(py: Python<'py>, iter: I) -> &'py Self
where + I: IntoIterator<Item = T>,

👎Deprecated since 0.21.0: will be replaced by PyArray::from_iter_bound in the future
source

pub fn from_iter_bound<I>(py: Python<'_>, iter: I) -> Bound<'_, Self>
where - I: IntoIterator<Item = T>,

Construct a one-dimensional array from an Iterator.

-

If no reliable size_hint is available, + I: IntoIterator<Item = T>,

Construct a one-dimensional array from an Iterator.

+

If no reliable size_hint is available, this method can allocate memory multiple times, which can hurt performance.

§Example
use numpy::{PyArray, PyArrayMethods};
@@ -442,12 +442,12 @@ 
§Example
});
source§

impl<T: Element> PyArray<T, Ix2>

source

pub fn from_vec2<'py>( py: Python<'py>, - v: &[Vec<T>] -) -> Result<&'py Self, FromVecError>

👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec2_bound in the future

Deprecated form of PyArray<T, Ix2>::from_vec2_bound

+ v: &[Vec<T>] +) -> Result<&'py Self, FromVecError>
👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec2_bound in the future
source

pub fn from_vec2_bound<'py>( py: Python<'py>, - v: &[Vec<T>] -) -> Result<Bound<'py, Self>, FromVecError>

Construct a two-dimension array from a Vec<Vec<T>>.

+ v: &[Vec<T>] +) -> Result<Bound<'py, Self>, FromVecError>

Construct a two-dimension array from a Vec<Vec<T>>.

This function checks all dimensions of the inner vectors and returns an error if they are not all equal.

§Example
@@ -465,12 +465,12 @@
§Example
});
source§

impl<T: Element> PyArray<T, Ix3>

source

pub fn from_vec3<'py>( py: Python<'py>, - v: &[Vec<Vec<T>>] -) -> Result<&'py Self, FromVecError>

👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec3_bound in the future

Deprecated form of PyArray<T, Ix3>::from_vec3_bound

+ v: &[Vec<Vec<T>>] +) -> Result<&'py Self, FromVecError>
👎Deprecated since 0.21.0: will be replaced by PyArray::from_vec3_bound in the future
source

pub fn from_vec3_bound<'py>( py: Python<'py>, - v: &[Vec<Vec<T>>] -) -> Result<Bound<'py, Self>, FromVecError>

Construct a three-dimensional array from a Vec<Vec<Vec<T>>>.

+ v: &[Vec<Vec<T>>] +) -> Result<Bound<'py, Self>, FromVecError>

Construct a three-dimensional array from a Vec<Vec<Vec<T>>>.

This function checks all dimensions of the inner vectors and returns an error if they are not all equal.

§Example
@@ -495,7 +495,7 @@
§Example
]; assert!(PyArray::from_vec3_bound(py, &ragged_vec3).is_err()); });
-
source§

impl<T: Element, D> PyArray<T, D>

source

pub fn copy_to<U: Element>(&self, other: &PyArray<U, D>) -> PyResult<()>

Copies self into other, performing a data type conversion if necessary.

+
source§

impl<T: Element, D> PyArray<T, D>

source

pub fn copy_to<U: Element>(&self, other: &PyArray<U, D>) -> PyResult<()>

Copies self into other, performing a data type conversion if necessary.

See also PyArray_CopyInto.

§Example
use numpy::{PyArray, PyArrayMethods};
@@ -511,7 +511,7 @@ 
§Example
});
source

pub fn cast<'py, U: Element>( &'py self, - is_fortran: bool + is_fortran: bool ) -> PyResult<&'py PyArray<U, D>>

Cast the PyArray<T> to PyArray<U>, by allocating a new array.

See also PyArray_CastToType.

§Example
@@ -552,7 +552,7 @@
§Example
&'py self, dims: ID ) -> PyResult<&'py PyArray<T, ID::Dim>>

Special case of reshape_with_order which keeps the memory order the same.

-
source

pub unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>

Extends or truncates the dimensions of an array.

+
source

pub unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>

Extends or truncates the dimensions of an array.

This method works only on contiguous arrays. Missing elements will be initialized as if calling zeros.

See also ndarray.resize and PyArray_Resize.

@@ -573,7 +573,7 @@
§Example
} assert_eq!(pyarray.shape(), [100, 100]); });
-
source§

impl<T: Element + AsPrimitive<f64>> PyArray<T, Ix1>

source

pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &Self

👎Deprecated since 0.21.0: will be replaced by PyArray::arange_bound in the future

Deprecated form of PyArray<T, Ix1>::arange_bound

+
source§

impl<T: Element + AsPrimitive<f64>> PyArray<T, Ix1>

source

pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &Self

👎Deprecated since 0.21.0: will be replaced by PyArray::arange_bound in the future

Deprecated form of PyArray<T, Ix1>::arange_bound

source

pub fn arange_bound<'py>( py: Python<'py>, start: T, @@ -592,7 +592,7 @@

§Example
let pyarray = PyArray::arange_bound(py, -2, 4, 3); assert_eq!(pyarray.readonly().as_slice().unwrap(), &[-2, 1]); });
-

Methods from Deref<Target = PyUntypedArray>§

source

pub fn as_array_ptr(&self) -> *mut PyArrayObject

Returns a raw pointer to the underlying PyArrayObject.

+

Methods from Deref<Target = PyUntypedArray>§

source

pub fn as_array_ptr(&self) -> *mut PyArrayObject

Returns a raw pointer to the underlying PyArrayObject.

source

pub fn dtype(&self) -> &PyArrayDescr

Returns the dtype of the array.

See also ndarray.dtype and PyArray_DTYPE.

§Example
@@ -605,7 +605,7 @@
§Example
assert!(array.dtype().is_equiv_to(&dtype_bound::<i32>(py))); });
-
source

pub fn is_contiguous(&self) -> bool

Returns true if the internal data of the array is contiguous, +

source

pub fn is_contiguous(&self) -> bool

Returns true if the internal data of the array is contiguous, indepedently of whether C-style/row-major or Fortran-style/column-major.

§Example
use numpy::{PyArray1, PyUntypedArrayMethods};
@@ -622,9 +622,9 @@ 
§Example
.unwrap(); assert!(!view.is_contiguous()); });
-
source

pub fn is_fortran_contiguous(&self) -> bool

Returns true if the internal data of the array is Fortran-style/column-major contiguous.

-
source

pub fn is_c_contiguous(&self) -> bool

Returns true if the internal data of the array is C-style/row-major contiguous.

-
source

pub fn ndim(&self) -> usize

Returns the number of dimensions of the array.

+
source

pub fn is_fortran_contiguous(&self) -> bool

Returns true if the internal data of the array is Fortran-style/column-major contiguous.

+
source

pub fn is_c_contiguous(&self) -> bool

Returns true if the internal data of the array is C-style/row-major contiguous.

+
source

pub fn ndim(&self) -> usize

Returns the number of dimensions of the array.

See also ndarray.ndim and PyArray_NDIM.

§Example
use numpy::{PyArray3, PyUntypedArrayMethods};
@@ -635,7 +635,7 @@ 
§Example
assert_eq!(arr.ndim(), 3); });
-
source

pub fn strides(&self) -> &[isize]

Returns a slice indicating how many bytes to advance when iterating along each axis.

+
source

pub fn strides(&self) -> &[isize]

Returns a slice indicating how many bytes to advance when iterating along each axis.

See also ndarray.strides and PyArray_STRIDES.

§Example
use numpy::{PyArray3, PyUntypedArrayMethods};
@@ -646,7 +646,7 @@ 
§Example
assert_eq!(arr.strides(), &[240, 48, 8]); });
-
source

pub fn shape(&self) -> &[usize]

Returns a slice which contains dimmensions of the array.

+
source

pub fn shape(&self) -> &[usize]

Returns a slice which contains dimmensions of the array.

See also [ndarray.shape][ndaray-shape] and PyArray_DIMS.

§Example
use numpy::{PyArray3, PyUntypedArrayMethods};
@@ -657,13 +657,13 @@ 
§Example
assert_eq!(arr.shape(), &[4, 5, 6]); });
-
source

pub fn len(&self) -> usize

Calculates the total number of elements in the array.

-
source

pub fn is_empty(&self) -> bool

Returns true if the there are no elements in the array.

-

Methods from Deref<Target = PyAny>§

pub fn is<T>(&self, other: &T) -> bool
where +

source

pub fn len(&self) -> usize

Calculates the total number of elements in the array.

+
source

pub fn is_empty(&self) -> bool

Returns true if the there are no elements in the array.

+

Methods from Deref<Target = PyAny>§

pub fn is<T>(&self, other: &T) -> bool
where T: AsPyPointer,

Returns whether self and other point to the same object. To compare the equality of two objects (the == operator), use eq.

This is equivalent to the Python expression self is other.

-

pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
where +

pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
where N: IntoPy<Py<PyString>>,

Determines whether this object has the given attribute.

This is equivalent to the Python expression hasattr(self, attr_name).

To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -673,7 +673,7 @@

fn has_version(sys: &Bound<'_, PyModule>) -> PyResult<bool> { sys.hasattr(intern!(sys.py(), "version")) }
-

pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
where +

pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
where N: IntoPy<Py<PyString>>,

Retrieves an attribute value.

This is equivalent to the Python expression self.attr_name.

To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -683,7 +683,7 @@

fn version<'py>(sys: &Bound<'py, PyModule>) -> PyResult<Bound<'py, PyAny>> { sys.getattr(intern!(sys.py(), "version")) }
-

pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
where +

pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
where N: IntoPy<Py<PyString>>, V: ToPyObject,

Sets an attribute value.

This is equivalent to the Python expression self.attr_name = value.

@@ -694,13 +694,13 @@
fn set_answer(ob: &Bound<'_, PyAny>) -> PyResult<()> { ob.setattr(intern!(ob.py(), "answer"), 42) }
-

pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
where +

pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
where N: IntoPy<Py<PyString>>,

Deletes an attribute.

This is equivalent to the Python statement del self.attr_name.

To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used to intern attr_name.

-

pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
where - O: ToPyObject,

Returns an Ordering between self and other.

+

pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
where + O: ToPyObject,

Returns an Ordering between self and other.

This is equivalent to the following Python code:

if self == other:
     return Equal
@@ -736,7 +736,7 @@ 
Result<&PyAny, PyErr>
where +) -> Result<&PyAny, PyErr>
where O: ToPyObject,

Tests whether two Python objects obey a given [CompareOp].

lt, le, eq, ne, gt and ge are the specialized versions @@ -762,25 +762,25 @@

assert!(a.rich_compare(b, CompareOp::Le)?.is_truthy()?); Ok(()) })?;
-

pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is less than another.

This is equivalent to the Python expression self < other.

-

pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is less than or equal to another.

This is equivalent to the Python expression self <= other.

-

pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is equal to another.

This is equivalent to the Python expression self == other.

-

pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is not equal to another.

This is equivalent to the Python expression self != other.

-

pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is greater than another.

This is equivalent to the Python expression self > other.

-

pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
where +

pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
where O: ToPyObject,

Tests whether this object is greater than or equal to another.

This is equivalent to the Python expression self >= other.

-

pub fn is_callable(&self) -> bool

Determines whether this object appears callable.

+

pub fn is_callable(&self) -> bool

Determines whether this object appears callable.

This is equivalent to Python’s callable() function.

§Examples
use pyo3::prelude::*;
@@ -799,8 +799,8 @@ 
§Examples

pub fn call( &self, args: impl IntoPy<Py<PyTuple>>, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>

Calls the object.

+ kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>

Calls the object.

This is equivalent to the Python expression self(*args, **kwargs).

§Examples
use pyo3::prelude::*;
@@ -823,7 +823,7 @@ 
§Examples
assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
-

pub fn call0(&self) -> Result<&PyAny, PyErr>

Calls the object without arguments.

+

pub fn call0(&self) -> Result<&PyAny, PyErr>

Calls the object without arguments.

This is equivalent to the Python expression self().

§Examples
use pyo3::prelude::*;
@@ -835,7 +835,7 @@ 
§Examples
Ok(()) })?;

This is equivalent to the Python expression help().

-

pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

Calls the object with only positional arguments.

+

pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

Calls the object with only positional arguments.

This is equivalent to the Python expression self(*args).

§Examples
use pyo3::prelude::*;
@@ -859,8 +859,8 @@ 
§Examples
&self, name: N, args: A, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>
where + kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>
where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

Calls a method on the object.

This is equivalent to the Python expression self.name(*args, **kwargs).

@@ -889,7 +889,7 @@
§Examples
assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
-

pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
where +

pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
where N: IntoPy<Py<PyString>>,

Calls a method on the object without arguments.

This is equivalent to the Python expression self.name().

To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -913,7 +913,7 @@

§Examples
assert_eq!(result.extract::<String>()?, "called with no arguments"); Ok(()) })
-

pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
where +

pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

Calls a method on the object with only positional arguments.

This is equivalent to the Python expression self.name(*args).

@@ -939,32 +939,32 @@
§Examples
assert_eq!(result.extract::<String>()?, "called with args"); Ok(()) })
-

pub fn is_true(&self) -> Result<bool, PyErr>

👎Deprecated since 0.21.0: use .is_truthy() instead

Returns whether the object is considered to be true.

+

pub fn is_true(&self) -> Result<bool, PyErr>

👎Deprecated since 0.21.0: use .is_truthy() instead

Returns whether the object is considered to be true.

This is equivalent to the Python expression bool(self).

-

pub fn is_truthy(&self) -> Result<bool, PyErr>

Returns whether the object is considered to be true.

+

pub fn is_truthy(&self) -> Result<bool, PyErr>

Returns whether the object is considered to be true.

This applies truth value testing equivalent to the Python expression bool(self).

-

pub fn is_none(&self) -> bool

Returns whether the object is considered to be None.

+

pub fn is_none(&self) -> bool

Returns whether the object is considered to be None.

This is equivalent to the Python expression self is None.

-

pub fn is_ellipsis(&self) -> bool

👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

Returns whether the object is Ellipsis, e.g. ....

+

pub fn is_ellipsis(&self) -> bool

👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

Returns whether the object is Ellipsis, e.g. ....

This is equivalent to the Python expression self is ....

-

pub fn is_empty(&self) -> Result<bool, PyErr>

Returns true if the sequence or mapping has a length of 0.

+

pub fn is_empty(&self) -> Result<bool, PyErr>

Returns true if the sequence or mapping has a length of 0.

This is equivalent to the Python expression len(self) == 0.

-

pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
where +

pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
where K: ToPyObject,

Gets an item from the collection.

This is equivalent to the Python expression self[key].

-

pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
where +

pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
where K: ToPyObject, V: ToPyObject,

Sets a collection item value.

This is equivalent to the Python expression self[key] = value.

-

pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
where +

pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
where K: ToPyObject,

Deletes an item from the collection.

This is equivalent to the Python expression del self[key].

-

pub fn iter(&self) -> Result<&PyIterator, PyErr>

Takes an object and returns an iterator for it.

+

pub fn iter(&self) -> Result<&PyIterator, PyErr>

Takes an object and returns an iterator for it.

This is typically a new iterator but if the argument is an iterator, this returns itself.

pub fn get_type(&self) -> &PyType

Returns the Python type object for this object’s type.

-

pub fn get_type_ptr(&self) -> *mut PyTypeObject

Returns the Python type pointer for this object.

-

pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
where +

pub fn get_type_ptr(&self) -> *mut PyTypeObject

Returns the Python type pointer for this object.

+

pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
where T: PyTypeCheck<AsRefTarget = T>,

Downcast this PyAny to a concrete Python type or pyclass.

Note that you can often avoid downcasting yourself by just specifying the desired type in function or method signatures. @@ -1005,7 +1005,7 @@

assert_eq!(class_ref.i, 1); Ok(()) })
-

pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
where +

pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
where T: PyTypeInfo<AsRefTarget = T>,

Downcast this PyAny to a concrete Python type or pyclass (but not a subclass of it).

It is almost always better to use [PyAny::downcast] because it accounts for Python subtyping. Use this method only when you do not want to allow subtypes.

@@ -1029,93 +1029,93 @@
assert!(any.downcast_exact::<PyBool>().is_ok()); });
-

pub unsafe fn downcast_unchecked<T>(&self) -> &T
where +

pub unsafe fn downcast_unchecked<T>(&self) -> &T
where T: HasPyGilRef<AsRefTarget = T>,

Converts this PyAny to a concrete Python type without checking validity.

§Safety

Callers must ensure that the type is valid or risk type confusion.

-

pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
where +

pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
where D: FromPyObjectBound<'py, 'py>,

Extracts some type from the Python object.

This is a wrapper function around FromPyObject::extract().

-

pub fn get_refcnt(&self) -> isize

Returns the reference count for the Python object.

-

pub fn repr(&self) -> Result<&PyString, PyErr>

Computes the “repr” representation of self.

+

pub fn get_refcnt(&self) -> isize

Returns the reference count for the Python object.

+

pub fn repr(&self) -> Result<&PyString, PyErr>

Computes the “repr” representation of self.

This is equivalent to the Python expression repr(self).

-

pub fn str(&self) -> Result<&PyString, PyErr>

Computes the “str” representation of self.

+

pub fn str(&self) -> Result<&PyString, PyErr>

Computes the “str” representation of self.

This is equivalent to the Python expression str(self).

-

pub fn hash(&self) -> Result<isize, PyErr>

Retrieves the hash code of self.

+

pub fn hash(&self) -> Result<isize, PyErr>

Retrieves the hash code of self.

This is equivalent to the Python expression hash(self).

-

pub fn len(&self) -> Result<usize, PyErr>

Returns the length of the sequence or mapping.

+

pub fn len(&self) -> Result<usize, PyErr>

Returns the length of the sequence or mapping.

This is equivalent to the Python expression len(self).

pub fn dir(&self) -> &PyList

Returns the list of attributes of this object.

This is equivalent to the Python expression dir(self).

-

pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

Checks whether this object is an instance of type ty.

+

pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

Checks whether this object is an instance of type ty.

This is equivalent to the Python expression isinstance(self, ty).

-

pub fn is_exact_instance(&self, ty: &PyAny) -> bool

Checks whether this object is an instance of exactly type ty (not a subclass).

+

pub fn is_exact_instance(&self, ty: &PyAny) -> bool

Checks whether this object is an instance of exactly type ty (not a subclass).

This is equivalent to the Python expression type(self) is ty.

-

pub fn is_instance_of<T>(&self) -> bool
where +

pub fn is_instance_of<T>(&self) -> bool
where T: PyTypeInfo,

Checks whether this object is an instance of type T.

This is equivalent to the Python expression isinstance(self, T), if the type T is known at compile time.

-

pub fn is_exact_instance_of<T>(&self) -> bool
where +

pub fn is_exact_instance_of<T>(&self) -> bool
where T: PyTypeInfo,

Checks whether this object is an instance of exactly type T.

This is equivalent to the Python expression type(self) is T, if the type T is known at compile time.

-

pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
where +

pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
where V: ToPyObject,

Determines if self contains value.

This is equivalent to the Python expression value in self.

pub fn py(&self) -> Python<'_>

Returns a GIL marker constrained to the lifetime of this type.

-

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

+

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

§Safety

Callers are responsible for ensuring that the pointer does not outlive self.

The reference is borrowed; callers should not decrease the reference count when they are finished with the pointer.

-

pub fn into_ptr(&self) -> *mut PyObject

Returns an owned raw FFI pointer represented by self.

+

pub fn into_ptr(&self) -> *mut PyObject

Returns an owned raw FFI pointer represented by self.

§Safety

The reference is owned; when finished the caller should either transfer ownership of the pointer or decrease the reference count (e.g. with pyo3::ffi::Py_DecRef).

-

pub fn py_super(&self) -> Result<&PySuper, PyErr>

Return a proxy object that delegates method calls to a parent or sibling class of type.

+

pub fn py_super(&self) -> Result<&PySuper, PyErr>

Return a proxy object that delegates method calls to a parent or sibling class of type.

This is equivalent to the Python expression super()

-

Trait Implementations§

source§

impl<T, D> AsPyPointer for PyArray<T, D>

source§

fn as_ptr(&self) -> *mut PyObject

Returns the underlying FFI pointer as a borrowed pointer.
source§

impl<T, D> AsRef<PyAny> for PyArray<T, D>

source§

fn as_ref(&self) -> &PyAny

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<T, D> Debug for PyArray<T, D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T, D> Deref for PyArray<T, D>

§

type Target = PyUntypedArray

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<T, D> Display for PyArray<T, D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a, T, D> From<&'a PyArray<T, D>> for &'a PyAny

source§

fn from(ob: &'a PyArray<T, D>) -> Self

Converts to this type from the input type.
source§

impl<T, D> From<&PyArray<T, D>> for Py<PyArray<T, D>>

source§

fn from(other: &PyArray<T, D>) -> Self

Converts to this type from the input type.
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for &'py PyArray<T, D>

source§

fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more
source§

impl<T, D> IntoPy<Py<PyAny>> for PyArray<T, D>

source§

fn into_py<'py>(self, py: Python<'py>) -> PyObject

Performs the conversion.
source§

impl<T, D> IntoPy<Py<PyArray<T, D>>> for &PyArray<T, D>

source§

fn into_py<'py>(self, py: Python<'py>) -> Py<PyArray<T, D>>

Performs the conversion.
source§

impl<T, D> PyNativeType for PyArray<T, D>

§

type AsRefSource = PyArray<T, D>

The form of this which is stored inside a Py<T> smart pointer.
§

fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

Cast &self to a Borrowed smart pointer. Read more
§

fn py(&self) -> Python<'_>

Returns a GIL marker constrained to the lifetime of this type.
§

unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

Cast &PyAny to &Self without no type checking. Read more
source§

impl<T: Element, D: Dimension> PyTypeInfo for PyArray<T, D>

source§

const NAME: &'static str = "PyArray<T, D>"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
source§

fn is_type_of_bound(ob: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn type_object(py: Python<'_>) -> &PyType

👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
Returns the safe abstraction over the type object.
§

fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
Checks if object is an instance of this type.
§

fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type.
source§

impl<T, D> ToPyObject for PyArray<T, D>

source§

fn to_object(&self, py: Python<'_>) -> PyObject

Converts self into a Python object.
source§

impl<T, D> DerefToPyAny for PyArray<T, D>

Auto Trait Implementations§

§

impl<T, D> !RefUnwindSafe for PyArray<T, D>

§

impl<T, D> !Send for PyArray<T, D>

§

impl<T, D> !Sync for PyArray<T, D>

§

impl<T, D> Unpin for PyArray<T, D>
where - D: Unpin, - T: Unpin,

§

impl<T, D> UnwindSafe for PyArray<T, D>
where - D: UnwindSafe, - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl<T, D> AsPyPointer for PyArray<T, D>

source§

fn as_ptr(&self) -> *mut PyObject

Returns the underlying FFI pointer as a borrowed pointer.
source§

impl<T, D> AsRef<PyAny> for PyArray<T, D>

source§

fn as_ref(&self) -> &PyAny

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<T, D> Debug for PyArray<T, D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T, D> Deref for PyArray<T, D>

§

type Target = PyUntypedArray

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<T, D> Display for PyArray<T, D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a, T, D> From<&'a PyArray<T, D>> for &'a PyAny

source§

fn from(ob: &'a PyArray<T, D>) -> Self

Converts to this type from the input type.
source§

impl<T, D> From<&PyArray<T, D>> for Py<PyArray<T, D>>

source§

fn from(other: &PyArray<T, D>) -> Self

Converts to this type from the input type.
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for &'py PyArray<T, D>

source§

fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more
source§

impl<T, D> IntoPy<Py<PyAny>> for PyArray<T, D>

source§

fn into_py<'py>(self, py: Python<'py>) -> PyObject

Performs the conversion.
source§

impl<T, D> IntoPy<Py<PyArray<T, D>>> for &PyArray<T, D>

source§

fn into_py<'py>(self, py: Python<'py>) -> Py<PyArray<T, D>>

Performs the conversion.
source§

impl<T, D> PyNativeType for PyArray<T, D>

§

type AsRefSource = PyArray<T, D>

The form of this which is stored inside a Py<T> smart pointer.
§

fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

Cast &self to a Borrowed smart pointer. Read more
§

fn py(&self) -> Python<'_>

Returns a GIL marker constrained to the lifetime of this type.
§

unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

Cast &PyAny to &Self without no type checking. Read more
source§

impl<T: Element, D: Dimension> PyTypeInfo for PyArray<T, D>

source§

const NAME: &'static str = "PyArray<T, D>"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
source§

fn is_type_of_bound(ob: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn type_object(py: Python<'_>) -> &PyType

👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
Returns the safe abstraction over the type object.
§

fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
Checks if object is an instance of this type.
§

fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type.
source§

impl<T, D> ToPyObject for PyArray<T, D>

source§

fn to_object(&self, py: Python<'_>) -> PyObject

Converts self into a Python object.
source§

impl<T, D> DerefToPyAny for PyArray<T, D>

Auto Trait Implementations§

§

impl<T, D> !RefUnwindSafe for PyArray<T, D>

§

impl<T, D> !Send for PyArray<T, D>

§

impl<T, D> !Sync for PyArray<T, D>

§

impl<T, D> Unpin for PyArray<T, D>
where + D: Unpin, + T: Unpin,

§

impl<T, D> UnwindSafe for PyArray<T, D>
where + D: UnwindSafe, + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<'p, T> FromPyPointer<'p> for T
where T: 'p + PyNativeType,

§

unsafe fn from_owned_ptr_or_opt( py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
Convert from an arbitrary PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_opt( + ptr: *mut PyObject +) -> Option<&'p T>

👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
Convert from an arbitrary PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_opt( _py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_owned_ptr_or_panic( + ptr: *mut PyObject +) -> Option<&'p T>

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_owned_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
Convert from an arbitrary PyObject or panic. Read more
§

unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
Convert from an arbitrary PyObject or panic. Read more
§

unsafe fn from_owned_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
Convert from an arbitrary PyObject or panic. Read more
§

unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
Convert from an arbitrary PyObject or panic. Read more
§

unsafe fn from_owned_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
Convert from an arbitrary PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_panic( + ptr: *mut PyObject +) -> Result<&'p Self, PyErr>

👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
Convert from an arbitrary PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

unsafe fn from_borrowed_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

impl<T> HasPyGilRef for T
where - T: PyNativeType,

§

type AsRefTarget = T

Utility type to make Py::as_ref work.
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ ptr: *mut PyObject +) -> Result<&'p Self, PyErr>
👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
Convert from an arbitrary borrowed PyObject. Read more
§

impl<T> HasPyGilRef for T
where + T: PyNativeType,

§

type AsRefTarget = T

Utility type to make Py::as_ref work.
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

+From<T> for U chooses to do.

§

impl<'v, T> PyTryFrom<'v> for T
where - T: PyTypeInfo<AsRefTarget = T> + PyNativeType,

§

fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
where - V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
Cast from a concrete Python object type to PyObject.
§

fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
where - V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
Cast from a concrete Python object type to PyObject. With exact type check.
§

unsafe fn try_from_unchecked<V>(value: V) -> &'v T
where - V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
Cast a PyAny to a specific type of PyObject. The caller must + T: PyTypeInfo<AsRefTarget = T> + PyNativeType,
§

fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
where + V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
Cast from a concrete Python object type to PyObject.
§

fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
where + V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
Cast from a concrete Python object type to PyObject. With exact type check.
§

unsafe fn try_from_unchecked<V>(value: V) -> &'v T
where + V: Into<&'v PyAny>,

👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
Cast a PyAny to a specific type of PyObject. The caller must have already verified the reference is for this type. Read more
§

impl<T> PyTypeCheck for T
where - T: PyTypeInfo,

§

const NAME: &'static str = <T as PyTypeInfo>::NAME

Name of self. This is used in error messages, for example.
§

fn type_check(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of Self, which may include a subtype. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where - SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file + T: PyTypeInfo,
§

const NAME: &'static str = <T as PyTypeInfo>::NAME

Name of self. This is used in error messages, for example.
§

fn type_check(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of Self, which may include a subtype. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where + SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numpy/array/trait.PyArray0Methods.html b/numpy/array/trait.PyArray0Methods.html index dd6a7321a..328e608fc 100644 --- a/numpy/array/trait.PyArray0Methods.html +++ b/numpy/array/trait.PyArray0Methods.html @@ -1,10 +1,10 @@ -PyArray0Methods in numpy::array - Rust +PyArray0Methods in numpy::array - Rust
pub trait PyArray0Methods<'py, T>: PyArrayMethods<'py, T, Ix0> {
     // Provided method
     fn item(&self) -> T
-       where T: Element + Copy { ... }
+       where T: Element + Copy { ... }
 }
Expand description

Implementation of functionality for PyArray0<T>.

Provided Methods§

source

fn item(&self) -> T
where - T: Element + Copy,

Get the single element of a zero-dimensional array.

+ T: Element + Copy,

Get the single element of a zero-dimensional array.

See inner for an example.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'py, T> PyArray0Methods<'py, T> for Bound<'py, PyArray0<T>>

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'py, T> PyArray0Methods<'py, T> for Bound<'py, PyArray0<T>>

Implementors§

\ No newline at end of file diff --git a/numpy/array/trait.PyArrayMethods.html b/numpy/array/trait.PyArrayMethods.html index 7a60c6f3c..82fa8378d 100644 --- a/numpy/array/trait.PyArrayMethods.html +++ b/numpy/array/trait.PyArrayMethods.html @@ -1,21 +1,21 @@ -PyArrayMethods in numpy::array - Rust +PyArrayMethods in numpy::array - Rust
pub trait PyArrayMethods<'py, T, D>: PyUntypedArrayMethods<'py> {
 
Show 29 methods // Required methods fn as_untyped(&self) -> &Bound<'py, PyUntypedArray>; - fn data(&self) -> *mut T; - unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T> + fn data(&self) -> *mut T; + unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T> where T: Element, D: Dimension; - unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T> + unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T> where T: Element, D: Dimension; fn to_dyn(&self) -> &Bound<'py, PyArray<T, IxDyn>> where T: Element, D: Dimension; - fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError> + fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError> where T: Element, D: Dimension; - fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError> + fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError> where T: Element, D: Dimension; unsafe fn as_array(&self) -> ArrayView<'_, T, D> @@ -33,11 +33,11 @@ fn copy_to<U: Element>( &self, other: &Bound<'py, PyArray<U, D>> - ) -> PyResult<()> + ) -> PyResult<()> where T: Element; fn cast<U: Element>( &self, - is_fortran: bool + is_fortran: bool ) -> PyResult<Bound<'py, PyArray<U, D>>> where T: Element; fn reshape_with_order<ID: IntoDimension>( @@ -46,11 +46,11 @@ order: NPY_ORDER ) -> PyResult<Bound<'py, PyArray<T, ID::Dim>>> where T: Element; - unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()> + unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()> where T: Element; unsafe fn try_as_matrix<R, C, RStride, CStride>( &self - ) -> Option<MatrixView<'_, T, R, C, RStride, CStride>> + ) -> Option<MatrixView<'_, T, R, C, RStride, CStride>> where T: Scalar + Element, D: Dimension, R: Dim, @@ -59,7 +59,7 @@ CStride: Dim; unsafe fn try_as_matrix_mut<R, C, RStride, CStride>( &self - ) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>> + ) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>> where T: Scalar + Element, D: Dimension, R: Dim, @@ -70,29 +70,29 @@ // Provided methods fn dims(&self) -> D where D: Dimension { ... } - unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError> + unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError> where T: Element, D: Dimension { ... } - unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError> + unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError> where T: Element, D: Dimension { ... } - unsafe fn uget<Idx>(&self, index: Idx) -> &T + unsafe fn uget<Idx>(&self, index: Idx) -> &T where T: Element, D: Dimension, Idx: NpyIndex<Dim = D> { ... } - unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T + unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T where T: Element, D: Dimension, Idx: NpyIndex<Dim = D> { ... } - unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T + unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T where T: Element, D: Dimension, Idx: NpyIndex<Dim = D> { ... } - fn get_owned<Idx>(&self, index: Idx) -> Option<T> + fn get_owned<Idx>(&self, index: Idx) -> Option<T> where T: Element, D: Dimension, Idx: NpyIndex<Dim = D> { ... } - fn to_vec(&self) -> Result<Vec<T>, NotContiguousError> + fn to_vec(&self) -> Result<Vec<T>, NotContiguousError> where T: Element, D: Dimension { ... } fn readonly(&self) -> PyReadonlyArray<'py, T, D> @@ -111,8 +111,8 @@ where T: Element { ... }
}
Expand description

Implementation of functionality for PyArray<T, D>.

Required Methods§

source

fn as_untyped(&self) -> &Bound<'py, PyUntypedArray>

Access an untyped representation of this array.

-
source

fn data(&self) -> *mut T

Returns a pointer to the first element of the array.

-
source

unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>
where +

source

fn data(&self) -> *mut T

Returns a pointer to the first element of the array.

+
source

unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>
where T: Element, D: Dimension,

Get a reference of the specified element if the given index is valid.

§Safety
@@ -129,7 +129,7 @@
§Example
assert_eq!(unsafe { *pyarray.get([1, 0, 3]).unwrap() }, 11); });
-
source

unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>
where +

source

unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>
where T: Element, D: Dimension,

Same as get, but returns Option<&mut T>.

§Safety
@@ -153,10 +153,10 @@
§Example
source

fn to_dyn(&self) -> &Bound<'py, PyArray<T, IxDyn>>
where T: Element, D: Dimension,

Turn an array with fixed dimensionality into one with dynamic dimensionality.

-
source

fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
where +

source

fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
where T: Element, D: Dimension,

Get an immutable borrow of the NumPy array

-
source

fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError>
where +

source

fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError>
where T: Element, D: Dimension,

Get a mutable borrow of the NumPy array

source

unsafe fn as_array(&self) -> ArrayView<'_, T, D>
where @@ -177,7 +177,7 @@
§Safety

source

fn as_raw_array_mut(&self) -> RawArrayViewMut<T, D>
where T: Element, D: Dimension,

Returns the internal array as RawArrayViewMut enabling element access via raw pointers

-
source

fn copy_to<U: Element>(&self, other: &Bound<'py, PyArray<U, D>>) -> PyResult<()>
where +

source

fn copy_to<U: Element>(&self, other: &Bound<'py, PyArray<U, D>>) -> PyResult<()>
where T: Element,

Copies self into other, performing a data type conversion if necessary.

See also PyArray_CopyInto.

§Example
@@ -194,7 +194,7 @@
§Example
});
source

fn cast<U: Element>( &self, - is_fortran: bool + is_fortran: bool ) -> PyResult<Bound<'py, PyArray<U, D>>>
where T: Element,

Cast the PyArray<T> to PyArray<U>, by allocating a new array.

See also PyArray_CastToType.

@@ -233,7 +233,7 @@
§Example
assert!(array.reshape([5]).is_err()); });
-
source

unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>
where +

source

unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>
where T: Element,

Extends or truncates the dimensions of an array.

This method works only on contiguous arrays. Missing elements will be initialized as if calling zeros.

@@ -257,7 +257,7 @@
§Example
});
source

unsafe fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, T, R, C, RStride, CStride>>
where +) -> Option<MatrixView<'_, T, R, C, RStride, CStride>>
where T: Scalar + Element, D: Dimension, R: Dim, @@ -268,7 +268,7 @@
§Safety

Calling this method invalidates all exclusive references to the internal data, e.g. ArrayViewMut or MatrixSliceMut.

source

unsafe fn try_as_matrix_mut<R, C, RStride, CStride>( &self -) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>>
where +) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>>
where T: Scalar + Element, D: Dimension, R: Dim, @@ -279,7 +279,7 @@
§Safety

Calling this method invalidates all other references to the internal data, e.g. ArrayView, MatrixSlice, ArrayViewMut or MatrixSliceMut.

Provided Methods§

source

fn dims(&self) -> D
where D: Dimension,

Same as shape, but returns D instead of &[usize].

-
source

unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError>
where +

source

unsafe fn as_slice(&self) -> Result<&[T], NotContiguousError>
where T: Element, D: Dimension,

Returns an immutable view of the internal data as a slice.

§Safety
@@ -287,7 +287,7 @@
§Safety
is aliased mutably by other instances of PyArray or concurrently modified by Python or other native code.

Please consider the safe alternative PyReadonlyArray::as_slice.

-
source

unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError>
where +

source

unsafe fn as_slice_mut(&self) -> Result<&mut [T], NotContiguousError>
where T: Element, D: Dimension,

Returns a mutable view of the internal data as a slice.

§Safety
@@ -295,7 +295,7 @@
§Safety
is aliased immutably or mutably by other instances of PyArray or concurrently modified by Python or other native code.

Please consider the safe alternative PyReadwriteArray::as_slice_mut.

-
source

unsafe fn uget<Idx>(&self, index: Idx) -> &T
where +

source

unsafe fn uget<Idx>(&self, index: Idx) -> &T
where T: Element, D: Dimension, Idx: NpyIndex<Dim = D>,

Get an immutable reference of the specified element, @@ -315,7 +315,7 @@

§Example
assert_eq!(unsafe { *pyarray.uget([1, 0, 3]) }, 11); });
-
source

unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T
where +

source

unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T
where T: Element, D: Dimension, Idx: NpyIndex<Dim = D>,

Same as uget, but returns &mut T.

@@ -324,13 +324,13 @@
§Safety
The element must also have been initialized and other references to it must not exist.

See PyReadwriteArray::get_mut for a safe alternative.

-
source

unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T
where +

source

unsafe fn uget_raw<Idx>(&self, index: Idx) -> *mut T
where T: Element, D: Dimension, Idx: NpyIndex<Dim = D>,

Same as uget, but returns *mut T.

§Safety

Passing an invalid index is undefined behavior.

-
source

fn get_owned<Idx>(&self, index: Idx) -> Option<T>
where +

source

fn get_owned<Idx>(&self, index: Idx) -> Option<T>
where T: Element, D: Dimension, Idx: NpyIndex<Dim = D>,

Get a copy of the specified element in the array.

@@ -344,9 +344,9 @@
§Example
assert_eq!(pyarray.get_owned([1, 0, 3]), Some(11)); });
-
source

fn to_vec(&self) -> Result<Vec<T>, NotContiguousError>
where +

source

fn to_vec(&self) -> Result<Vec<T>, NotContiguousError>
where T: Element, - D: Dimension,

Returns a copy of the internal data of the array as a Vec.

+ D: Dimension,

Returns a copy of the internal data of the array as a Vec.

Fails if the internal array is not contiguous. See also as_slice.

§Example
use numpy::{PyArray2, PyArrayMethods};
@@ -395,13 +395,13 @@ 
§Example
dims: ID ) -> PyResult<Bound<'py, PyArray<T, ID::Dim>>>
where T: Element,

Special case of reshape_with_order which keeps the memory order the same.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'py, T, D> PyArrayMethods<'py, T, D> for Bound<'py, PyArray<T, D>>

source§

fn as_untyped(&self) -> &Bound<'py, PyUntypedArray>

source§

fn data(&self) -> *mut T

source§

unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>
where +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'py, T, D> PyArrayMethods<'py, T, D> for Bound<'py, PyArray<T, D>>

source§

fn as_untyped(&self) -> &Bound<'py, PyUntypedArray>

source§

fn data(&self) -> *mut T

source§

unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>
where T: Element, - D: Dimension,

source§

unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>
where + D: Dimension,

source§

unsafe fn get_mut(&self, index: impl NpyIndex<Dim = D>) -> Option<&mut T>
where T: Element, - D: Dimension,

source§

fn to_dyn(&self) -> &Bound<'py, PyArray<T, IxDyn>>

source§

fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
where + D: Dimension,

source§

fn to_dyn(&self) -> &Bound<'py, PyArray<T, IxDyn>>

source§

fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
where T: Element, - D: Dimension,

source§

fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError>
where + D: Dimension,

source§

fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError>
where T: Element, D: Dimension,

source§

unsafe fn as_array(&self) -> ArrayView<'_, T, D>
where T: Element, @@ -411,20 +411,20 @@
§Example
T: Element, D: Dimension,

source§

fn as_raw_array_mut(&self) -> RawArrayViewMut<T, D>
where T: Element, - D: Dimension,

source§

fn copy_to<U: Element>(&self, other: &Bound<'py, PyArray<U, D>>) -> PyResult<()>
where + D: Dimension,

source§

fn copy_to<U: Element>(&self, other: &Bound<'py, PyArray<U, D>>) -> PyResult<()>
where T: Element,

source§

fn cast<U: Element>( &self, - is_fortran: bool + is_fortran: bool ) -> PyResult<Bound<'py, PyArray<U, D>>>
where T: Element,

source§

fn reshape_with_order<ID: IntoDimension>( &self, dims: ID, order: NPY_ORDER ) -> PyResult<Bound<'py, PyArray<T, ID::Dim>>>
where - T: Element,

source§

unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>
where + T: Element,

source§

unsafe fn resize<ID: IntoDimension>(&self, dims: ID) -> PyResult<()>
where T: Element,

source§

unsafe fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, T, R, C, RStride, CStride>>
where +) -> Option<MatrixView<'_, T, R, C, RStride, CStride>>
where T: Scalar + Element, D: Dimension, R: Dim, @@ -432,7 +432,7 @@
§Example
RStride: Dim, CStride: Dim,

source§

unsafe fn try_as_matrix_mut<R, C, RStride, CStride>( &self -) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>>
where +) -> Option<MatrixViewMut<'_, T, R, C, RStride, CStride>>
where T: Scalar + Element, D: Dimension, R: Dim, diff --git a/numpy/array/type.PyArray0.html b/numpy/array/type.PyArray0.html index d4145f998..51aee4c88 100644 --- a/numpy/array/type.PyArray0.html +++ b/numpy/array/type.PyArray0.html @@ -1,3 +1,3 @@ -PyArray0 in numpy::array - Rust +PyArray0 in numpy::array - Rust

Type Alias numpy::array::PyArray0

source ·
pub type PyArray0<T> = PyArray<T, Ix0>;
Expand description

Zero-dimensional array.

Aliased Type§

struct PyArray0<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray1.html b/numpy/array/type.PyArray1.html index 1e601a671..56fb4d3aa 100644 --- a/numpy/array/type.PyArray1.html +++ b/numpy/array/type.PyArray1.html @@ -1,3 +1,3 @@ -PyArray1 in numpy::array - Rust +PyArray1 in numpy::array - Rust

Type Alias numpy::array::PyArray1

source ·
pub type PyArray1<T> = PyArray<T, Ix1>;
Expand description

One-dimensional array.

Aliased Type§

struct PyArray1<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray2.html b/numpy/array/type.PyArray2.html index 339963adc..6401bc871 100644 --- a/numpy/array/type.PyArray2.html +++ b/numpy/array/type.PyArray2.html @@ -1,3 +1,3 @@ -PyArray2 in numpy::array - Rust +PyArray2 in numpy::array - Rust

Type Alias numpy::array::PyArray2

source ·
pub type PyArray2<T> = PyArray<T, Ix2>;
Expand description

Two-dimensional array.

Aliased Type§

struct PyArray2<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray3.html b/numpy/array/type.PyArray3.html index 4d2fd8cf6..2b7f0b67f 100644 --- a/numpy/array/type.PyArray3.html +++ b/numpy/array/type.PyArray3.html @@ -1,3 +1,3 @@ -PyArray3 in numpy::array - Rust +PyArray3 in numpy::array - Rust

Type Alias numpy::array::PyArray3

source ·
pub type PyArray3<T> = PyArray<T, Ix3>;
Expand description

Three-dimensional array.

Aliased Type§

struct PyArray3<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray4.html b/numpy/array/type.PyArray4.html index bd21e29d5..289bdde0e 100644 --- a/numpy/array/type.PyArray4.html +++ b/numpy/array/type.PyArray4.html @@ -1,3 +1,3 @@ -PyArray4 in numpy::array - Rust +PyArray4 in numpy::array - Rust

Type Alias numpy::array::PyArray4

source ·
pub type PyArray4<T> = PyArray<T, Ix4>;
Expand description

Four-dimensional array.

Aliased Type§

struct PyArray4<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray5.html b/numpy/array/type.PyArray5.html index 50bbc5e56..22c46dd1b 100644 --- a/numpy/array/type.PyArray5.html +++ b/numpy/array/type.PyArray5.html @@ -1,3 +1,3 @@ -PyArray5 in numpy::array - Rust +PyArray5 in numpy::array - Rust

Type Alias numpy::array::PyArray5

source ·
pub type PyArray5<T> = PyArray<T, Ix5>;
Expand description

Five-dimensional array.

Aliased Type§

struct PyArray5<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArray6.html b/numpy/array/type.PyArray6.html index f8d566b9d..b892469c6 100644 --- a/numpy/array/type.PyArray6.html +++ b/numpy/array/type.PyArray6.html @@ -1,3 +1,3 @@ -PyArray6 in numpy::array - Rust +PyArray6 in numpy::array - Rust

Type Alias numpy::array::PyArray6

source ·
pub type PyArray6<T> = PyArray<T, Ix6>;
Expand description

Six-dimensional array.

Aliased Type§

struct PyArray6<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/array/type.PyArrayDyn.html b/numpy/array/type.PyArrayDyn.html index f6824a8d0..ee4b800ae 100644 --- a/numpy/array/type.PyArrayDyn.html +++ b/numpy/array/type.PyArrayDyn.html @@ -1,3 +1,3 @@ -PyArrayDyn in numpy::array - Rust +PyArrayDyn in numpy::array - Rust

Type Alias numpy::array::PyArrayDyn

source ·
pub type PyArrayDyn<T> = PyArray<T, IxDyn>;
Expand description

Dynamic-dimensional array.

Aliased Type§

struct PyArrayDyn<T>(/* private fields */);
\ No newline at end of file diff --git a/numpy/borrow/index.html b/numpy/borrow/index.html index 2973aac52..d83c6a5ef 100644 --- a/numpy/borrow/index.html +++ b/numpy/borrow/index.html @@ -1,4 +1,4 @@ -numpy::borrow - Rust +numpy::borrow - Rust

Module numpy::borrow

source ·
Expand description

Types to safely create references into NumPy arrays

It is assumed that unchecked code - which includes unsafe Rust and Python - is validated by its author which together with the dynamic borrow checking performed by this crate ensures that diff --git a/numpy/borrow/struct.PyReadonlyArray.html b/numpy/borrow/struct.PyReadonlyArray.html index bc05baeeb..7de395c71 100644 --- a/numpy/borrow/struct.PyReadonlyArray.html +++ b/numpy/borrow/struct.PyReadonlyArray.html @@ -1,4 +1,4 @@ -PyReadonlyArray in numpy::borrow - Rust

+PyReadonlyArray in numpy::borrow - Rust
pub struct PyReadonlyArray<'py, T, D>
where T: Element, D: Dimension,
{ /* private fields */ }
Expand description

Read-only borrow of an array.

@@ -8,14 +8,14 @@

Implementations§

source§

impl<'py, T, D> PyReadonlyArray<'py, T, D>
where T: Element, D: Dimension,

source

pub fn as_array(&self) -> ArrayView<'_, T, D>

Provides an immutable array view of the interior of the NumPy array.

-
source

pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

-
source

pub fn get<I>(&self, index: I) -> Option<&T>
where +

source

pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

+
source

pub fn get<I>(&self, index: I) -> Option<&T>
where I: NpyIndex<Dim = D>,

Provide an immutable reference to an element of the NumPy array if the index is within bounds.

source§

impl<'py, N, D> PyReadonlyArray<'py, N, D>
where N: Scalar + Element, D: Dimension,

source

pub fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where +) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where R: Dim, C: Dim, RStride: Dim, @@ -60,7 +60,7 @@
§Panics
N: Scalar + Element,

source

pub fn as_matrix(&self) -> DMatrixView<'_, N, Dyn, Dyn>

Convert this two-dimensional array into a nalgebra::DMatrixView using dynamic strides.

§Panics

Panics if the array has negative strides.

-

Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

pub fn borrow(&self) -> PyRef<'py, T>

Immutably borrows the value T.

+

Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

pub fn borrow(&self) -> PyRef<'py, T>

Immutably borrows the value T.

This borrow lasts while the returned [PyRef] exists. Multiple immutable borrows can be taken out at the same time.

For frozen classes, the simpler [get][Self::get] is available.

@@ -99,17 +99,17 @@
§Examples
§Panics

Panics if the value is currently borrowed. For a non-panicking variant, use try_borrow_mut.

-

pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

+

pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

The borrow lasts while the returned [PyRef] exists.

This is the non-panicking variant of borrow.

For frozen classes, the simpler [get][Self::get] is available.

-

pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
where +

pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
where T: PyClass<Frozen = False>,

Attempts to mutably borrow the value T, returning an error if the value is currently borrowed.

The borrow lasts while the returned [PyRefMut] exists.

This is the non-panicking variant of borrow_mut.

-

pub fn get(&self) -> &T
where - T: PyClass<Frozen = True> + Sync,

Provide an immutable borrow of the value T without acquiring the GIL.

-

This is available if the class is [frozen][macro@crate::pyclass] and Sync.

+

pub fn get(&self) -> &T
where + T: PyClass<Frozen = True> + Sync,

Provide an immutable borrow of the value T without acquiring the GIL.

+

This is available if the class is [frozen][macro@crate::pyclass] and Sync.

§Examples
use std::sync::atomic::{AtomicUsize, Ordering};
 
@@ -126,7 +126,7 @@ 
§Examples
py_counter.get().value.fetch_add(1, Ordering::Relaxed); });

pub fn py(&self) -> Python<'py>

Returns the GIL token associated with this object.

-

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

+

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

§Safety

Callers are responsible for ensuring that the pointer does not outlive self.

The reference is borrowed; callers should not decrease the reference count @@ -138,30 +138,30 @@

§Safety

pub fn as_gil_ref(&'py self) -> &'py <T as HasPyGilRef>::AsRefTarget
where T: HasPyGilRef,

Casts this Bound<T> as the corresponding “GIL Ref” type.

This is a helper to be used for migration from the deprecated “GIL Refs” API.

-

Trait Implementations§

source§

impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
where +

Trait Implementations§

source§

impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
where T: Element, - D: Dimension,

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'py, T, D> Debug for PyReadonlyArray<'py, T, D>
where + D: Dimension,

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'py, T, D> Debug for PyReadonlyArray<'py, T, D>
where T: Element, - D: Dimension,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'py, T, D> Deref for PyReadonlyArray<'py, T, D>
where + D: Dimension,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'py, T, D> Deref for PyReadonlyArray<'py, T, D>
where T: Element, - D: Dimension,

§

type Target = Bound<'py, PyArray<T, D>>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'py, T, D> Drop for PyReadonlyArray<'py, T, D>
where + D: Dimension,

§

type Target = Bound<'py, PyArray<T, D>>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'py, T, D> Drop for PyReadonlyArray<'py, T, D>
where T: Element, - D: Dimension,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadonlyArray<'py, T, D>

source§

fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more

Auto Trait Implementations§

§

impl<'py, T, D> !RefUnwindSafe for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> !Send for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> !Sync for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> Unpin for PyReadonlyArray<'py, T, D>
where - D: Unpin, - T: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
where - D: UnwindSafe, - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ D: Dimension,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadonlyArray<'py, T, D>

source§

fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more

Auto Trait Implementations§

§

impl<'py, T, D> !RefUnwindSafe for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> !Send for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> !Sync for PyReadonlyArray<'py, T, D>

§

impl<'py, T, D> Unpin for PyReadonlyArray<'py, T, D>
where + D: Unpin, + T: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
where + D: UnwindSafe, + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<'py, T> FromPyObjectBound<'_, 'py> for T
where - T: FromPyObject<'py>,

§

fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

Extracts Self from the bound smart pointer obj. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: FromPyObject<'py>,
§

fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

Extracts Self from the bound smart pointer obj. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

+From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where - SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToOwned for T
where - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file + SS: SubsetOf<SP>,
§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T> ToOwned for T
where + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numpy/borrow/struct.PyReadwriteArray.html b/numpy/borrow/struct.PyReadwriteArray.html index e05c81bc2..0447970f5 100644 --- a/numpy/borrow/struct.PyReadwriteArray.html +++ b/numpy/borrow/struct.PyReadwriteArray.html @@ -1,4 +1,4 @@ -PyReadwriteArray in numpy::borrow - Rust +PyReadwriteArray in numpy::borrow - Rust
pub struct PyReadwriteArray<'py, T, D>
where T: Element, D: Dimension,
{ /* private fields */ }
Expand description

Read-write borrow of an array.

@@ -8,14 +8,14 @@

Implementations§

source§

impl<'py, T, D> PyReadwriteArray<'py, T, D>
where T: Element, D: Dimension,

source

pub fn as_array_mut(&mut self) -> ArrayViewMut<'_, T, D>

Provides a mutable array view of the interior of the NumPy array.

-
source

pub fn as_slice_mut(&mut self) -> Result<&mut [T], NotContiguousError>

Provide a mutable slice view of the interior of the NumPy array if it is contiguous.

-
source

pub fn get_mut<I>(&mut self, index: I) -> Option<&mut T>
where +

source

pub fn as_slice_mut(&mut self) -> Result<&mut [T], NotContiguousError>

Provide a mutable slice view of the interior of the NumPy array if it is contiguous.

+
source

pub fn get_mut<I>(&mut self, index: I) -> Option<&mut T>
where I: NpyIndex<Dim = D>,

Provide a mutable reference to an element of the NumPy array if the index is within bounds.

source§

impl<'py, N, D> PyReadwriteArray<'py, N, D>
where N: Scalar + Element, D: Dimension,

source

pub fn try_as_matrix_mut<R, C, RStride, CStride>( &self -) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
where +) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
where R: Dim, C: Dim, RStride: Dim, @@ -44,13 +44,13 @@
§Example
let pyarray = pyarray.resize(100).unwrap(); assert_eq!(pyarray.len(), 100); });
-

Methods from Deref<Target = PyReadonlyArray<'py, T, D>>§

source

pub fn as_array(&self) -> ArrayView<'_, T, D>

Provides an immutable array view of the interior of the NumPy array.

-
source

pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

-
source

pub fn get<I>(&self, index: I) -> Option<&T>
where +

Methods from Deref<Target = PyReadonlyArray<'py, T, D>>§

source

pub fn as_array(&self) -> ArrayView<'_, T, D>

Provides an immutable array view of the interior of the NumPy array.

+
source

pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

+
source

pub fn get<I>(&self, index: I) -> Option<&T>
where I: NpyIndex<Dim = D>,

Provide an immutable reference to an element of the NumPy array if the index is within bounds.

source

pub fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where +) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
where R: Dim, C: Dim, RStride: Dim, @@ -93,7 +93,7 @@
§Panics

source

pub fn as_matrix(&self) -> DMatrixView<'_, N, Dyn, Dyn>

Convert this two-dimensional array into a nalgebra::DMatrixView using dynamic strides.

§Panics

Panics if the array has negative strides.

-

Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

pub fn borrow(&self) -> PyRef<'py, T>

Immutably borrows the value T.

+

Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

pub fn borrow(&self) -> PyRef<'py, T>

Immutably borrows the value T.

This borrow lasts while the returned [PyRef] exists. Multiple immutable borrows can be taken out at the same time.

For frozen classes, the simpler [get][Self::get] is available.

@@ -132,17 +132,17 @@
§Examples
§Panics

Panics if the value is currently borrowed. For a non-panicking variant, use try_borrow_mut.

-

pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

+

pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

The borrow lasts while the returned [PyRef] exists.

This is the non-panicking variant of borrow.

For frozen classes, the simpler [get][Self::get] is available.

-

pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
where +

pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
where T: PyClass<Frozen = False>,

Attempts to mutably borrow the value T, returning an error if the value is currently borrowed.

The borrow lasts while the returned [PyRefMut] exists.

This is the non-panicking variant of borrow_mut.

-

pub fn get(&self) -> &T
where - T: PyClass<Frozen = True> + Sync,

Provide an immutable borrow of the value T without acquiring the GIL.

-

This is available if the class is [frozen][macro@crate::pyclass] and Sync.

+

pub fn get(&self) -> &T
where + T: PyClass<Frozen = True> + Sync,

Provide an immutable borrow of the value T without acquiring the GIL.

+

This is available if the class is [frozen][macro@crate::pyclass] and Sync.

§Examples
use std::sync::atomic::{AtomicUsize, Ordering};
 
@@ -159,7 +159,7 @@ 
§Examples
py_counter.get().value.fetch_add(1, Ordering::Relaxed); });

pub fn py(&self) -> Python<'py>

Returns the GIL token associated with this object.

-

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

+

pub fn as_ptr(&self) -> *mut PyObject

Returns the raw FFI pointer represented by self.

§Safety

Callers are responsible for ensuring that the pointer does not outlive self.

The reference is borrowed; callers should not decrease the reference count @@ -171,27 +171,27 @@

§Safety

pub fn as_gil_ref(&'py self) -> &'py <T as HasPyGilRef>::AsRefTarget
where T: HasPyGilRef,

Casts this Bound<T> as the corresponding “GIL Ref” type.

This is a helper to be used for migration from the deprecated “GIL Refs” API.

-

Trait Implementations§

source§

impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
where +

Trait Implementations§

source§

impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
where T: Element, - D: Dimension,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
where + D: Dimension,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
where T: Element, - D: Dimension,

§

type Target = PyReadonlyArray<'py, T, D>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
where + D: Dimension,

§

type Target = PyReadonlyArray<'py, T, D>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
where T: Element, - D: Dimension,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadwriteArray<'py, T, D>

source§

fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more

Auto Trait Implementations§

§

impl<'py, T, D> !RefUnwindSafe for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> !Send for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> !Sync for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> Unpin for PyReadwriteArray<'py, T, D>
where - D: Unpin, - T: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
where - D: UnwindSafe, - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ D: Dimension,
source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadwriteArray<'py, T, D>

source§

fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

Extracts Self from the bound smart pointer obj. Read more
§

fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

Extracts Self from the source GIL Ref obj. Read more

Auto Trait Implementations§

§

impl<'py, T, D> !RefUnwindSafe for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> !Send for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> !Sync for PyReadwriteArray<'py, T, D>

§

impl<'py, T, D> Unpin for PyReadwriteArray<'py, T, D>
where + D: Unpin, + T: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
where + D: UnwindSafe, + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<'py, T> FromPyObjectBound<'_, 'py> for T
where - T: FromPyObject<'py>,

§

fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

Extracts Self from the bound smart pointer obj. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: FromPyObject<'py>,
§

fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

Extracts Self from the bound smart pointer obj. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

+From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where - SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file + SS: SubsetOf<SP>,
§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray0.html b/numpy/borrow/type.PyReadonlyArray0.html index cedd009c4..5b3a2094c 100644 --- a/numpy/borrow/type.PyReadonlyArray0.html +++ b/numpy/borrow/type.PyReadonlyArray0.html @@ -1,3 +1,3 @@ -PyReadonlyArray0 in numpy::borrow - Rust +PyReadonlyArray0 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray0

source ·
pub type PyReadonlyArray0<'py, T> = PyReadonlyArray<'py, T, Ix0>;
Expand description

Read-only borrow of a zero-dimensional array.

Aliased Type§

struct PyReadonlyArray0<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray1.html b/numpy/borrow/type.PyReadonlyArray1.html index 9f2d4205e..cf7f64621 100644 --- a/numpy/borrow/type.PyReadonlyArray1.html +++ b/numpy/borrow/type.PyReadonlyArray1.html @@ -1,3 +1,3 @@ -PyReadonlyArray1 in numpy::borrow - Rust +PyReadonlyArray1 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray1

source ·
pub type PyReadonlyArray1<'py, T> = PyReadonlyArray<'py, T, Ix1>;
Expand description

Read-only borrow of a one-dimensional array.

Aliased Type§

struct PyReadonlyArray1<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray2.html b/numpy/borrow/type.PyReadonlyArray2.html index 8b20c510b..d79d6d597 100644 --- a/numpy/borrow/type.PyReadonlyArray2.html +++ b/numpy/borrow/type.PyReadonlyArray2.html @@ -1,3 +1,3 @@ -PyReadonlyArray2 in numpy::borrow - Rust +PyReadonlyArray2 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray2

source ·
pub type PyReadonlyArray2<'py, T> = PyReadonlyArray<'py, T, Ix2>;
Expand description

Read-only borrow of a two-dimensional array.

Aliased Type§

struct PyReadonlyArray2<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray3.html b/numpy/borrow/type.PyReadonlyArray3.html index 99fa32bd5..ab7456d42 100644 --- a/numpy/borrow/type.PyReadonlyArray3.html +++ b/numpy/borrow/type.PyReadonlyArray3.html @@ -1,3 +1,3 @@ -PyReadonlyArray3 in numpy::borrow - Rust +PyReadonlyArray3 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray3

source ·
pub type PyReadonlyArray3<'py, T> = PyReadonlyArray<'py, T, Ix3>;
Expand description

Read-only borrow of a three-dimensional array.

Aliased Type§

struct PyReadonlyArray3<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray4.html b/numpy/borrow/type.PyReadonlyArray4.html index 4a26fe603..5a68ea9d5 100644 --- a/numpy/borrow/type.PyReadonlyArray4.html +++ b/numpy/borrow/type.PyReadonlyArray4.html @@ -1,3 +1,3 @@ -PyReadonlyArray4 in numpy::borrow - Rust +PyReadonlyArray4 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray4

source ·
pub type PyReadonlyArray4<'py, T> = PyReadonlyArray<'py, T, Ix4>;
Expand description

Read-only borrow of a four-dimensional array.

Aliased Type§

struct PyReadonlyArray4<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray5.html b/numpy/borrow/type.PyReadonlyArray5.html index 75b9815de..a078072b2 100644 --- a/numpy/borrow/type.PyReadonlyArray5.html +++ b/numpy/borrow/type.PyReadonlyArray5.html @@ -1,3 +1,3 @@ -PyReadonlyArray5 in numpy::borrow - Rust +PyReadonlyArray5 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray5

source ·
pub type PyReadonlyArray5<'py, T> = PyReadonlyArray<'py, T, Ix5>;
Expand description

Read-only borrow of a five-dimensional array.

Aliased Type§

struct PyReadonlyArray5<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArray6.html b/numpy/borrow/type.PyReadonlyArray6.html index a300d4adc..23f95bbe4 100644 --- a/numpy/borrow/type.PyReadonlyArray6.html +++ b/numpy/borrow/type.PyReadonlyArray6.html @@ -1,3 +1,3 @@ -PyReadonlyArray6 in numpy::borrow - Rust +PyReadonlyArray6 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArray6

source ·
pub type PyReadonlyArray6<'py, T> = PyReadonlyArray<'py, T, Ix6>;
Expand description

Read-only borrow of a six-dimensional array.

Aliased Type§

struct PyReadonlyArray6<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadonlyArrayDyn.html b/numpy/borrow/type.PyReadonlyArrayDyn.html index b99825873..5fc2f5ef5 100644 --- a/numpy/borrow/type.PyReadonlyArrayDyn.html +++ b/numpy/borrow/type.PyReadonlyArrayDyn.html @@ -1,3 +1,3 @@ -PyReadonlyArrayDyn in numpy::borrow - Rust +PyReadonlyArrayDyn in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadonlyArrayDyn

source ·
pub type PyReadonlyArrayDyn<'py, T> = PyReadonlyArray<'py, T, IxDyn>;
Expand description

Read-only borrow of an array whose dimensionality is determined at runtime.

Aliased Type§

struct PyReadonlyArrayDyn<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray0.html b/numpy/borrow/type.PyReadwriteArray0.html index ca190025c..b008f8009 100644 --- a/numpy/borrow/type.PyReadwriteArray0.html +++ b/numpy/borrow/type.PyReadwriteArray0.html @@ -1,3 +1,3 @@ -PyReadwriteArray0 in numpy::borrow - Rust +PyReadwriteArray0 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray0

source ·
pub type PyReadwriteArray0<'py, T> = PyReadwriteArray<'py, T, Ix0>;
Expand description

Read-write borrow of a zero-dimensional array.

Aliased Type§

struct PyReadwriteArray0<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray1.html b/numpy/borrow/type.PyReadwriteArray1.html index 7df7d487d..88e36d384 100644 --- a/numpy/borrow/type.PyReadwriteArray1.html +++ b/numpy/borrow/type.PyReadwriteArray1.html @@ -1,3 +1,3 @@ -PyReadwriteArray1 in numpy::borrow - Rust +PyReadwriteArray1 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray1

source ·
pub type PyReadwriteArray1<'py, T> = PyReadwriteArray<'py, T, Ix1>;
Expand description

Read-write borrow of a one-dimensional array.

Aliased Type§

struct PyReadwriteArray1<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray2.html b/numpy/borrow/type.PyReadwriteArray2.html index d40358840..5ac6ae4be 100644 --- a/numpy/borrow/type.PyReadwriteArray2.html +++ b/numpy/borrow/type.PyReadwriteArray2.html @@ -1,3 +1,3 @@ -PyReadwriteArray2 in numpy::borrow - Rust +PyReadwriteArray2 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray2

source ·
pub type PyReadwriteArray2<'py, T> = PyReadwriteArray<'py, T, Ix2>;
Expand description

Read-write borrow of a two-dimensional array.

Aliased Type§

struct PyReadwriteArray2<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray3.html b/numpy/borrow/type.PyReadwriteArray3.html index 87a936afc..6d87ac67b 100644 --- a/numpy/borrow/type.PyReadwriteArray3.html +++ b/numpy/borrow/type.PyReadwriteArray3.html @@ -1,3 +1,3 @@ -PyReadwriteArray3 in numpy::borrow - Rust +PyReadwriteArray3 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray3

source ·
pub type PyReadwriteArray3<'py, T> = PyReadwriteArray<'py, T, Ix3>;
Expand description

Read-write borrow of a three-dimensional array.

Aliased Type§

struct PyReadwriteArray3<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray4.html b/numpy/borrow/type.PyReadwriteArray4.html index db6c1f57d..70b580982 100644 --- a/numpy/borrow/type.PyReadwriteArray4.html +++ b/numpy/borrow/type.PyReadwriteArray4.html @@ -1,3 +1,3 @@ -PyReadwriteArray4 in numpy::borrow - Rust +PyReadwriteArray4 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray4

source ·
pub type PyReadwriteArray4<'py, T> = PyReadwriteArray<'py, T, Ix4>;
Expand description

Read-write borrow of a four-dimensional array.

Aliased Type§

struct PyReadwriteArray4<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray5.html b/numpy/borrow/type.PyReadwriteArray5.html index 6bd09966b..6c2df9531 100644 --- a/numpy/borrow/type.PyReadwriteArray5.html +++ b/numpy/borrow/type.PyReadwriteArray5.html @@ -1,3 +1,3 @@ -PyReadwriteArray5 in numpy::borrow - Rust +PyReadwriteArray5 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray5

source ·
pub type PyReadwriteArray5<'py, T> = PyReadwriteArray<'py, T, Ix5>;
Expand description

Read-write borrow of a five-dimensional array.

Aliased Type§

struct PyReadwriteArray5<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArray6.html b/numpy/borrow/type.PyReadwriteArray6.html index bef308343..c0380ab6d 100644 --- a/numpy/borrow/type.PyReadwriteArray6.html +++ b/numpy/borrow/type.PyReadwriteArray6.html @@ -1,3 +1,3 @@ -PyReadwriteArray6 in numpy::borrow - Rust +PyReadwriteArray6 in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArray6

source ·
pub type PyReadwriteArray6<'py, T> = PyReadwriteArray<'py, T, Ix6>;
Expand description

Read-write borrow of a six-dimensional array.

Aliased Type§

struct PyReadwriteArray6<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/borrow/type.PyReadwriteArrayDyn.html b/numpy/borrow/type.PyReadwriteArrayDyn.html index bae086f7c..adc933546 100644 --- a/numpy/borrow/type.PyReadwriteArrayDyn.html +++ b/numpy/borrow/type.PyReadwriteArrayDyn.html @@ -1,3 +1,3 @@ -PyReadwriteArrayDyn in numpy::borrow - Rust +PyReadwriteArrayDyn in numpy::borrow - Rust

Type Alias numpy::borrow::PyReadwriteArrayDyn

source ·
pub type PyReadwriteArrayDyn<'py, T> = PyReadwriteArray<'py, T, IxDyn>;
Expand description

Read-write borrow of an array whose dimensionality is determined at runtime.

Aliased Type§

struct PyReadwriteArrayDyn<'py, T> { /* private fields */ }
\ No newline at end of file diff --git a/numpy/convert/index.html b/numpy/convert/index.html index 7a2156aec..ab954a1de 100644 --- a/numpy/convert/index.html +++ b/numpy/convert/index.html @@ -1,3 +1,3 @@ -numpy::convert - Rust +numpy::convert - Rust

Module numpy::convert

source ·
Expand description

Defines conversion traits between Rust types and NumPy data types.

Traits§

  • Conversion trait from owning Rust types into PyArray.
  • Trait implemented by types that can be used to index an array.
  • Utility trait to specify the dimensions of an array.
  • Conversion trait from borrowing Rust types to PyArray.
\ No newline at end of file diff --git a/numpy/convert/trait.IntoPyArray.html b/numpy/convert/trait.IntoPyArray.html index ab6070a5b..c85512e3d 100644 --- a/numpy/convert/trait.IntoPyArray.html +++ b/numpy/convert/trait.IntoPyArray.html @@ -1,5 +1,5 @@ -IntoPyArray in numpy::convert - Rust -
pub trait IntoPyArray: Sized {
+IntoPyArray in numpy::convert - Rust
+    
pub trait IntoPyArray: Sized {
     type Item: Element;
     type Dim: Dimension;
 
@@ -41,15 +41,15 @@ 

§Example

self, py: Python<'py> ) -> &'py PyArray<Self::Item, Self::Dim>
👎Deprecated since 0.21.0: will be replaced by IntoPyArray::into_pyarray_bound in the future

Deprecated form of IntoPyArray::into_pyarray_bound

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, D> IntoPyArray for ArrayBase<OwnedRepr<A>, D>
where +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, D> IntoPyArray for ArrayBase<OwnedRepr<A>, D>
where A: Element, D: Dimension,

§

type Item = A

§

type Dim = D

source§

fn into_pyarray_bound<'py>( self, py: Python<'py> -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Box<[T]>

§

type Item = T

§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray_bound<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Box<[T]>

§

type Item = T

§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray_bound<'py>( self, py: Python<'py> -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Vec<T>

§

type Item = T

§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray_bound<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Vec<T>

§

type Item = T

§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray_bound<'py>( self, py: Python<'py> ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

Implementors§

\ No newline at end of file diff --git a/numpy/convert/trait.NpyIndex.html b/numpy/convert/trait.NpyIndex.html index 7853d7613..0b237ee26 100644 --- a/numpy/convert/trait.NpyIndex.html +++ b/numpy/convert/trait.NpyIndex.html @@ -1,4 +1,4 @@ -NpyIndex in numpy::convert - Rust +NpyIndex in numpy::convert - Rust

Trait numpy::convert::NpyIndex

source ·
pub trait NpyIndex: IntoDimension + Sealed { }
Expand description

Trait implemented by types that can be used to index an array.

This is equivalent to ndarray::NdIndex but accounts for NumPy strides being in units of bytes instead of elements.

@@ -9,4 +9,4 @@
  • array
  • slice
  • -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/numpy/convert/trait.ToNpyDims.html b/numpy/convert/trait.ToNpyDims.html index b4418dfbb..b560b471b 100644 --- a/numpy/convert/trait.ToNpyDims.html +++ b/numpy/convert/trait.ToNpyDims.html @@ -1,4 +1,4 @@ -ToNpyDims in numpy::convert - Rust +ToNpyDims in numpy::convert - Rust

    Trait numpy::convert::ToNpyDims

    source ·
    pub trait ToNpyDims: Dimension + Sealed { }
    Expand description

    Utility trait to specify the dimensions of an array.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<D> ToNpyDims for D
    where +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<D> ToNpyDims for D
    where D: Dimension,

    \ No newline at end of file diff --git a/numpy/convert/trait.ToPyArray.html b/numpy/convert/trait.ToPyArray.html index ab465a0a2..4856492ad 100644 --- a/numpy/convert/trait.ToPyArray.html +++ b/numpy/convert/trait.ToPyArray.html @@ -1,4 +1,4 @@ -ToPyArray in numpy::convert - Rust +ToPyArray in numpy::convert - Rust

    Trait numpy::convert::ToPyArray

    source ·
    pub trait ToPyArray {
         type Item: Element;
         type Dim: Dimension;
    @@ -58,13 +58,13 @@ 

    §Examples

    py: Python<'py> ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    Note that the NumPy array always has Fortran memory layout matching the memory layout used by nalgebra.

    -
    §

    type Item = N

    §

    type Dim = Dim<[usize; 2]>

    source§

    impl<S, D, A> ToPyArray for ArrayBase<S, D>
    where +

    §

    type Item = N

    §

    type Dim = Dim<[usize; 2]>

    source§

    impl<S, D, A> ToPyArray for ArrayBase<S, D>
    where S: Data<Elem = A>, D: Dimension, A: Element,

    §

    type Item = A

    §

    type Dim = D

    source§

    fn to_pyarray_bound<'py>( &self, py: Python<'py> -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    source§

    impl<T: Element> ToPyArray for [T]

    §

    type Item = T

    §

    type Dim = Dim<[usize; 1]>

    source§

    fn to_pyarray_bound<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    source§

    impl<T: Element> ToPyArray for [T]

    §

    type Item = T

    §

    type Dim = Dim<[usize; 1]>

    source§

    fn to_pyarray_bound<'py>( &self, py: Python<'py> ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    Implementors§

    \ No newline at end of file diff --git a/numpy/datetime/index.html b/numpy/datetime/index.html index 536fb78f6..abba59566 100644 --- a/numpy/datetime/index.html +++ b/numpy/datetime/index.html @@ -1,4 +1,4 @@ -numpy::datetime - Rust +numpy::datetime - Rust

    Module numpy::datetime

    source ·
    Expand description

    Support datetimes and timedeltas

    This module provides wrappers for NumPy’s datetime64 and timedelta64 types which are used for time keeping with with an emphasis on scientific applications. diff --git a/numpy/datetime/struct.Datetime.html b/numpy/datetime/struct.Datetime.html index f882c7e59..151dcaebe 100644 --- a/numpy/datetime/struct.Datetime.html +++ b/numpy/datetime/struct.Datetime.html @@ -1,30 +1,30 @@ -Datetime in numpy::datetime - Rust

    +Datetime in numpy::datetime - Rust

    Struct numpy::datetime::Datetime

    source ·
    pub struct Datetime<U: Unit>(/* private fields */);
    Expand description

    Corresponds to the datetime64 scalar type

    -

    Trait Implementations§

    source§

    impl<U: Clone + Unit> Clone for Datetime<U>

    source§

    fn clone(&self) -> Datetime<U>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<U: Unit> Debug for Datetime<U>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<U: Unit> Element for Datetime<U>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<U: Unit> From<Datetime<U>> for i64

    source§

    fn from(val: Datetime<U>) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Unit> From<i64> for Datetime<U>

    source§

    fn from(val: i64) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Hash + Unit> Hash for Datetime<U>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<U: Ord + Unit> Ord for Datetime<U>

    source§

    fn cmp(&self, other: &Datetime<U>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<U: PartialEq + Unit> PartialEq for Datetime<U>

    source§

    fn eq(&self, other: &Datetime<U>) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<U: PartialOrd + Unit> PartialOrd for Datetime<U>

    source§

    fn partial_cmp(&self, other: &Datetime<U>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl<U: Copy + Unit> Copy for Datetime<U>

    source§

    impl<U: Eq + Unit> Eq for Datetime<U>

    source§

    impl<U: Unit> StructuralPartialEq for Datetime<U>

    Auto Trait Implementations§

    §

    impl<U> RefUnwindSafe for Datetime<U>
    where - U: RefUnwindSafe,

    §

    impl<U> Send for Datetime<U>

    §

    impl<U> Sync for Datetime<U>

    §

    impl<U> Unpin for Datetime<U>
    where - U: Unpin,

    §

    impl<U> UnwindSafe for Datetime<U>
    where - U: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl<U: Clone + Unit> Clone for Datetime<U>

    source§

    fn clone(&self) -> Datetime<U>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<U: Unit> Debug for Datetime<U>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<U: Unit> Element for Datetime<U>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<U: Unit> From<Datetime<U>> for i64

    source§

    fn from(val: Datetime<U>) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Unit> From<i64> for Datetime<U>

    source§

    fn from(val: i64) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Hash + Unit> Hash for Datetime<U>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<U: Ord + Unit> Ord for Datetime<U>

    source§

    fn cmp(&self, other: &Datetime<U>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<U: PartialEq + Unit> PartialEq for Datetime<U>

    source§

    fn eq(&self, other: &Datetime<U>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<U: PartialOrd + Unit> PartialOrd for Datetime<U>

    source§

    fn partial_cmp(&self, other: &Datetime<U>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl<U: Copy + Unit> Copy for Datetime<U>

    source§

    impl<U: Eq + Unit> Eq for Datetime<U>

    source§

    impl<U: Unit> StructuralPartialEq for Datetime<U>

    Auto Trait Implementations§

    §

    impl<U> RefUnwindSafe for Datetime<U>
    where + U: RefUnwindSafe,

    §

    impl<U> Send for Datetime<U>

    §

    impl<U> Sync for Datetime<U>

    §

    impl<U> Unpin for Datetime<U>
    where + U: Unpin,

    §

    impl<U> UnwindSafe for Datetime<U>
    where + U: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/struct.Timedelta.html b/numpy/datetime/struct.Timedelta.html index 4d784aea0..0e117f8f8 100644 --- a/numpy/datetime/struct.Timedelta.html +++ b/numpy/datetime/struct.Timedelta.html @@ -1,30 +1,30 @@ -Timedelta in numpy::datetime - Rust +Timedelta in numpy::datetime - Rust

    Struct numpy::datetime::Timedelta

    source ·
    pub struct Timedelta<U: Unit>(/* private fields */);
    Expand description

    Corresponds to the [timedelta64][scalars-datetime64] scalar type

    -

    Trait Implementations§

    source§

    impl<U: Clone + Unit> Clone for Timedelta<U>

    source§

    fn clone(&self) -> Timedelta<U>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<U: Unit> Debug for Timedelta<U>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<U: Unit> Element for Timedelta<U>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<U: Unit> From<Timedelta<U>> for i64

    source§

    fn from(val: Timedelta<U>) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Unit> From<i64> for Timedelta<U>

    source§

    fn from(val: i64) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Hash + Unit> Hash for Timedelta<U>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<U: Ord + Unit> Ord for Timedelta<U>

    source§

    fn cmp(&self, other: &Timedelta<U>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<U: PartialEq + Unit> PartialEq for Timedelta<U>

    source§

    fn eq(&self, other: &Timedelta<U>) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<U: PartialOrd + Unit> PartialOrd for Timedelta<U>

    source§

    fn partial_cmp(&self, other: &Timedelta<U>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl<U: Copy + Unit> Copy for Timedelta<U>

    source§

    impl<U: Eq + Unit> Eq for Timedelta<U>

    source§

    impl<U: Unit> StructuralPartialEq for Timedelta<U>

    Auto Trait Implementations§

    §

    impl<U> RefUnwindSafe for Timedelta<U>
    where - U: RefUnwindSafe,

    §

    impl<U> Send for Timedelta<U>

    §

    impl<U> Sync for Timedelta<U>

    §

    impl<U> Unpin for Timedelta<U>
    where - U: Unpin,

    §

    impl<U> UnwindSafe for Timedelta<U>
    where - U: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl<U: Clone + Unit> Clone for Timedelta<U>

    source§

    fn clone(&self) -> Timedelta<U>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<U: Unit> Debug for Timedelta<U>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<U: Unit> Element for Timedelta<U>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<U: Unit> From<Timedelta<U>> for i64

    source§

    fn from(val: Timedelta<U>) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Unit> From<i64> for Timedelta<U>

    source§

    fn from(val: i64) -> Self

    Converts to this type from the input type.
    source§

    impl<U: Hash + Unit> Hash for Timedelta<U>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<U: Ord + Unit> Ord for Timedelta<U>

    source§

    fn cmp(&self, other: &Timedelta<U>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<U: PartialEq + Unit> PartialEq for Timedelta<U>

    source§

    fn eq(&self, other: &Timedelta<U>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<U: PartialOrd + Unit> PartialOrd for Timedelta<U>

    source§

    fn partial_cmp(&self, other: &Timedelta<U>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl<U: Copy + Unit> Copy for Timedelta<U>

    source§

    impl<U: Eq + Unit> Eq for Timedelta<U>

    source§

    impl<U: Unit> StructuralPartialEq for Timedelta<U>

    Auto Trait Implementations§

    §

    impl<U> RefUnwindSafe for Timedelta<U>
    where + U: RefUnwindSafe,

    §

    impl<U> Send for Timedelta<U>

    §

    impl<U> Sync for Timedelta<U>

    §

    impl<U> Unpin for Timedelta<U>
    where + U: Unpin,

    §

    impl<U> UnwindSafe for Timedelta<U>
    where + U: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/trait.Unit.html b/numpy/datetime/trait.Unit.html index a4ec8e42d..86152afe8 100644 --- a/numpy/datetime/trait.Unit.html +++ b/numpy/datetime/trait.Unit.html @@ -1,8 +1,8 @@ -Unit in numpy::datetime - Rust -

    Trait numpy::datetime::Unit

    source ·
    pub trait Unit: Send + Sync + Clone + Copy + PartialEq + Eq + Hash + PartialOrd + Ord {
    +Unit in numpy::datetime - Rust
    +    

    Trait numpy::datetime::Unit

    source ·
    pub trait Unit: Send + Sync + Clone + Copy + PartialEq + Eq + Hash + PartialOrd + Ord {
         const UNIT: NPY_DATETIMEUNIT;
    -    const ABBREV: &'static str;
    +    const ABBREV: &'static str;
     }
    Expand description

    Represents the datetime units supported by NumPy

    Required Associated Constants§

    source

    const UNIT: NPY_DATETIMEUNIT

    The matching NumPy datetime unit code

    -
    source

    const ABBREV: &'static str

    The abbrevation used for debug formatting

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Unit for Attoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as

    source§

    const ABBREV: &'static str = "as"

    source§

    impl Unit for Days

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_D

    source§

    const ABBREV: &'static str = "d"

    source§

    impl Unit for Femtoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_fs

    source§

    const ABBREV: &'static str = "fs"

    source§

    impl Unit for Hours

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_h

    source§

    const ABBREV: &'static str = "h"

    source§

    impl Unit for Microseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_us

    source§

    const ABBREV: &'static str = "µs"

    source§

    impl Unit for Milliseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ms

    source§

    const ABBREV: &'static str = "ms"

    source§

    impl Unit for Minutes

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_m

    source§

    const ABBREV: &'static str = "min"

    source§

    impl Unit for Months

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_M

    source§

    const ABBREV: &'static str = "mo"

    source§

    impl Unit for Nanoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns

    source§

    const ABBREV: &'static str = "ns"

    source§

    impl Unit for Picoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ps

    source§

    const ABBREV: &'static str = "ps"

    source§

    impl Unit for Seconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_s

    source§

    const ABBREV: &'static str = "s"

    source§

    impl Unit for Weeks

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_W

    source§

    const ABBREV: &'static str = "w"

    source§

    impl Unit for Years

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_Y

    source§

    const ABBREV: &'static str = "a"

    \ No newline at end of file +
    source

    const ABBREV: &'static str

    The abbrevation used for debug formatting

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Unit for Attoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as

    source§

    const ABBREV: &'static str = "as"

    source§

    impl Unit for Days

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_D

    source§

    const ABBREV: &'static str = "d"

    source§

    impl Unit for Femtoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_fs

    source§

    const ABBREV: &'static str = "fs"

    source§

    impl Unit for Hours

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_h

    source§

    const ABBREV: &'static str = "h"

    source§

    impl Unit for Microseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_us

    source§

    const ABBREV: &'static str = "µs"

    source§

    impl Unit for Milliseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ms

    source§

    const ABBREV: &'static str = "ms"

    source§

    impl Unit for Minutes

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_m

    source§

    const ABBREV: &'static str = "min"

    source§

    impl Unit for Months

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_M

    source§

    const ABBREV: &'static str = "mo"

    source§

    impl Unit for Nanoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns

    source§

    const ABBREV: &'static str = "ns"

    source§

    impl Unit for Picoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ps

    source§

    const ABBREV: &'static str = "ps"

    source§

    impl Unit for Seconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_s

    source§

    const ABBREV: &'static str = "s"

    source§

    impl Unit for Weeks

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_W

    source§

    const ABBREV: &'static str = "w"

    source§

    impl Unit for Years

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_Y

    source§

    const ABBREV: &'static str = "a"

    \ No newline at end of file diff --git a/numpy/datetime/units/index.html b/numpy/datetime/units/index.html index d841786cd..12e3ac3c1 100644 --- a/numpy/datetime/units/index.html +++ b/numpy/datetime/units/index.html @@ -1,3 +1,3 @@ -numpy::datetime::units - Rust +numpy::datetime::units - Rust

    Module numpy::datetime::units

    source ·
    Expand description

    Predefined implementors of the Unit trait

    Structs§

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Attoseconds.html b/numpy/datetime/units/struct.Attoseconds.html index abbdbfd53..7f2d1451d 100644 --- a/numpy/datetime/units/struct.Attoseconds.html +++ b/numpy/datetime/units/struct.Attoseconds.html @@ -1,27 +1,27 @@ -Attoseconds in numpy::datetime::units - Rust +Attoseconds in numpy::datetime::units - Rust
    pub struct Attoseconds;
    Expand description

    Attoseconds, i.e. 10^-18 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Attoseconds

    source§

    fn clone(&self) -> Attoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Attoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Attoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Attoseconds

    source§

    fn cmp(&self, other: &Attoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Attoseconds

    source§

    fn eq(&self, other: &Attoseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Attoseconds

    source§

    fn partial_cmp(&self, other: &Attoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Attoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "as"

    The abbrevation used for debug formatting
    source§

    impl Copy for Attoseconds

    source§

    impl Eq for Attoseconds

    source§

    impl StructuralPartialEq for Attoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Attoseconds

    source§

    fn clone(&self) -> Attoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Attoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Attoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Attoseconds

    source§

    fn cmp(&self, other: &Attoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Attoseconds

    source§

    fn eq(&self, other: &Attoseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Attoseconds

    source§

    fn partial_cmp(&self, other: &Attoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Attoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_as

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "as"

    The abbrevation used for debug formatting
    source§

    impl Copy for Attoseconds

    source§

    impl Eq for Attoseconds

    source§

    impl StructuralPartialEq for Attoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Days.html b/numpy/datetime/units/struct.Days.html index 5c98d5ce2..e254e9410 100644 --- a/numpy/datetime/units/struct.Days.html +++ b/numpy/datetime/units/struct.Days.html @@ -1,27 +1,27 @@ -Days in numpy::datetime::units - Rust +Days in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Days

    source ·
    pub struct Days;
    Expand description

    Days, i.e. 24 hours

    -

    Trait Implementations§

    source§

    impl Clone for Days

    source§

    fn clone(&self) -> Days

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Days

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Days

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Days

    source§

    fn cmp(&self, other: &Days) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Days

    source§

    fn eq(&self, other: &Days) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Days

    source§

    fn partial_cmp(&self, other: &Days) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Days

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_D

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "d"

    The abbrevation used for debug formatting
    source§

    impl Copy for Days

    source§

    impl Eq for Days

    source§

    impl StructuralPartialEq for Days

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Days

    §

    impl Send for Days

    §

    impl Sync for Days

    §

    impl Unpin for Days

    §

    impl UnwindSafe for Days

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Days

    source§

    fn clone(&self) -> Days

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Days

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Days

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Days

    source§

    fn cmp(&self, other: &Days) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Days

    source§

    fn eq(&self, other: &Days) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Days

    source§

    fn partial_cmp(&self, other: &Days) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Days

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_D

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "d"

    The abbrevation used for debug formatting
    source§

    impl Copy for Days

    source§

    impl Eq for Days

    source§

    impl StructuralPartialEq for Days

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Days

    §

    impl Send for Days

    §

    impl Sync for Days

    §

    impl Unpin for Days

    §

    impl UnwindSafe for Days

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Femtoseconds.html b/numpy/datetime/units/struct.Femtoseconds.html index 5d1b5abaa..e2cb19215 100644 --- a/numpy/datetime/units/struct.Femtoseconds.html +++ b/numpy/datetime/units/struct.Femtoseconds.html @@ -1,27 +1,27 @@ -Femtoseconds in numpy::datetime::units - Rust +Femtoseconds in numpy::datetime::units - Rust
    pub struct Femtoseconds;
    Expand description

    Femtoseconds, i.e. 10^-15 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Femtoseconds

    source§

    fn clone(&self) -> Femtoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Femtoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Femtoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Femtoseconds

    source§

    fn cmp(&self, other: &Femtoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Femtoseconds

    source§

    fn eq(&self, other: &Femtoseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Femtoseconds

    source§

    fn partial_cmp(&self, other: &Femtoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Femtoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_fs

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "fs"

    The abbrevation used for debug formatting
    source§

    impl Copy for Femtoseconds

    source§

    impl Eq for Femtoseconds

    source§

    impl StructuralPartialEq for Femtoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Femtoseconds

    source§

    fn clone(&self) -> Femtoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Femtoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Femtoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Femtoseconds

    source§

    fn cmp(&self, other: &Femtoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Femtoseconds

    source§

    fn eq(&self, other: &Femtoseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Femtoseconds

    source§

    fn partial_cmp(&self, other: &Femtoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Femtoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_fs

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "fs"

    The abbrevation used for debug formatting
    source§

    impl Copy for Femtoseconds

    source§

    impl Eq for Femtoseconds

    source§

    impl StructuralPartialEq for Femtoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Hours.html b/numpy/datetime/units/struct.Hours.html index 9501e78ba..672b6c0a9 100644 --- a/numpy/datetime/units/struct.Hours.html +++ b/numpy/datetime/units/struct.Hours.html @@ -1,27 +1,27 @@ -Hours in numpy::datetime::units - Rust +Hours in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Hours

    source ·
    pub struct Hours;
    Expand description

    Hours, i.e. 60 minutes

    -

    Trait Implementations§

    source§

    impl Clone for Hours

    source§

    fn clone(&self) -> Hours

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Hours

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Hours

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Hours

    source§

    fn cmp(&self, other: &Hours) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Hours

    source§

    fn eq(&self, other: &Hours) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Hours

    source§

    fn partial_cmp(&self, other: &Hours) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Hours

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_h

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "h"

    The abbrevation used for debug formatting
    source§

    impl Copy for Hours

    source§

    impl Eq for Hours

    source§

    impl StructuralPartialEq for Hours

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Hours

    §

    impl Send for Hours

    §

    impl Sync for Hours

    §

    impl Unpin for Hours

    §

    impl UnwindSafe for Hours

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Hours

    source§

    fn clone(&self) -> Hours

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Hours

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Hours

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Hours

    source§

    fn cmp(&self, other: &Hours) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Hours

    source§

    fn eq(&self, other: &Hours) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Hours

    source§

    fn partial_cmp(&self, other: &Hours) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Hours

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_h

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "h"

    The abbrevation used for debug formatting
    source§

    impl Copy for Hours

    source§

    impl Eq for Hours

    source§

    impl StructuralPartialEq for Hours

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Hours

    §

    impl Send for Hours

    §

    impl Sync for Hours

    §

    impl Unpin for Hours

    §

    impl UnwindSafe for Hours

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Microseconds.html b/numpy/datetime/units/struct.Microseconds.html index d3a79bb2f..47f3d355a 100644 --- a/numpy/datetime/units/struct.Microseconds.html +++ b/numpy/datetime/units/struct.Microseconds.html @@ -1,27 +1,27 @@ -Microseconds in numpy::datetime::units - Rust +Microseconds in numpy::datetime::units - Rust
    pub struct Microseconds;
    Expand description

    Microseconds, i.e. 10^-6 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Microseconds

    source§

    fn clone(&self) -> Microseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Microseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Microseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Microseconds

    source§

    fn cmp(&self, other: &Microseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Microseconds

    source§

    fn eq(&self, other: &Microseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Microseconds

    source§

    fn partial_cmp(&self, other: &Microseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Microseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_us

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "µs"

    The abbrevation used for debug formatting
    source§

    impl Copy for Microseconds

    source§

    impl Eq for Microseconds

    source§

    impl StructuralPartialEq for Microseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Microseconds

    source§

    fn clone(&self) -> Microseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Microseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Microseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Microseconds

    source§

    fn cmp(&self, other: &Microseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Microseconds

    source§

    fn eq(&self, other: &Microseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Microseconds

    source§

    fn partial_cmp(&self, other: &Microseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Microseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_us

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "µs"

    The abbrevation used for debug formatting
    source§

    impl Copy for Microseconds

    source§

    impl Eq for Microseconds

    source§

    impl StructuralPartialEq for Microseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Milliseconds.html b/numpy/datetime/units/struct.Milliseconds.html index 4aec541e7..a191a8bf1 100644 --- a/numpy/datetime/units/struct.Milliseconds.html +++ b/numpy/datetime/units/struct.Milliseconds.html @@ -1,27 +1,27 @@ -Milliseconds in numpy::datetime::units - Rust +Milliseconds in numpy::datetime::units - Rust
    pub struct Milliseconds;
    Expand description

    Milliseconds, i.e. 10^-3 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Milliseconds

    source§

    fn clone(&self) -> Milliseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Milliseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Milliseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Milliseconds

    source§

    fn cmp(&self, other: &Milliseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Milliseconds

    source§

    fn eq(&self, other: &Milliseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Milliseconds

    source§

    fn partial_cmp(&self, other: &Milliseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Milliseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ms

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ms"

    The abbrevation used for debug formatting
    source§

    impl Copy for Milliseconds

    source§

    impl Eq for Milliseconds

    source§

    impl StructuralPartialEq for Milliseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Milliseconds

    source§

    fn clone(&self) -> Milliseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Milliseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Milliseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Milliseconds

    source§

    fn cmp(&self, other: &Milliseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Milliseconds

    source§

    fn eq(&self, other: &Milliseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Milliseconds

    source§

    fn partial_cmp(&self, other: &Milliseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Milliseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ms

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ms"

    The abbrevation used for debug formatting
    source§

    impl Copy for Milliseconds

    source§

    impl Eq for Milliseconds

    source§

    impl StructuralPartialEq for Milliseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Minutes.html b/numpy/datetime/units/struct.Minutes.html index 1de8cacee..1800d60fd 100644 --- a/numpy/datetime/units/struct.Minutes.html +++ b/numpy/datetime/units/struct.Minutes.html @@ -1,27 +1,27 @@ -Minutes in numpy::datetime::units - Rust +Minutes in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Minutes

    source ·
    pub struct Minutes;
    Expand description

    Minutes, i.e. 60 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Minutes

    source§

    fn clone(&self) -> Minutes

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Minutes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Minutes

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Minutes

    source§

    fn cmp(&self, other: &Minutes) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Minutes

    source§

    fn eq(&self, other: &Minutes) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Minutes

    source§

    fn partial_cmp(&self, other: &Minutes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Minutes

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_m

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "min"

    The abbrevation used for debug formatting
    source§

    impl Copy for Minutes

    source§

    impl Eq for Minutes

    source§

    impl StructuralPartialEq for Minutes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Minutes

    source§

    fn clone(&self) -> Minutes

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Minutes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Minutes

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Minutes

    source§

    fn cmp(&self, other: &Minutes) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Minutes

    source§

    fn eq(&self, other: &Minutes) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Minutes

    source§

    fn partial_cmp(&self, other: &Minutes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Minutes

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_m

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "min"

    The abbrevation used for debug formatting
    source§

    impl Copy for Minutes

    source§

    impl Eq for Minutes

    source§

    impl StructuralPartialEq for Minutes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Months.html b/numpy/datetime/units/struct.Months.html index 9c5dc59b2..b40743bb1 100644 --- a/numpy/datetime/units/struct.Months.html +++ b/numpy/datetime/units/struct.Months.html @@ -1,27 +1,27 @@ -Months in numpy::datetime::units - Rust +Months in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Months

    source ·
    pub struct Months;
    Expand description

    Months, i.e. 30 days

    -

    Trait Implementations§

    source§

    impl Clone for Months

    source§

    fn clone(&self) -> Months

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Months

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Months

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Months

    source§

    fn cmp(&self, other: &Months) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Months

    source§

    fn eq(&self, other: &Months) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Months

    source§

    fn partial_cmp(&self, other: &Months) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Months

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_M

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "mo"

    The abbrevation used for debug formatting
    source§

    impl Copy for Months

    source§

    impl Eq for Months

    source§

    impl StructuralPartialEq for Months

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Months

    source§

    fn clone(&self) -> Months

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Months

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Months

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Months

    source§

    fn cmp(&self, other: &Months) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Months

    source§

    fn eq(&self, other: &Months) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Months

    source§

    fn partial_cmp(&self, other: &Months) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Months

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_M

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "mo"

    The abbrevation used for debug formatting
    source§

    impl Copy for Months

    source§

    impl Eq for Months

    source§

    impl StructuralPartialEq for Months

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Nanoseconds.html b/numpy/datetime/units/struct.Nanoseconds.html index d525bd73d..c8a5dff6a 100644 --- a/numpy/datetime/units/struct.Nanoseconds.html +++ b/numpy/datetime/units/struct.Nanoseconds.html @@ -1,27 +1,27 @@ -Nanoseconds in numpy::datetime::units - Rust +Nanoseconds in numpy::datetime::units - Rust
    pub struct Nanoseconds;
    Expand description

    Nanoseconds, i.e. 10^-9 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Nanoseconds

    source§

    fn clone(&self) -> Nanoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Nanoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Nanoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Nanoseconds

    source§

    fn cmp(&self, other: &Nanoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Nanoseconds

    source§

    fn eq(&self, other: &Nanoseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Nanoseconds

    source§

    fn partial_cmp(&self, other: &Nanoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Nanoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ns"

    The abbrevation used for debug formatting
    source§

    impl Copy for Nanoseconds

    source§

    impl Eq for Nanoseconds

    source§

    impl StructuralPartialEq for Nanoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Nanoseconds

    source§

    fn clone(&self) -> Nanoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Nanoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Nanoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Nanoseconds

    source§

    fn cmp(&self, other: &Nanoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Nanoseconds

    source§

    fn eq(&self, other: &Nanoseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Nanoseconds

    source§

    fn partial_cmp(&self, other: &Nanoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Nanoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ns

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ns"

    The abbrevation used for debug formatting
    source§

    impl Copy for Nanoseconds

    source§

    impl Eq for Nanoseconds

    source§

    impl StructuralPartialEq for Nanoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Picoseconds.html b/numpy/datetime/units/struct.Picoseconds.html index 28e66619c..7ad5bf242 100644 --- a/numpy/datetime/units/struct.Picoseconds.html +++ b/numpy/datetime/units/struct.Picoseconds.html @@ -1,27 +1,27 @@ -Picoseconds in numpy::datetime::units - Rust +Picoseconds in numpy::datetime::units - Rust
    pub struct Picoseconds;
    Expand description

    Picoseconds, i.e. 10^-12 seconds

    -

    Trait Implementations§

    source§

    impl Clone for Picoseconds

    source§

    fn clone(&self) -> Picoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Picoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Picoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Picoseconds

    source§

    fn cmp(&self, other: &Picoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Picoseconds

    source§

    fn eq(&self, other: &Picoseconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Picoseconds

    source§

    fn partial_cmp(&self, other: &Picoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Picoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ps

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ps"

    The abbrevation used for debug formatting
    source§

    impl Copy for Picoseconds

    source§

    impl Eq for Picoseconds

    source§

    impl StructuralPartialEq for Picoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Picoseconds

    source§

    fn clone(&self) -> Picoseconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Picoseconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Picoseconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Picoseconds

    source§

    fn cmp(&self, other: &Picoseconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Picoseconds

    source§

    fn eq(&self, other: &Picoseconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Picoseconds

    source§

    fn partial_cmp(&self, other: &Picoseconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Picoseconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_ps

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "ps"

    The abbrevation used for debug formatting
    source§

    impl Copy for Picoseconds

    source§

    impl Eq for Picoseconds

    source§

    impl StructuralPartialEq for Picoseconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Seconds.html b/numpy/datetime/units/struct.Seconds.html index ac2c92d85..bc35872e7 100644 --- a/numpy/datetime/units/struct.Seconds.html +++ b/numpy/datetime/units/struct.Seconds.html @@ -1,27 +1,27 @@ -Seconds in numpy::datetime::units - Rust +Seconds in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Seconds

    source ·
    pub struct Seconds;
    Expand description

    Seconds

    -

    Trait Implementations§

    source§

    impl Clone for Seconds

    source§

    fn clone(&self) -> Seconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Seconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Seconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Seconds

    source§

    fn cmp(&self, other: &Seconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Seconds

    source§

    fn eq(&self, other: &Seconds) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Seconds

    source§

    fn partial_cmp(&self, other: &Seconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Seconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_s

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "s"

    The abbrevation used for debug formatting
    source§

    impl Copy for Seconds

    source§

    impl Eq for Seconds

    source§

    impl StructuralPartialEq for Seconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Seconds

    source§

    fn clone(&self) -> Seconds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Seconds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Seconds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Seconds

    source§

    fn cmp(&self, other: &Seconds) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Seconds

    source§

    fn eq(&self, other: &Seconds) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Seconds

    source§

    fn partial_cmp(&self, other: &Seconds) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Seconds

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_s

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "s"

    The abbrevation used for debug formatting
    source§

    impl Copy for Seconds

    source§

    impl Eq for Seconds

    source§

    impl StructuralPartialEq for Seconds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Weeks.html b/numpy/datetime/units/struct.Weeks.html index 9352633b4..c4674d789 100644 --- a/numpy/datetime/units/struct.Weeks.html +++ b/numpy/datetime/units/struct.Weeks.html @@ -1,27 +1,27 @@ -Weeks in numpy::datetime::units - Rust +Weeks in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Weeks

    source ·
    pub struct Weeks;
    Expand description

    Weeks, i.e. 7 days

    -

    Trait Implementations§

    source§

    impl Clone for Weeks

    source§

    fn clone(&self) -> Weeks

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Weeks

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Weeks

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Weeks

    source§

    fn cmp(&self, other: &Weeks) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Weeks

    source§

    fn eq(&self, other: &Weeks) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Weeks

    source§

    fn partial_cmp(&self, other: &Weeks) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Weeks

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_W

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "w"

    The abbrevation used for debug formatting
    source§

    impl Copy for Weeks

    source§

    impl Eq for Weeks

    source§

    impl StructuralPartialEq for Weeks

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Weeks

    §

    impl Send for Weeks

    §

    impl Sync for Weeks

    §

    impl Unpin for Weeks

    §

    impl UnwindSafe for Weeks

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Weeks

    source§

    fn clone(&self) -> Weeks

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Weeks

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Weeks

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Weeks

    source§

    fn cmp(&self, other: &Weeks) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Weeks

    source§

    fn eq(&self, other: &Weeks) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Weeks

    source§

    fn partial_cmp(&self, other: &Weeks) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Weeks

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_W

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "w"

    The abbrevation used for debug formatting
    source§

    impl Copy for Weeks

    source§

    impl Eq for Weeks

    source§

    impl StructuralPartialEq for Weeks

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Weeks

    §

    impl Send for Weeks

    §

    impl Sync for Weeks

    §

    impl Unpin for Weeks

    §

    impl UnwindSafe for Weeks

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/datetime/units/struct.Years.html b/numpy/datetime/units/struct.Years.html index ca2424f82..14efc9b2c 100644 --- a/numpy/datetime/units/struct.Years.html +++ b/numpy/datetime/units/struct.Years.html @@ -1,27 +1,27 @@ -Years in numpy::datetime::units - Rust +Years in numpy::datetime::units - Rust

    Struct numpy::datetime::units::Years

    source ·
    pub struct Years;
    Expand description

    Years, i.e. 12 months

    -

    Trait Implementations§

    source§

    impl Clone for Years

    source§

    fn clone(&self) -> Years

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Years

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Years

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Years

    source§

    fn cmp(&self, other: &Years) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Years

    source§

    fn eq(&self, other: &Years) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Years

    source§

    fn partial_cmp(&self, other: &Years) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Unit for Years

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_Y

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "a"

    The abbrevation used for debug formatting
    source§

    impl Copy for Years

    source§

    impl Eq for Years

    source§

    impl StructuralPartialEq for Years

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Years

    §

    impl Send for Years

    §

    impl Sync for Years

    §

    impl Unpin for Years

    §

    impl UnwindSafe for Years

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Clone for Years

    source§

    fn clone(&self) -> Years

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Years

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Years

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Years

    source§

    fn cmp(&self, other: &Years) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Years

    source§

    fn eq(&self, other: &Years) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Years

    source§

    fn partial_cmp(&self, other: &Years) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Unit for Years

    source§

    const UNIT: NPY_DATETIMEUNIT = NPY_DATETIMEUNIT::NPY_FR_Y

    The matching NumPy datetime unit code
    source§

    const ABBREV: &'static str = "a"

    The abbrevation used for debug formatting
    source§

    impl Copy for Years

    source§

    impl Eq for Years

    source§

    impl StructuralPartialEq for Years

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Years

    §

    impl Send for Years

    §

    impl Sync for Years

    §

    impl Unpin for Years

    §

    impl UnwindSafe for Years

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/enum.BorrowError.html b/numpy/enum.BorrowError.html index 3b10423ad..74863ec24 100644 --- a/numpy/enum.BorrowError.html +++ b/numpy/enum.BorrowError.html @@ -1,22 +1,22 @@ -BorrowError in numpy - Rust +BorrowError in numpy - Rust

    Enum numpy::BorrowError

    source ·
    #[non_exhaustive]
    pub enum BorrowError { AlreadyBorrowed, NotWriteable, }
    Expand description

    Inidcates why borrowing an array failed.

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    AlreadyBorrowed

    The given array is already borrowed

    §

    NotWriteable

    The given array is not writeable

    -

    Trait Implementations§

    source§

    impl Debug for BorrowError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BorrowError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BorrowError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BorrowError> for PyErr

    source§

    fn from(err: BorrowError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for BorrowError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Debug for BorrowError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BorrowError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BorrowError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<BorrowError> for PyErr

    source§

    fn from(err: BorrowError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for BorrowError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/fn.Ix1.html b/numpy/fn.Ix1.html index aa8d373bb..6015a20e5 100644 --- a/numpy/fn.Ix1.html +++ b/numpy/fn.Ix1.html @@ -1,3 +1,3 @@ -Ix1 in numpy - Rust -

    Function numpy::Ix1

    source ·
    pub fn Ix1(i0: usize) -> Dim<[usize; 1]>
    Expand description

    Create a one-dimensional index

    +Ix1 in numpy - Rust +

    Function numpy::Ix1

    source ·
    pub fn Ix1(i0: usize) -> Dim<[usize; 1]>
    Expand description

    Create a one-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.Ix2.html b/numpy/fn.Ix2.html index a0e47bf04..9103c6803 100644 --- a/numpy/fn.Ix2.html +++ b/numpy/fn.Ix2.html @@ -1,3 +1,3 @@ -Ix2 in numpy - Rust -

    Function numpy::Ix2

    source ·
    pub fn Ix2(i0: usize, i1: usize) -> Dim<[usize; 2]>
    Expand description

    Create a two-dimensional index

    +Ix2 in numpy - Rust +

    Function numpy::Ix2

    source ·
    pub fn Ix2(i0: usize, i1: usize) -> Dim<[usize; 2]>
    Expand description

    Create a two-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.Ix3.html b/numpy/fn.Ix3.html index 17b3b70a7..1168e6ef1 100644 --- a/numpy/fn.Ix3.html +++ b/numpy/fn.Ix3.html @@ -1,3 +1,3 @@ -Ix3 in numpy - Rust -

    Function numpy::Ix3

    source ·
    pub fn Ix3(i0: usize, i1: usize, i2: usize) -> Dim<[usize; 3]>
    Expand description

    Create a three-dimensional index

    +Ix3 in numpy - Rust +

    Function numpy::Ix3

    source ·
    pub fn Ix3(i0: usize, i1: usize, i2: usize) -> Dim<[usize; 3]>
    Expand description

    Create a three-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.Ix4.html b/numpy/fn.Ix4.html index 558086d05..e8cf32750 100644 --- a/numpy/fn.Ix4.html +++ b/numpy/fn.Ix4.html @@ -1,3 +1,3 @@ -Ix4 in numpy - Rust -

    Function numpy::Ix4

    source ·
    pub fn Ix4(i0: usize, i1: usize, i2: usize, i3: usize) -> Dim<[usize; 4]>
    Expand description

    Create a four-dimensional index

    +Ix4 in numpy - Rust +

    Function numpy::Ix4

    source ·
    pub fn Ix4(i0: usize, i1: usize, i2: usize, i3: usize) -> Dim<[usize; 4]>
    Expand description

    Create a four-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.Ix5.html b/numpy/fn.Ix5.html index 8b33ed271..100cb5767 100644 --- a/numpy/fn.Ix5.html +++ b/numpy/fn.Ix5.html @@ -1,9 +1,9 @@ -Ix5 in numpy - Rust +Ix5 in numpy - Rust

    Function numpy::Ix5

    source ·
    pub fn Ix5(
    -    i0: usize,
    -    i1: usize,
    -    i2: usize,
    -    i3: usize,
    -    i4: usize
    -) -> Dim<[usize; 5]>
    Expand description

    Create a five-dimensional index

    + i0: usize, + i1: usize, + i2: usize, + i3: usize, + i4: usize +) -> Dim<[usize; 5]>
    Expand description

    Create a five-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.Ix6.html b/numpy/fn.Ix6.html index ee05a9485..71c059b30 100644 --- a/numpy/fn.Ix6.html +++ b/numpy/fn.Ix6.html @@ -1,10 +1,10 @@ -Ix6 in numpy - Rust +Ix6 in numpy - Rust

    Function numpy::Ix6

    source ·
    pub fn Ix6(
    -    i0: usize,
    -    i1: usize,
    -    i2: usize,
    -    i3: usize,
    -    i4: usize,
    -    i5: usize
    -) -> Dim<[usize; 6]>
    Expand description

    Create a six-dimensional index

    + i0: usize, + i1: usize, + i2: usize, + i3: usize, + i4: usize, + i5: usize +) -> Dim<[usize; 6]>
    Expand description

    Create a six-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.IxDyn.html b/numpy/fn.IxDyn.html index 742708b52..1589d1e3c 100644 --- a/numpy/fn.IxDyn.html +++ b/numpy/fn.IxDyn.html @@ -1,3 +1,3 @@ -IxDyn in numpy - Rust -

    Function numpy::IxDyn

    source ·
    pub fn IxDyn(ix: &[usize]) -> Dim<IxDynImpl>
    Expand description

    Create a dynamic-dimensional index

    +IxDyn in numpy - Rust +

    Function numpy::IxDyn

    source ·
    pub fn IxDyn(ix: &[usize]) -> Dim<IxDynImpl>
    Expand description

    Create a dynamic-dimensional index

    \ No newline at end of file diff --git a/numpy/fn.dot.html b/numpy/fn.dot.html index bb5a4a219..510f5aabd 100644 --- a/numpy/fn.dot.html +++ b/numpy/fn.dot.html @@ -1,4 +1,4 @@ -dot in numpy - Rust +dot in numpy - Rust

    Function numpy::dot

    source ·
    pub fn dot<'py, T, DIN1, DIN2, OUT>(
         array1: &'py PyArray<T, DIN1>,
         array2: &'py PyArray<T, DIN2>
    diff --git a/numpy/fn.dot_bound.html b/numpy/fn.dot_bound.html
    index 69778d7e7..77e32fca4 100644
    --- a/numpy/fn.dot_bound.html
    +++ b/numpy/fn.dot_bound.html
    @@ -1,4 +1,4 @@
    -dot_bound in numpy - Rust
    +dot_bound in numpy - Rust
         

    Function numpy::dot_bound

    source ·
    pub fn dot_bound<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>
    diff --git a/numpy/fn.dtype.html b/numpy/fn.dtype.html
    index 40715bd54..6eb1429bb 100644
    --- a/numpy/fn.dtype.html
    +++ b/numpy/fn.dtype.html
    @@ -1,3 +1,3 @@
    -dtype in numpy - Rust
    +dtype in numpy - Rust
         

    Function numpy::dtype

    source ·
    pub fn dtype<'py, T: Element>(py: Python<'py>) -> &'py PyArrayDescr
    👎Deprecated since 0.21.0: This will be replaced by dtype_bound in the future.
    Expand description

    Returns the type descriptor (“dtype”) for a registered type.

    \ No newline at end of file diff --git a/numpy/fn.dtype_bound.html b/numpy/fn.dtype_bound.html index f2a37fbfc..047bec1e2 100644 --- a/numpy/fn.dtype_bound.html +++ b/numpy/fn.dtype_bound.html @@ -1,3 +1,3 @@ -dtype_bound in numpy - Rust +dtype_bound in numpy - Rust

    Function numpy::dtype_bound

    source ·
    pub fn dtype_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, PyArrayDescr>
    Expand description

    Returns the type descriptor (“dtype”) for a registered type.

    \ No newline at end of file diff --git a/numpy/fn.einsum.html b/numpy/fn.einsum.html index 8a766bd7e..8714a6d90 100644 --- a/numpy/fn.einsum.html +++ b/numpy/fn.einsum.html @@ -1,6 +1,6 @@ -einsum in numpy - Rust +einsum in numpy - Rust

    Function numpy::einsum

    source ·
    pub fn einsum<'py, T, OUT>(
    -    subscripts: &str,
    +    subscripts: &str,
         arrays: &[&'py PyArray<T, IxDyn>]
     ) -> PyResult<OUT>
    where T: Element, diff --git a/numpy/fn.einsum_bound.html b/numpy/fn.einsum_bound.html index c7778f35c..86e2fb849 100644 --- a/numpy/fn.einsum_bound.html +++ b/numpy/fn.einsum_bound.html @@ -1,6 +1,6 @@ -einsum_bound in numpy - Rust +einsum_bound in numpy - Rust

    Function numpy::einsum_bound

    source ·
    pub fn einsum_bound<'py, T, OUT>(
    -    subscripts: &str,
    +    subscripts: &str,
         arrays: &[Borrowed<'_, 'py, PyArray<T, IxDyn>>]
     ) -> PyResult<OUT>
    where T: Element, diff --git a/numpy/fn.inner.html b/numpy/fn.inner.html index 58502de33..08fee53f7 100644 --- a/numpy/fn.inner.html +++ b/numpy/fn.inner.html @@ -1,4 +1,4 @@ -inner in numpy - Rust +inner in numpy - Rust

    Function numpy::inner

    source ·
    pub fn inner<'py, T, DIN1, DIN2, OUT>(
         array1: &'py PyArray<T, DIN1>,
         array2: &'py PyArray<T, DIN2>
    diff --git a/numpy/fn.inner_bound.html b/numpy/fn.inner_bound.html
    index 730107ca4..6f9d42529 100644
    --- a/numpy/fn.inner_bound.html
    +++ b/numpy/fn.inner_bound.html
    @@ -1,4 +1,4 @@
    -inner_bound in numpy - Rust
    +inner_bound in numpy - Rust
         

    Function numpy::inner_bound

    source ·
    pub fn inner_bound<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>
    diff --git a/numpy/index.html b/numpy/index.html
    index 238d5fc07..464d76ff2 100644
    --- a/numpy/index.html
    +++ b/numpy/index.html
    @@ -1,4 +1,4 @@
    -numpy - Rust
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html b/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html index 4978782fd..fdbcaf2cc 100644 --- a/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html +++ b/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html @@ -1,2 +1,2 @@ -NPY_ALIGNED_STRUCT in numpy::npyffi::flags - Rust +NPY_ALIGNED_STRUCT in numpy::npyffi::flags - Rust
    pub const NPY_ALIGNED_STRUCT: npy_char = 0x80;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html b/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html index a104090d6..a611c9fe1 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html @@ -1,2 +1,2 @@ -NPY_ARRAY_ALIGNED in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_ALIGNED: c_int = 0x0100;
    \ No newline at end of file +NPY_ARRAY_ALIGNED in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_ALIGNED: c_int = 0x0100;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html index 04a728144..0eee59d5f 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html @@ -1,2 +1,2 @@ -NPY_ARRAY_BEHAVED in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_BEHAVED: c_int = _; // 1_280i32
    \ No newline at end of file +NPY_ARRAY_BEHAVED in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_BEHAVED: c_int = _; // 1_280i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html index 5b70f51bd..f41f6c7bd 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html @@ -1,2 +1,2 @@ -NPY_ARRAY_BEHAVED_NS in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_BEHAVED_NS: c_int = _; // 1_792i32
    \ No newline at end of file +NPY_ARRAY_BEHAVED_NS in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_BEHAVED_NS: c_int = _; // 1_792i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html index ccc376773..ba8d0e9d3 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_CARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_CARRAY: c_int = _; // 1_281i32
    \ No newline at end of file +NPY_ARRAY_CARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_CARRAY: c_int = _; // 1_281i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html index 4ec849f84..ec59c23f9 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html @@ -1,2 +1,2 @@ -NPY_ARRAY_CARRAY_RO in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_CARRAY_RO: c_int = _; // 257i32
    \ No newline at end of file +NPY_ARRAY_CARRAY_RO in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_CARRAY_RO: c_int = _; // 257i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html b/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html index bfc92b577..3e4fe85bf 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html @@ -1,2 +1,2 @@ -NPY_ARRAY_C_CONTIGUOUS in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_C_CONTIGUOUS: c_int = 0x0001;
    \ No newline at end of file +NPY_ARRAY_C_CONTIGUOUS in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_C_CONTIGUOUS: c_int = 0x0001;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html b/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html index 01b60fe73..5e04908f7 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html @@ -1,2 +1,2 @@ -NPY_ARRAY_DEFAULT in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_DEFAULT: c_int = NPY_ARRAY_CARRAY; // 1_281i32
    \ No newline at end of file +NPY_ARRAY_DEFAULT in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_DEFAULT: c_int = NPY_ARRAY_CARRAY; // 1_281i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html b/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html index 39c3fe937..9456c2d3b 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html @@ -1,2 +1,2 @@ -NPY_ARRAY_ELEMENTSTRIDES in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_ELEMENTSTRIDES: c_int = 0x0080;
    \ No newline at end of file +NPY_ARRAY_ELEMENTSTRIDES in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_ELEMENTSTRIDES: c_int = 0x0080;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html index 714438a8f..ab97e5aec 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_ENSUREARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_ENSUREARRAY: c_int = 0x0040;
    \ No newline at end of file +NPY_ARRAY_ENSUREARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_ENSUREARRAY: c_int = 0x0040;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html index e72375019..fce5f757b 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_ENSURECOPY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_ENSURECOPY: c_int = 0x0020;
    \ No newline at end of file +NPY_ARRAY_ENSURECOPY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_ENSURECOPY: c_int = 0x0020;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html index 3cf2e5313..48ffab8bd 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_FARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_FARRAY: c_int = _; // 1_282i32
    \ No newline at end of file +NPY_ARRAY_FARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_FARRAY: c_int = _; // 1_282i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html index ed20632e9..7c49ae0a5 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html @@ -1,2 +1,2 @@ -NPY_ARRAY_FARRAY_RO in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_FARRAY_RO: c_int = _; // 258i32
    \ No newline at end of file +NPY_ARRAY_FARRAY_RO in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_FARRAY_RO: c_int = _; // 258i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html b/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html index d012f15ad..29c2c9ab7 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html @@ -1,2 +1,2 @@ -NPY_ARRAY_FORCECAST in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_FORCECAST: c_int = 0x0010;
    \ No newline at end of file +NPY_ARRAY_FORCECAST in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_FORCECAST: c_int = 0x0010;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html b/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html index 9345b4333..321134ab9 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html @@ -1,2 +1,2 @@ -NPY_ARRAY_F_CONTIGUOUS in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_F_CONTIGUOUS: c_int = 0x0002;
    \ No newline at end of file +NPY_ARRAY_F_CONTIGUOUS in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_F_CONTIGUOUS: c_int = 0x0002;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html index f09c84f21..7e25afb07 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_INOUT_ARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_INOUT_ARRAY: c_int = _; // 5_377i32
    \ No newline at end of file +NPY_ARRAY_INOUT_ARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_INOUT_ARRAY: c_int = _; // 5_377i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html index b2193de0a..0b3217724 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html @@ -1,2 +1,2 @@ -NPY_ARRAY_INOUT_ARRAY2 in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_INOUT_ARRAY2: c_int = _; // 9_473i32
    \ No newline at end of file +NPY_ARRAY_INOUT_ARRAY2 in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_INOUT_ARRAY2: c_int = _; // 9_473i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html index 15d694aa8..44c6a9160 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_INOUT_FARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_INOUT_FARRAY: c_int = _; // 5_378i32
    \ No newline at end of file +NPY_ARRAY_INOUT_FARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_INOUT_FARRAY: c_int = _; // 5_378i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html index 29dcd0e26..7ace5f51f 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html @@ -1,2 +1,2 @@ -NPY_ARRAY_INOUT_FARRAY2 in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_INOUT_FARRAY2: c_int = _; // 9_474i32
    \ No newline at end of file +NPY_ARRAY_INOUT_FARRAY2 in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_INOUT_FARRAY2: c_int = _; // 9_474i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html index 6af5f9f2f..8dc7a655b 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_IN_ARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_IN_ARRAY: c_int = NPY_ARRAY_CARRAY_RO; // 257i32
    \ No newline at end of file +NPY_ARRAY_IN_ARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_IN_ARRAY: c_int = NPY_ARRAY_CARRAY_RO; // 257i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html index bf67c8f78..cec50fa03 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_IN_FARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_IN_FARRAY: c_int = NPY_ARRAY_FARRAY_RO; // 258i32
    \ No newline at end of file +NPY_ARRAY_IN_FARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_IN_FARRAY: c_int = NPY_ARRAY_FARRAY_RO; // 258i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html b/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html index dad571788..77af96615 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html @@ -1,2 +1,2 @@ -NPY_ARRAY_NOTSWAPPED in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_NOTSWAPPED: c_int = 0x0200;
    \ No newline at end of file +NPY_ARRAY_NOTSWAPPED in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_NOTSWAPPED: c_int = 0x0200;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html index b46df7b78..deb86b6fd 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_OUT_ARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_OUT_ARRAY: c_int = NPY_ARRAY_CARRAY; // 1_281i32
    \ No newline at end of file +NPY_ARRAY_OUT_ARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_OUT_ARRAY: c_int = NPY_ARRAY_CARRAY; // 1_281i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html index d884c1eb0..b115f7307 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_OUT_FARRAY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_OUT_FARRAY: c_int = NPY_ARRAY_FARRAY; // 1_282i32
    \ No newline at end of file +NPY_ARRAY_OUT_FARRAY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_OUT_FARRAY: c_int = NPY_ARRAY_FARRAY; // 1_282i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html b/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html index d89097e1c..f5ca4e716 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html @@ -1,2 +1,2 @@ -NPY_ARRAY_OWNDATA in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_OWNDATA: c_int = 0x0004;
    \ No newline at end of file +NPY_ARRAY_OWNDATA in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_OWNDATA: c_int = 0x0004;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html index 39346ae80..47a29f62a 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_UPDATEIFCOPY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_UPDATEIFCOPY: c_int = 0x1000;
    \ No newline at end of file +NPY_ARRAY_UPDATEIFCOPY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_UPDATEIFCOPY: c_int = 0x1000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html index 659f74bd4..a7fdbb454 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html @@ -1,2 +1,2 @@ -NPY_ARRAY_UPDATE_ALL in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_UPDATE_ALL: c_int = _; // 3i32
    \ No newline at end of file +NPY_ARRAY_UPDATE_ALL in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_UPDATE_ALL: c_int = _; // 3i32
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html index adf27658f..00cfdcf46 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html @@ -1,2 +1,2 @@ -NPY_ARRAY_WRITEABLE in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_WRITEABLE: c_int = 0x0400;
    \ No newline at end of file +NPY_ARRAY_WRITEABLE in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_WRITEABLE: c_int = 0x0400;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html index 50c269382..901258a19 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html @@ -1,2 +1,2 @@ -NPY_ARRAY_WRITEBACKIFCOPY in numpy::npyffi::flags - Rust -
    pub const NPY_ARRAY_WRITEBACKIFCOPY: c_int = 0x2000;
    \ No newline at end of file +NPY_ARRAY_WRITEBACKIFCOPY in numpy::npyffi::flags - Rust +
    pub const NPY_ARRAY_WRITEBACKIFCOPY: c_int = 0x2000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html b/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html index 8af207cc7..d5a1febcd 100644 --- a/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html +++ b/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html @@ -1,2 +1,2 @@ -NPY_FROM_FIELDS in numpy::npyffi::flags - Rust +NPY_FROM_FIELDS in numpy::npyffi::flags - Rust
    pub const NPY_FROM_FIELDS: npy_char = _; // 27i8
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html b/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html index 4029d7bd5..5ad348ef2 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html @@ -1,2 +1,2 @@ -NPY_ITEM_HASOBJECT in numpy::npyffi::flags - Rust +NPY_ITEM_HASOBJECT in numpy::npyffi::flags - Rust
    pub const NPY_ITEM_HASOBJECT: npy_char = 0x01;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html b/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html index 51acbd05a..3dfd5047f 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html @@ -1,2 +1,2 @@ -NPY_ITEM_IS_POINTER in numpy::npyffi::flags - Rust +NPY_ITEM_IS_POINTER in numpy::npyffi::flags - Rust
    pub const NPY_ITEM_IS_POINTER: npy_char = 0x04;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html b/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html index e72e54df5..d0ad79991 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html @@ -1,2 +1,2 @@ -NPY_ITEM_REFCOUNT in numpy::npyffi::flags - Rust +NPY_ITEM_REFCOUNT in numpy::npyffi::flags - Rust
    pub const NPY_ITEM_REFCOUNT: npy_char = 0x01;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html b/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html index ccb0865d1..f02a5b02e 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html @@ -1,2 +1,2 @@ -NPY_ITER_ALIGNED in numpy::npyffi::flags - Rust +NPY_ITER_ALIGNED in numpy::npyffi::flags - Rust
    pub const NPY_ITER_ALIGNED: npy_uint32 = 0x00100000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html b/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html index 87c8dae09..acb2333b2 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html @@ -1,2 +1,2 @@ -NPY_ITER_ALLOCATE in numpy::npyffi::flags - Rust +NPY_ITER_ALLOCATE in numpy::npyffi::flags - Rust
    pub const NPY_ITER_ALLOCATE: npy_uint32 = 0x01000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html b/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html index d4df09b16..4e7bfde05 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html @@ -1,2 +1,2 @@ -NPY_ITER_ARRAYMASK in numpy::npyffi::flags - Rust +NPY_ITER_ARRAYMASK in numpy::npyffi::flags - Rust
    pub const NPY_ITER_ARRAYMASK: npy_uint32 = 0x20000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html b/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html index 7abdddd5a..68c24cd03 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html @@ -1,2 +1,2 @@ -NPY_ITER_BUFFERED in numpy::npyffi::flags - Rust +NPY_ITER_BUFFERED in numpy::npyffi::flags - Rust
    pub const NPY_ITER_BUFFERED: npy_uint32 = 0x00000200;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html b/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html index e5da27bca..c5e36c143 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html @@ -1,2 +1,2 @@ -NPY_ITER_COMMON_DTYPE in numpy::npyffi::flags - Rust +NPY_ITER_COMMON_DTYPE in numpy::npyffi::flags - Rust
    pub const NPY_ITER_COMMON_DTYPE: npy_uint32 = 0x00000010;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html b/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html index 53e44db19..999170a09 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html @@ -1,2 +1,2 @@ -NPY_ITER_CONTIG in numpy::npyffi::flags - Rust +NPY_ITER_CONTIG in numpy::npyffi::flags - Rust
    pub const NPY_ITER_CONTIG: npy_uint32 = 0x00200000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_COPY.html b/numpy/npyffi/flags/constant.NPY_ITER_COPY.html index f4a107d53..d1a114e01 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COPY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COPY.html @@ -1,2 +1,2 @@ -NPY_ITER_COPY in numpy::npyffi::flags - Rust +NPY_ITER_COPY in numpy::npyffi::flags - Rust

    Constant numpy::npyffi::flags::NPY_ITER_COPY

    source ·
    pub const NPY_ITER_COPY: npy_uint32 = 0x00400000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html b/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html index 9b2bf4b6b..883ad2477 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html @@ -1,2 +1,2 @@ -NPY_ITER_COPY_IF_OVERLAP in numpy::npyffi::flags - Rust +NPY_ITER_COPY_IF_OVERLAP in numpy::npyffi::flags - Rust
    pub const NPY_ITER_COPY_IF_OVERLAP: npy_uint32 = 0x00002000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html b/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html index 76b812891..446239395 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html @@ -1,2 +1,2 @@ -NPY_ITER_C_INDEX in numpy::npyffi::flags - Rust +NPY_ITER_C_INDEX in numpy::npyffi::flags - Rust
    pub const NPY_ITER_C_INDEX: npy_uint32 = 0x00000001;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html b/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html index a3aa082f6..7052548a7 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html @@ -1,2 +1,2 @@ -NPY_ITER_DELAY_BUFALLOC in numpy::npyffi::flags - Rust +NPY_ITER_DELAY_BUFALLOC in numpy::npyffi::flags - Rust
    pub const NPY_ITER_DELAY_BUFALLOC: npy_uint32 = 0x00000800;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html b/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html index 6686d9460..51583aa7c 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html @@ -1,2 +1,2 @@ -NPY_ITER_DONT_NEGATE_STRIDES in numpy::npyffi::flags - Rust +NPY_ITER_DONT_NEGATE_STRIDES in numpy::npyffi::flags - Rust
    pub const NPY_ITER_DONT_NEGATE_STRIDES: npy_uint32 = 0x00001000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html b/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html index 1f2aeb30d..c06f819fe 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html @@ -1,2 +1,2 @@ -NPY_ITER_EXTERNAL_LOOP in numpy::npyffi::flags - Rust +NPY_ITER_EXTERNAL_LOOP in numpy::npyffi::flags - Rust
    pub const NPY_ITER_EXTERNAL_LOOP: npy_uint32 = 0x00000008;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html b/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html index cfd401fef..b8197d2da 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html @@ -1,2 +1,2 @@ -NPY_ITER_F_INDEX in numpy::npyffi::flags - Rust +NPY_ITER_F_INDEX in numpy::npyffi::flags - Rust
    pub const NPY_ITER_F_INDEX: npy_uint32 = 0x00000002;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html b/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html index 237a9c5a4..8bdd83473 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html @@ -1,2 +1,2 @@ -NPY_ITER_GLOBAL_FLAGS in numpy::npyffi::flags - Rust +NPY_ITER_GLOBAL_FLAGS in numpy::npyffi::flags - Rust
    pub const NPY_ITER_GLOBAL_FLAGS: npy_uint32 = 0x0000ffff;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html b/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html index 6bf87618d..f6f6539b5 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html @@ -1,2 +1,2 @@ -NPY_ITER_GROWINNER in numpy::npyffi::flags - Rust +NPY_ITER_GROWINNER in numpy::npyffi::flags - Rust
    pub const NPY_ITER_GROWINNER: npy_uint32 = 0x00000400;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html b/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html index 65c61969b..fbce3662d 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html @@ -1,2 +1,2 @@ -NPY_ITER_MULTI_INDEX in numpy::npyffi::flags - Rust +NPY_ITER_MULTI_INDEX in numpy::npyffi::flags - Rust
    pub const NPY_ITER_MULTI_INDEX: npy_uint32 = 0x00000004;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_NBO.html b/numpy/npyffi/flags/constant.NPY_ITER_NBO.html index e1b972bf8..7b34b9151 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NBO.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NBO.html @@ -1,2 +1,2 @@ -NPY_ITER_NBO in numpy::npyffi::flags - Rust +NPY_ITER_NBO in numpy::npyffi::flags - Rust

    Constant numpy::npyffi::flags::NPY_ITER_NBO

    source ·
    pub const NPY_ITER_NBO: npy_uint32 = 0x00080000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html b/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html index 9f0fe97c0..4fc576aa5 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html @@ -1,2 +1,2 @@ -NPY_ITER_NO_BROADCAST in numpy::npyffi::flags - Rust +NPY_ITER_NO_BROADCAST in numpy::npyffi::flags - Rust
    pub const NPY_ITER_NO_BROADCAST: npy_uint32 = 0x08000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html b/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html index 843cd79ed..2e31cb7be 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html @@ -1,2 +1,2 @@ -NPY_ITER_NO_SUBTYPE in numpy::npyffi::flags - Rust +NPY_ITER_NO_SUBTYPE in numpy::npyffi::flags - Rust
    pub const NPY_ITER_NO_SUBTYPE: npy_uint32 = 0x02000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html b/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html index 1896604c3..ee501f67a 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html @@ -1,2 +1,2 @@ -NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE in numpy::npyffi::flags - Rust +NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE in numpy::npyffi::flags - Rust
    pub const NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE: npy_uint32 = 0x40000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html b/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html index 230870cf3..940bff417 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html @@ -1,2 +1,2 @@ -NPY_ITER_PER_OP_FLAGS in numpy::npyffi::flags - Rust +NPY_ITER_PER_OP_FLAGS in numpy::npyffi::flags - Rust
    pub const NPY_ITER_PER_OP_FLAGS: npy_uint32 = 0xffff0000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html b/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html index 27b1eb7b0..2f3ee761e 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html @@ -1,2 +1,2 @@ -NPY_ITER_RANGED in numpy::npyffi::flags - Rust +NPY_ITER_RANGED in numpy::npyffi::flags - Rust
    pub const NPY_ITER_RANGED: npy_uint32 = 0x00000100;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html b/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html index f817873e6..b1b98c3fe 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html @@ -1,2 +1,2 @@ -NPY_ITER_READONLY in numpy::npyffi::flags - Rust +NPY_ITER_READONLY in numpy::npyffi::flags - Rust
    pub const NPY_ITER_READONLY: npy_uint32 = 0x00020000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html b/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html index 014654550..556b9a65d 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html @@ -1,2 +1,2 @@ -NPY_ITER_READWRITE in numpy::npyffi::flags - Rust +NPY_ITER_READWRITE in numpy::npyffi::flags - Rust
    pub const NPY_ITER_READWRITE: npy_uint32 = 0x00010000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html b/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html index 535d25096..efc1ab9c2 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html @@ -1,2 +1,2 @@ -NPY_ITER_REDUCE_OK in numpy::npyffi::flags - Rust +NPY_ITER_REDUCE_OK in numpy::npyffi::flags - Rust
    pub const NPY_ITER_REDUCE_OK: npy_uint32 = 0x00000080;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html b/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html index 12ab457b7..d69f5dfa4 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html @@ -1,2 +1,2 @@ -NPY_ITER_REFS_OK in numpy::npyffi::flags - Rust +NPY_ITER_REFS_OK in numpy::npyffi::flags - Rust
    pub const NPY_ITER_REFS_OK: npy_uint32 = 0x00000020;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html b/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html index 06723f009..0a97e356e 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html @@ -1,2 +1,2 @@ -NPY_ITER_UPDATEIFCOPY in numpy::npyffi::flags - Rust +NPY_ITER_UPDATEIFCOPY in numpy::npyffi::flags - Rust
    pub const NPY_ITER_UPDATEIFCOPY: npy_uint32 = 0x00800000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html b/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html index d779c12f9..28684d1bc 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html @@ -1,2 +1,2 @@ -NPY_ITER_VIRTUAL in numpy::npyffi::flags - Rust +NPY_ITER_VIRTUAL in numpy::npyffi::flags - Rust
    pub const NPY_ITER_VIRTUAL: npy_uint32 = 0x04000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html b/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html index 0f6ff969b..3ae1532a0 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html @@ -1,2 +1,2 @@ -NPY_ITER_WRITEMASKED in numpy::npyffi::flags - Rust +NPY_ITER_WRITEMASKED in numpy::npyffi::flags - Rust
    pub const NPY_ITER_WRITEMASKED: npy_uint32 = 0x10000000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html b/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html index a397d01c7..5813a3d09 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html @@ -1,2 +1,2 @@ -NPY_ITER_WRITEONLY in numpy::npyffi::flags - Rust +NPY_ITER_WRITEONLY in numpy::npyffi::flags - Rust
    pub const NPY_ITER_WRITEONLY: npy_uint32 = 0x00040000;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html b/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html index bff37425f..e9c0e1cef 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html @@ -1,2 +1,2 @@ -NPY_ITER_ZEROSIZE_OK in numpy::npyffi::flags - Rust +NPY_ITER_ZEROSIZE_OK in numpy::npyffi::flags - Rust
    pub const NPY_ITER_ZEROSIZE_OK: npy_uint32 = 0x00000040;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html b/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html index 73235cd16..d79cc3929 100644 --- a/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html +++ b/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html @@ -1,2 +1,2 @@ -NPY_LIST_PICKLE in numpy::npyffi::flags - Rust +NPY_LIST_PICKLE in numpy::npyffi::flags - Rust
    pub const NPY_LIST_PICKLE: npy_char = 0x02;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html b/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html index 94675782a..40fd4e2f7 100644 --- a/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html +++ b/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html @@ -1,2 +1,2 @@ -NPY_NEEDS_INIT in numpy::npyffi::flags - Rust +NPY_NEEDS_INIT in numpy::npyffi::flags - Rust

    Constant numpy::npyffi::flags::NPY_NEEDS_INIT

    source ·
    pub const NPY_NEEDS_INIT: npy_char = 0x08;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html b/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html index 63ec646c8..e381aa591 100644 --- a/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html +++ b/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html @@ -1,2 +1,2 @@ -NPY_NEEDS_PYAPI in numpy::npyffi::flags - Rust +NPY_NEEDS_PYAPI in numpy::npyffi::flags - Rust
    pub const NPY_NEEDS_PYAPI: npy_char = 0x10;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html b/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html index 2b82ff4d5..791019dbb 100644 --- a/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html @@ -1,2 +1,2 @@ -NPY_OBJECT_DTYPE_FLAGS in numpy::npyffi::flags - Rust +NPY_OBJECT_DTYPE_FLAGS in numpy::npyffi::flags - Rust
    pub const NPY_OBJECT_DTYPE_FLAGS: npy_char = _; // 63i8
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html b/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html index 47bc883b2..c3978633e 100644 --- a/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html +++ b/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html @@ -1,2 +1,2 @@ -NPY_USE_GETITEM in numpy::npyffi::flags - Rust +NPY_USE_GETITEM in numpy::npyffi::flags - Rust
    pub const NPY_USE_GETITEM: npy_char = 0x20;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html b/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html index 7ef0bb579..111b222fd 100644 --- a/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html +++ b/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html @@ -1,2 +1,2 @@ -NPY_USE_SETITEM in numpy::npyffi::flags - Rust +NPY_USE_SETITEM in numpy::npyffi::flags - Rust
    pub const NPY_USE_SETITEM: npy_char = 0x40;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/index.html b/numpy/npyffi/flags/index.html index 2c521122c..5cc4f3a1d 100644 --- a/numpy/npyffi/flags/index.html +++ b/numpy/npyffi/flags/index.html @@ -1,2 +1,2 @@ -numpy::npyffi::flags - Rust +numpy::npyffi::flags - Rust
    \ No newline at end of file diff --git a/numpy/npyffi/index.html b/numpy/npyffi/index.html index 234cf8456..039cf142e 100644 --- a/numpy/npyffi/index.html +++ b/numpy/npyffi/index.html @@ -1,4 +1,4 @@ -numpy::npyffi - Rust +numpy::npyffi - Rust

    Module numpy::npyffi

    source ·
    Expand description

    Low-Level bindings for NumPy C API.

    https://numpy.org/doc/stable/reference/c-api

    Re-exports§

    Modules§

    \ No newline at end of file diff --git a/numpy/npyffi/objects/index.html b/numpy/npyffi/objects/index.html index 4fbd71293..040118a83 100644 --- a/numpy/npyffi/objects/index.html +++ b/numpy/npyffi/objects/index.html @@ -1,4 +1,4 @@ -numpy::npyffi::objects - Rust +numpy::npyffi::objects - Rust
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.NpyAuxData.html b/numpy/npyffi/objects/struct.NpyAuxData.html index 547c29d97..7e8233f42 100644 --- a/numpy/npyffi/objects/struct.NpyAuxData.html +++ b/numpy/npyffi/objects/struct.NpyAuxData.html @@ -1,19 +1,19 @@ -NpyAuxData in numpy::npyffi::objects - Rust +NpyAuxData in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct NpyAuxData { pub free: NpyAuxData_FreeFunc, pub clone: NpyAuxData_CloneFunc, - pub reserved: [*mut c_void; 2], -}

    Fields§

    §free: NpyAuxData_FreeFunc§clone: NpyAuxData_CloneFunc§reserved: [*mut c_void; 2]

    Trait Implementations§

    source§

    impl Clone for NpyAuxData

    source§

    fn clone(&self) -> NpyAuxData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for NpyAuxData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub reserved: [*mut c_void; 2], +}

    Fields§

    §free: NpyAuxData_FreeFunc§clone: NpyAuxData_CloneFunc§reserved: [*mut c_void; 2]

    Trait Implementations§

    source§

    impl Clone for NpyAuxData

    source§

    fn clone(&self) -> NpyAuxData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for NpyAuxData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.NpyIter.html b/numpy/npyffi/objects/struct.NpyIter.html index 2505c81d3..0cee9abc8 100644 --- a/numpy/npyffi/objects/struct.NpyIter.html +++ b/numpy/npyffi/objects/struct.NpyIter.html @@ -1,16 +1,16 @@ -NpyIter in numpy::npyffi::objects - Rust -

    Struct numpy::npyffi::objects::NpyIter

    source ·
    #[repr(C)]
    pub struct NpyIter(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for NpyIter

    source§

    fn clone(&self) -> NpyIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NpyIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NpyIter

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +NpyIter in numpy::npyffi::objects - Rust +

    Struct numpy::npyffi::objects::NpyIter

    source ·
    #[repr(C)]
    pub struct NpyIter(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for NpyIter

    source§

    fn clone(&self) -> NpyIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NpyIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NpyIter

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayFlagsObject.html b/numpy/npyffi/objects/struct.PyArrayFlagsObject.html index 8f26c8778..3fe989e6e 100644 --- a/numpy/npyffi/objects/struct.PyArrayFlagsObject.html +++ b/numpy/npyffi/objects/struct.PyArrayFlagsObject.html @@ -1,19 +1,19 @@ -PyArrayFlagsObject in numpy::npyffi::objects - Rust +PyArrayFlagsObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayFlagsObject { pub ob_base: PyObject, - pub arr: *mut PyObject, - pub flags: c_int, -}

    Fields§

    §ob_base: PyObject§arr: *mut PyObject§flags: c_int

    Trait Implementations§

    source§

    impl Clone for PyArrayFlagsObject

    source§

    fn clone(&self) -> PyArrayFlagsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayFlagsObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub arr: *mut PyObject, + pub flags: c_int, +}

    Fields§

    §ob_base: PyObject§arr: *mut PyObject§flags: c_int

    Trait Implementations§

    source§

    impl Clone for PyArrayFlagsObject

    source§

    fn clone(&self) -> PyArrayFlagsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayFlagsObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayInterface.html b/numpy/npyffi/objects/struct.PyArrayInterface.html index 02b21df0d..0e0be3669 100644 --- a/numpy/npyffi/objects/struct.PyArrayInterface.html +++ b/numpy/npyffi/objects/struct.PyArrayInterface.html @@ -1,25 +1,25 @@ -PyArrayInterface in numpy::npyffi::objects - Rust +PyArrayInterface in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayInterface { - pub two: c_int, - pub nd: c_int, - pub typekind: c_char, - pub itemsize: c_int, - pub flags: c_int, - pub shape: *mut npy_intp, - pub strides: *mut npy_intp, - pub data: *mut c_void, - pub descr: *mut PyObject, -}

    Fields§

    §two: c_int§nd: c_int§typekind: c_char§itemsize: c_int§flags: c_int§shape: *mut npy_intp§strides: *mut npy_intp§data: *mut c_void§descr: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArrayInterface

    source§

    fn clone(&self) -> PyArrayInterface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayInterface

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub two: c_int, + pub nd: c_int, + pub typekind: c_char, + pub itemsize: c_int, + pub flags: c_int, + pub shape: *mut npy_intp, + pub strides: *mut npy_intp, + pub data: *mut c_void, + pub descr: *mut PyObject, +}

    Fields§

    §two: c_int§nd: c_int§typekind: c_char§itemsize: c_int§flags: c_int§shape: *mut npy_intp§strides: *mut npy_intp§data: *mut c_void§descr: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArrayInterface

    source§

    fn clone(&self) -> PyArrayInterface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayInterface

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayIterObject.html b/numpy/npyffi/objects/struct.PyArrayIterObject.html index ae7d574ff..f07a31144 100644 --- a/numpy/npyffi/objects/struct.PyArrayIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayIterObject.html @@ -1,32 +1,32 @@ -PyArrayIterObject in numpy::npyffi::objects - Rust +PyArrayIterObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayIterObject {
    Show 16 fields pub ob_base: PyObject, - pub nd_m1: c_int, + pub nd_m1: c_int, pub index: npy_intp, pub size: npy_intp, - pub coordinates: [npy_intp; 32], - pub dims_m1: [npy_intp; 32], - pub strides: [npy_intp; 32], - pub backstrides: [npy_intp; 32], - pub factors: [npy_intp; 32], - pub ao: *mut PyArrayObject, - pub dataptr: *mut c_char, + pub coordinates: [npy_intp; 32], + pub dims_m1: [npy_intp; 32], + pub strides: [npy_intp; 32], + pub backstrides: [npy_intp; 32], + pub factors: [npy_intp; 32], + pub ao: *mut PyArrayObject, + pub dataptr: *mut c_char, pub contiguous: npy_bool, - pub bounds: [[npy_intp; 2]; 32], - pub limits: [[npy_intp; 2]; 32], - pub limits_sizes: [npy_intp; 32], + pub bounds: [[npy_intp; 2]; 32], + pub limits: [[npy_intp; 2]; 32], + pub limits_sizes: [npy_intp; 32], pub translate: npy_iter_get_dataptr_t, -
    }

    Fields§

    §ob_base: PyObject§nd_m1: c_int§index: npy_intp§size: npy_intp§coordinates: [npy_intp; 32]§dims_m1: [npy_intp; 32]§strides: [npy_intp; 32]§backstrides: [npy_intp; 32]§factors: [npy_intp; 32]§ao: *mut PyArrayObject§dataptr: *mut c_char§contiguous: npy_bool§bounds: [[npy_intp; 2]; 32]§limits: [[npy_intp; 2]; 32]§limits_sizes: [npy_intp; 32]§translate: npy_iter_get_dataptr_t

    Trait Implementations§

    source§

    impl Clone for PyArrayIterObject

    source§

    fn clone(&self) -> PyArrayIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Fields§

    §ob_base: PyObject§nd_m1: c_int§index: npy_intp§size: npy_intp§coordinates: [npy_intp; 32]§dims_m1: [npy_intp; 32]§strides: [npy_intp; 32]§backstrides: [npy_intp; 32]§factors: [npy_intp; 32]§ao: *mut PyArrayObject§dataptr: *mut c_char§contiguous: npy_bool§bounds: [[npy_intp; 2]; 32]§limits: [[npy_intp; 2]; 32]§limits_sizes: [npy_intp; 32]§translate: npy_iter_get_dataptr_t

    Trait Implementations§

    source§

    impl Clone for PyArrayIterObject

    source§

    fn clone(&self) -> PyArrayIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayMapIterObject.html b/numpy/npyffi/objects/struct.PyArrayMapIterObject.html index 792a8ea9b..4bafefd93 100644 --- a/numpy/npyffi/objects/struct.PyArrayMapIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayMapIterObject.html @@ -1,49 +1,49 @@ -PyArrayMapIterObject in numpy::npyffi::objects - Rust +PyArrayMapIterObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayMapIterObject {
    Show 33 fields pub ob_base: PyObject, - pub numiter: c_int, + pub numiter: c_int, pub size: npy_intp, pub index: npy_intp, - pub nd: c_int, - pub dimensions: [npy_intp; 32], - pub outer: *mut NpyIter, - pub unused: [*mut c_void; 30], - pub array: *mut PyArrayObject, - pub ait: *mut PyArrayIterObject, - pub subspace: *mut PyArrayObject, - pub iteraxes: [c_int; 32], - pub fancy_strides: [npy_intp; 32], - pub baseoffset: *mut c_char, - pub consec: c_int, - pub dataptr: *mut c_char, - pub nd_fancy: c_int, - pub fancy_dims: [npy_intp; 32], - pub needs_api: c_int, - pub extra_op: *mut PyArrayObject, - pub extra_op_dtype: *mut PyArray_Descr, - pub extra_op_flags: *mut npy_uint32, - pub extra_op_iter: *mut NpyIter, + pub nd: c_int, + pub dimensions: [npy_intp; 32], + pub outer: *mut NpyIter, + pub unused: [*mut c_void; 30], + pub array: *mut PyArrayObject, + pub ait: *mut PyArrayIterObject, + pub subspace: *mut PyArrayObject, + pub iteraxes: [c_int; 32], + pub fancy_strides: [npy_intp; 32], + pub baseoffset: *mut c_char, + pub consec: c_int, + pub dataptr: *mut c_char, + pub nd_fancy: c_int, + pub fancy_dims: [npy_intp; 32], + pub needs_api: c_int, + pub extra_op: *mut PyArrayObject, + pub extra_op_dtype: *mut PyArray_Descr, + pub extra_op_flags: *mut npy_uint32, + pub extra_op_iter: *mut NpyIter, pub extra_op_next: NpyIter_IterNextFunc, - pub extra_op_ptrs: *mut *mut c_char, + pub extra_op_ptrs: *mut *mut c_char, pub outer_next: NpyIter_IterNextFunc, - pub outer_ptrs: *mut *mut c_char, - pub outer_strides: *mut npy_intp, - pub subspace_iter: *mut NpyIter, + pub outer_ptrs: *mut *mut c_char, + pub outer_strides: *mut npy_intp, + pub subspace_iter: *mut NpyIter, pub subspace_next: NpyIter_IterNextFunc, - pub subspace_ptrs: *mut *mut c_char, - pub subspace_strides: *mut npy_intp, + pub subspace_ptrs: *mut *mut c_char, + pub subspace_strides: *mut npy_intp, pub iter_count: npy_intp, -
    }

    Fields§

    §ob_base: PyObject§numiter: c_int§size: npy_intp§index: npy_intp§nd: c_int§dimensions: [npy_intp; 32]§outer: *mut NpyIter§unused: [*mut c_void; 30]§array: *mut PyArrayObject§ait: *mut PyArrayIterObject§subspace: *mut PyArrayObject§iteraxes: [c_int; 32]§fancy_strides: [npy_intp; 32]§baseoffset: *mut c_char§consec: c_int§dataptr: *mut c_char§nd_fancy: c_int§fancy_dims: [npy_intp; 32]§needs_api: c_int§extra_op: *mut PyArrayObject§extra_op_dtype: *mut PyArray_Descr§extra_op_flags: *mut npy_uint32§extra_op_iter: *mut NpyIter§extra_op_next: NpyIter_IterNextFunc§extra_op_ptrs: *mut *mut c_char§outer_next: NpyIter_IterNextFunc§outer_ptrs: *mut *mut c_char§outer_strides: *mut npy_intp§subspace_iter: *mut NpyIter§subspace_next: NpyIter_IterNextFunc§subspace_ptrs: *mut *mut c_char§subspace_strides: *mut npy_intp§iter_count: npy_intp

    Trait Implementations§

    source§

    impl Clone for PyArrayMapIterObject

    source§

    fn clone(&self) -> PyArrayMapIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayMapIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Fields§

    §ob_base: PyObject§numiter: c_int§size: npy_intp§index: npy_intp§nd: c_int§dimensions: [npy_intp; 32]§outer: *mut NpyIter§unused: [*mut c_void; 30]§array: *mut PyArrayObject§ait: *mut PyArrayIterObject§subspace: *mut PyArrayObject§iteraxes: [c_int; 32]§fancy_strides: [npy_intp; 32]§baseoffset: *mut c_char§consec: c_int§dataptr: *mut c_char§nd_fancy: c_int§fancy_dims: [npy_intp; 32]§needs_api: c_int§extra_op: *mut PyArrayObject§extra_op_dtype: *mut PyArray_Descr§extra_op_flags: *mut npy_uint32§extra_op_iter: *mut NpyIter§extra_op_next: NpyIter_IterNextFunc§extra_op_ptrs: *mut *mut c_char§outer_next: NpyIter_IterNextFunc§outer_ptrs: *mut *mut c_char§outer_strides: *mut npy_intp§subspace_iter: *mut NpyIter§subspace_next: NpyIter_IterNextFunc§subspace_ptrs: *mut *mut c_char§subspace_strides: *mut npy_intp§iter_count: npy_intp

    Trait Implementations§

    source§

    impl Clone for PyArrayMapIterObject

    source§

    fn clone(&self) -> PyArrayMapIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayMapIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html b/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html index 2ec66ae28..407bb14fa 100644 --- a/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html @@ -1,23 +1,23 @@ -PyArrayMultiIterObject in numpy::npyffi::objects - Rust +PyArrayMultiIterObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayMultiIterObject { pub ob_base: PyObject, - pub numiter: c_int, + pub numiter: c_int, pub size: npy_intp, pub index: npy_intp, - pub nd: c_int, - pub dimensions: [npy_intp; 32], - pub iters: [*mut PyArrayIterObject; 32], -}

    Fields§

    §ob_base: PyObject§numiter: c_int§size: npy_intp§index: npy_intp§nd: c_int§dimensions: [npy_intp; 32]§iters: [*mut PyArrayIterObject; 32]

    Trait Implementations§

    source§

    impl Clone for PyArrayMultiIterObject

    source§

    fn clone(&self) -> PyArrayMultiIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayMultiIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub nd: c_int, + pub dimensions: [npy_intp; 32], + pub iters: [*mut PyArrayIterObject; 32], +}

    Fields§

    §ob_base: PyObject§numiter: c_int§size: npy_intp§index: npy_intp§nd: c_int§dimensions: [npy_intp; 32]§iters: [*mut PyArrayIterObject; 32]

    Trait Implementations§

    source§

    impl Clone for PyArrayMultiIterObject

    source§

    fn clone(&self) -> PyArrayMultiIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayMultiIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html b/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html index cfbc10546..607ff3a64 100644 --- a/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html @@ -1,37 +1,37 @@ -PyArrayNeighborhoodIterObject in numpy::npyffi::objects - Rust +PyArrayNeighborhoodIterObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayNeighborhoodIterObject {
    Show 21 fields pub ob_base: PyObject, - pub nd_m1: c_int, + pub nd_m1: c_int, pub index: npy_intp, pub size: npy_intp, - pub coordinates: [npy_intp; 32], - pub dims_m1: [npy_intp; 32], - pub strides: [npy_intp; 32], - pub backstrides: [npy_intp; 32], - pub factors: [npy_intp; 32], - pub ao: *mut PyArrayObject, - pub dataptr: *mut c_char, + pub coordinates: [npy_intp; 32], + pub dims_m1: [npy_intp; 32], + pub strides: [npy_intp; 32], + pub backstrides: [npy_intp; 32], + pub factors: [npy_intp; 32], + pub ao: *mut PyArrayObject, + pub dataptr: *mut c_char, pub contiguous: npy_bool, - pub bounds: [[npy_intp; 2]; 32], - pub limits: [[npy_intp; 2]; 32], - pub limits_sizes: [npy_intp; 32], + pub bounds: [[npy_intp; 2]; 32], + pub limits: [[npy_intp; 2]; 32], + pub limits_sizes: [npy_intp; 32], pub translate: npy_iter_get_dataptr_t, pub nd: npy_intp, - pub dimensions: [npy_intp; 32], - pub _internal_iter: *mut PyArrayIterObject, - pub constant: *mut c_char, - pub mode: c_int, -
    }

    Fields§

    §ob_base: PyObject§nd_m1: c_int§index: npy_intp§size: npy_intp§coordinates: [npy_intp; 32]§dims_m1: [npy_intp; 32]§strides: [npy_intp; 32]§backstrides: [npy_intp; 32]§factors: [npy_intp; 32]§ao: *mut PyArrayObject§dataptr: *mut c_char§contiguous: npy_bool§bounds: [[npy_intp; 2]; 32]§limits: [[npy_intp; 2]; 32]§limits_sizes: [npy_intp; 32]§translate: npy_iter_get_dataptr_t§nd: npy_intp§dimensions: [npy_intp; 32]§_internal_iter: *mut PyArrayIterObject§constant: *mut c_char§mode: c_int

    Trait Implementations§

    source§

    impl Clone for PyArrayNeighborhoodIterObject

    source§

    fn clone(&self) -> PyArrayNeighborhoodIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayNeighborhoodIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub dimensions: [npy_intp; 32], + pub _internal_iter: *mut PyArrayIterObject, + pub constant: *mut c_char, + pub mode: c_int, +
    }

    Fields§

    §ob_base: PyObject§nd_m1: c_int§index: npy_intp§size: npy_intp§coordinates: [npy_intp; 32]§dims_m1: [npy_intp; 32]§strides: [npy_intp; 32]§backstrides: [npy_intp; 32]§factors: [npy_intp; 32]§ao: *mut PyArrayObject§dataptr: *mut c_char§contiguous: npy_bool§bounds: [[npy_intp; 2]; 32]§limits: [[npy_intp; 2]; 32]§limits_sizes: [npy_intp; 32]§translate: npy_iter_get_dataptr_t§nd: npy_intp§dimensions: [npy_intp; 32]§_internal_iter: *mut PyArrayIterObject§constant: *mut c_char§mode: c_int

    Trait Implementations§

    source§

    impl Clone for PyArrayNeighborhoodIterObject

    source§

    fn clone(&self) -> PyArrayNeighborhoodIterObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayNeighborhoodIterObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArrayObject.html b/numpy/npyffi/objects/struct.PyArrayObject.html index 4fad7937a..6797293b3 100644 --- a/numpy/npyffi/objects/struct.PyArrayObject.html +++ b/numpy/npyffi/objects/struct.PyArrayObject.html @@ -1,25 +1,25 @@ -PyArrayObject in numpy::npyffi::objects - Rust +PyArrayObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArrayObject { pub ob_base: PyObject, - pub data: *mut c_char, - pub nd: c_int, - pub dimensions: *mut npy_intp, - pub strides: *mut npy_intp, - pub base: *mut PyObject, - pub descr: *mut PyArray_Descr, - pub flags: c_int, - pub weakreflist: *mut PyObject, -}

    Fields§

    §ob_base: PyObject§data: *mut c_char§nd: c_int§dimensions: *mut npy_intp§strides: *mut npy_intp§base: *mut PyObject§descr: *mut PyArray_Descr§flags: c_int§weakreflist: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArrayObject

    source§

    fn clone(&self) -> PyArrayObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub data: *mut c_char, + pub nd: c_int, + pub dimensions: *mut npy_intp, + pub strides: *mut npy_intp, + pub base: *mut PyObject, + pub descr: *mut PyArray_Descr, + pub flags: c_int, + pub weakreflist: *mut PyObject, +}

    Fields§

    §ob_base: PyObject§data: *mut c_char§nd: c_int§dimensions: *mut npy_intp§strides: *mut npy_intp§base: *mut PyObject§descr: *mut PyArray_Descr§flags: c_int§weakreflist: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArrayObject

    source§

    fn clone(&self) -> PyArrayObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArrayObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html b/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html index 6db128f9e..7e53fef20 100644 --- a/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html +++ b/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html @@ -1,6 +1,6 @@ -PyArray_ArrFuncs in numpy::npyffi::objects - Rust +PyArray_ArrFuncs in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_ArrFuncs {
    Show 23 fields - pub cast: [PyArray_VectorUnaryFunc; 21], + pub cast: [PyArray_VectorUnaryFunc; 21], pub getitem: PyArray_GetItemFunc, pub setitem: PyArray_SetItemFunc, pub copyswapn: PyArray_CopySwapNFunc, @@ -13,27 +13,27 @@ pub nonzero: PyArray_NonzeroFunc, pub fill: PyArray_FillFunc, pub fillwithscalar: PyArray_FillWithScalarFunc, - pub sort: [PyArray_SortFunc; 3], - pub argsort: [PyArray_ArgSortFunc; 3], - pub castdict: *mut PyObject, + pub sort: [PyArray_SortFunc; 3], + pub argsort: [PyArray_ArgSortFunc; 3], + pub castdict: *mut PyObject, pub scalarkind: PyArray_ScalarKindFunc, - pub cancastscalarkindto: *mut *mut c_int, - pub cancastto: *mut c_int, + pub cancastscalarkindto: *mut *mut c_int, + pub cancastto: *mut c_int, pub fastclip: PyArray_FastClipFunc, pub fastputmask: PyArray_FastPutmaskFunc, pub fasttake: PyArray_FastTakeFunc, pub argmin: PyArray_ArgFunc, -
    }

    Fields§

    §cast: [PyArray_VectorUnaryFunc; 21]§getitem: PyArray_GetItemFunc§setitem: PyArray_SetItemFunc§copyswapn: PyArray_CopySwapNFunc§copyswap: PyArray_CopySwapFunc§compare: PyArray_CompareFunc§argmax: PyArray_ArgFunc§dotfunc: PyArray_DotFunc§scanfunc: PyArray_ScanFunc§fromstr: PyArray_FromStrFunc§nonzero: PyArray_NonzeroFunc§fill: PyArray_FillFunc§fillwithscalar: PyArray_FillWithScalarFunc§sort: [PyArray_SortFunc; 3]§argsort: [PyArray_ArgSortFunc; 3]§castdict: *mut PyObject§scalarkind: PyArray_ScalarKindFunc§cancastscalarkindto: *mut *mut c_int§cancastto: *mut c_int§fastclip: PyArray_FastClipFunc§fastputmask: PyArray_FastPutmaskFunc§fasttake: PyArray_FastTakeFunc§argmin: PyArray_ArgFunc

    Trait Implementations§

    source§

    impl Clone for PyArray_ArrFuncs

    source§

    fn clone(&self) -> PyArray_ArrFuncs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_ArrFuncs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Fields§

    §cast: [PyArray_VectorUnaryFunc; 21]§getitem: PyArray_GetItemFunc§setitem: PyArray_SetItemFunc§copyswapn: PyArray_CopySwapNFunc§copyswap: PyArray_CopySwapFunc§compare: PyArray_CompareFunc§argmax: PyArray_ArgFunc§dotfunc: PyArray_DotFunc§scanfunc: PyArray_ScanFunc§fromstr: PyArray_FromStrFunc§nonzero: PyArray_NonzeroFunc§fill: PyArray_FillFunc§fillwithscalar: PyArray_FillWithScalarFunc§sort: [PyArray_SortFunc; 3]§argsort: [PyArray_ArgSortFunc; 3]§castdict: *mut PyObject§scalarkind: PyArray_ScalarKindFunc§cancastscalarkindto: *mut *mut c_int§cancastto: *mut c_int§fastclip: PyArray_FastClipFunc§fastputmask: PyArray_FastPutmaskFunc§fasttake: PyArray_FastTakeFunc§argmin: PyArray_ArgFunc

    Trait Implementations§

    source§

    impl Clone for PyArray_ArrFuncs

    source§

    fn clone(&self) -> PyArray_ArrFuncs

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_ArrFuncs

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_ArrayDescr.html b/numpy/npyffi/objects/struct.PyArray_ArrayDescr.html index 0eea0160e..5551e8174 100644 --- a/numpy/npyffi/objects/struct.PyArray_ArrayDescr.html +++ b/numpy/npyffi/objects/struct.PyArray_ArrayDescr.html @@ -1,18 +1,18 @@ -PyArray_ArrayDescr in numpy::npyffi::objects - Rust +PyArray_ArrayDescr in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_ArrayDescr { - pub base: *mut PyArray_Descr, - pub shape: *mut PyObject, -}

    Fields§

    §base: *mut PyArray_Descr§shape: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArray_ArrayDescr

    source§

    fn clone(&self) -> PyArray_ArrayDescr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_ArrayDescr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub base: *mut PyArray_Descr, + pub shape: *mut PyObject, +}

    Fields§

    §base: *mut PyArray_Descr§shape: *mut PyObject

    Trait Implementations§

    source§

    impl Clone for PyArray_ArrayDescr

    source§

    fn clone(&self) -> PyArray_ArrayDescr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_ArrayDescr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_Chunk.html b/numpy/npyffi/objects/struct.PyArray_Chunk.html index 73ff9fa48..54218da3f 100644 --- a/numpy/npyffi/objects/struct.PyArray_Chunk.html +++ b/numpy/npyffi/objects/struct.PyArray_Chunk.html @@ -1,21 +1,21 @@ -PyArray_Chunk in numpy::npyffi::objects - Rust +PyArray_Chunk in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_Chunk { pub ob_base: PyObject, - pub base: *mut PyObject, - pub ptr: *mut c_void, + pub base: *mut PyObject, + pub ptr: *mut c_void, pub len: npy_intp, - pub flags: c_int, -}

    Fields§

    §ob_base: PyObject§base: *mut PyObject§ptr: *mut c_void§len: npy_intp§flags: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_Chunk

    source§

    fn clone(&self) -> PyArray_Chunk

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Chunk

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub flags: c_int, +}

    Fields§

    §ob_base: PyObject§base: *mut PyObject§ptr: *mut c_void§len: npy_intp§flags: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_Chunk

    source§

    fn clone(&self) -> PyArray_Chunk

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Chunk

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_DatetimeDTypeMetaData.html b/numpy/npyffi/objects/struct.PyArray_DatetimeDTypeMetaData.html index 9d3eebc54..d3474dbea 100644 --- a/numpy/npyffi/objects/struct.PyArray_DatetimeDTypeMetaData.html +++ b/numpy/npyffi/objects/struct.PyArray_DatetimeDTypeMetaData.html @@ -1,18 +1,18 @@ -PyArray_DatetimeDTypeMetaData in numpy::npyffi::objects - Rust +PyArray_DatetimeDTypeMetaData in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_DatetimeDTypeMetaData { pub base: NpyAuxData, pub meta: PyArray_DatetimeMetaData, -}

    Fields§

    §base: NpyAuxData§meta: PyArray_DatetimeMetaData

    Trait Implementations§

    source§

    impl Clone for PyArray_DatetimeDTypeMetaData

    source§

    fn clone(&self) -> PyArray_DatetimeDTypeMetaData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_DatetimeDTypeMetaData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Fields§

    §base: NpyAuxData§meta: PyArray_DatetimeMetaData

    Trait Implementations§

    source§

    impl Clone for PyArray_DatetimeDTypeMetaData

    source§

    fn clone(&self) -> PyArray_DatetimeDTypeMetaData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_DatetimeDTypeMetaData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_DatetimeMetaData.html b/numpy/npyffi/objects/struct.PyArray_DatetimeMetaData.html index e073693ac..88da508ad 100644 --- a/numpy/npyffi/objects/struct.PyArray_DatetimeMetaData.html +++ b/numpy/npyffi/objects/struct.PyArray_DatetimeMetaData.html @@ -1,19 +1,19 @@ -PyArray_DatetimeMetaData in numpy::npyffi::objects - Rust +PyArray_DatetimeMetaData in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_DatetimeMetaData { pub base: NPY_DATETIMEUNIT, - pub num: c_int, -}

    Fields§

    §base: NPY_DATETIMEUNIT§num: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_DatetimeMetaData

    source§

    fn clone(&self) -> PyArray_DatetimeMetaData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_DatetimeMetaData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub num: c_int, +}

    Fields§

    §base: NPY_DATETIMEUNIT§num: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_DatetimeMetaData

    source§

    fn clone(&self) -> PyArray_DatetimeMetaData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_DatetimeMetaData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_Descr.html b/numpy/npyffi/objects/struct.PyArray_Descr.html index 5bc091f3c..c663e5563 100644 --- a/numpy/npyffi/objects/struct.PyArray_Descr.html +++ b/numpy/npyffi/objects/struct.PyArray_Descr.html @@ -1,32 +1,32 @@ -PyArray_Descr in numpy::npyffi::objects - Rust +PyArray_Descr in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_Descr {
    Show 16 fields pub ob_base: PyObject, - pub typeobj: *mut PyTypeObject, - pub kind: c_char, - pub type_: c_char, - pub byteorder: c_char, - pub flags: c_char, - pub type_num: c_int, - pub elsize: c_int, - pub alignment: c_int, - pub subarray: *mut PyArray_ArrayDescr, - pub fields: *mut PyObject, - pub names: *mut PyObject, - pub f: *mut PyArray_ArrFuncs, - pub metadata: *mut PyObject, - pub c_metadata: *mut NpyAuxData, + pub typeobj: *mut PyTypeObject, + pub kind: c_char, + pub type_: c_char, + pub byteorder: c_char, + pub flags: c_char, + pub type_num: c_int, + pub elsize: c_int, + pub alignment: c_int, + pub subarray: *mut PyArray_ArrayDescr, + pub fields: *mut PyObject, + pub names: *mut PyObject, + pub f: *mut PyArray_ArrFuncs, + pub metadata: *mut PyObject, + pub c_metadata: *mut NpyAuxData, pub hash: npy_hash_t, -
    }

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§flags: c_char§type_num: c_int§elsize: c_int§alignment: c_int§subarray: *mut PyArray_ArrayDescr§fields: *mut PyObject§names: *mut PyObject§f: *mut PyArray_ArrFuncs§metadata: *mut PyObject§c_metadata: *mut NpyAuxData§hash: npy_hash_t

    Trait Implementations§

    source§

    impl Clone for PyArray_Descr

    source§

    fn clone(&self) -> PyArray_Descr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Descr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§flags: c_char§type_num: c_int§elsize: c_int§alignment: c_int§subarray: *mut PyArray_ArrayDescr§fields: *mut PyObject§names: *mut PyObject§f: *mut PyArray_ArrFuncs§metadata: *mut PyObject§c_metadata: *mut NpyAuxData§hash: npy_hash_t

    Trait Implementations§

    source§

    impl Clone for PyArray_Descr

    source§

    fn clone(&self) -> PyArray_Descr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Descr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyArray_Dims.html b/numpy/npyffi/objects/struct.PyArray_Dims.html index 354db5392..524a8aff5 100644 --- a/numpy/npyffi/objects/struct.PyArray_Dims.html +++ b/numpy/npyffi/objects/struct.PyArray_Dims.html @@ -1,18 +1,18 @@ -PyArray_Dims in numpy::npyffi::objects - Rust +PyArray_Dims in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyArray_Dims { - pub ptr: *mut npy_intp, - pub len: c_int, -}

    Fields§

    §ptr: *mut npy_intp§len: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_Dims

    source§

    fn clone(&self) -> PyArray_Dims

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Dims

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub ptr: *mut npy_intp, + pub len: c_int, +}

    Fields§

    §ptr: *mut npy_intp§len: c_int

    Trait Implementations§

    source§

    impl Clone for PyArray_Dims

    source§

    fn clone(&self) -> PyArray_Dims

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyArray_Dims

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.PyUFuncObject.html b/numpy/npyffi/objects/struct.PyUFuncObject.html index 32afe54d2..e130c2d21 100644 --- a/numpy/npyffi/objects/struct.PyUFuncObject.html +++ b/numpy/npyffi/objects/struct.PyUFuncObject.html @@ -1,43 +1,43 @@ -PyUFuncObject in numpy::npyffi::objects - Rust +PyUFuncObject in numpy::npyffi::objects - Rust
    #[repr(C)]
    pub struct PyUFuncObject {
    Show 27 fields pub ob_base: PyObject, - pub nin: c_int, - pub nout: c_int, - pub nargs: c_int, - pub identity: c_int, - pub functions: *mut PyUFuncGenericFunction, - pub data: *mut *mut c_void, - pub ntypes: c_int, - pub reserved1: c_int, - pub name: *const c_char, - pub types: *mut c_char, - pub doc: *const c_char, - pub ptr: *mut c_void, - pub obj: *mut PyObject, - pub userloops: *mut PyObject, - pub core_enabled: c_int, - pub core_num_dim_ix: c_int, - pub core_num_dims: *mut c_int, - pub core_dim_ixs: *mut c_int, - pub core_offsets: *mut c_int, - pub core_signature: *mut c_char, + pub nin: c_int, + pub nout: c_int, + pub nargs: c_int, + pub identity: c_int, + pub functions: *mut PyUFuncGenericFunction, + pub data: *mut *mut c_void, + pub ntypes: c_int, + pub reserved1: c_int, + pub name: *const c_char, + pub types: *mut c_char, + pub doc: *const c_char, + pub ptr: *mut c_void, + pub obj: *mut PyObject, + pub userloops: *mut PyObject, + pub core_enabled: c_int, + pub core_num_dim_ix: c_int, + pub core_num_dims: *mut c_int, + pub core_dim_ixs: *mut c_int, + pub core_offsets: *mut c_int, + pub core_signature: *mut c_char, pub type_resolver: PyUFunc_TypeResolutionFunc, pub legacy_inner_loop_selector: PyUFunc_LegacyInnerLoopSelectionFunc, - pub reserved2: *mut c_void, + pub reserved2: *mut c_void, pub masked_inner_loop_selector: PyUFunc_MaskedInnerLoopSelectionFunc, - pub op_flags: *mut npy_uint32, + pub op_flags: *mut npy_uint32, pub iter_flags: npy_uint32, -
    }

    Fields§

    §ob_base: PyObject§nin: c_int§nout: c_int§nargs: c_int§identity: c_int§functions: *mut PyUFuncGenericFunction§data: *mut *mut c_void§ntypes: c_int§reserved1: c_int§name: *const c_char§types: *mut c_char§doc: *const c_char§ptr: *mut c_void§obj: *mut PyObject§userloops: *mut PyObject§core_enabled: c_int§core_num_dim_ix: c_int§core_num_dims: *mut c_int§core_dim_ixs: *mut c_int§core_offsets: *mut c_int§core_signature: *mut c_char§type_resolver: PyUFunc_TypeResolutionFunc§legacy_inner_loop_selector: PyUFunc_LegacyInnerLoopSelectionFunc§reserved2: *mut c_void§masked_inner_loop_selector: PyUFunc_MaskedInnerLoopSelectionFunc§op_flags: *mut npy_uint32§iter_flags: npy_uint32

    Trait Implementations§

    source§

    impl Clone for PyUFuncObject

    source§

    fn clone(&self) -> PyUFuncObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyUFuncObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Fields§

    §ob_base: PyObject§nin: c_int§nout: c_int§nargs: c_int§identity: c_int§functions: *mut PyUFuncGenericFunction§data: *mut *mut c_void§ntypes: c_int§reserved1: c_int§name: *const c_char§types: *mut c_char§doc: *const c_char§ptr: *mut c_void§obj: *mut PyObject§userloops: *mut PyObject§core_enabled: c_int§core_num_dim_ix: c_int§core_num_dims: *mut c_int§core_dim_ixs: *mut c_int§core_offsets: *mut c_int§core_signature: *mut c_char§type_resolver: PyUFunc_TypeResolutionFunc§legacy_inner_loop_selector: PyUFunc_LegacyInnerLoopSelectionFunc§reserved2: *mut c_void§masked_inner_loop_selector: PyUFunc_MaskedInnerLoopSelectionFunc§op_flags: *mut npy_uint32§iter_flags: npy_uint32

    Trait Implementations§

    source§

    impl Clone for PyUFuncObject

    source§

    fn clone(&self) -> PyUFuncObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for PyUFuncObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html b/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html index cab00c644..2a8b4f9d5 100644 --- a/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html +++ b/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html @@ -1,7 +1,7 @@ -NpyAuxData_CloneFunc in numpy::npyffi::objects - Rust -
    pub type NpyAuxData_CloneFunc = Option<unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData>;

    Aliased Type§

    enum NpyAuxData_CloneFunc {
    +NpyAuxData_CloneFunc in numpy::npyffi::objects - Rust
    +    
    pub type NpyAuxData_CloneFunc = Option<unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData>;

    Aliased Type§

    enum NpyAuxData_CloneFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData),
    +    Some(unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyAuxData) -> *mut NpyAuxData)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html b/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html index 1e68295f2..08bb90df8 100644 --- a/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html +++ b/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html @@ -1,7 +1,7 @@ -NpyAuxData_FreeFunc in numpy::npyffi::objects - Rust -
    pub type NpyAuxData_FreeFunc = Option<unsafe extern "C" fn(_: *mut NpyAuxData)>;

    Aliased Type§

    enum NpyAuxData_FreeFunc {
    +NpyAuxData_FreeFunc in numpy::npyffi::objects - Rust
    +    
    pub type NpyAuxData_FreeFunc = Option<unsafe extern "C" fn(_: *mut NpyAuxData)>;

    Aliased Type§

    enum NpyAuxData_FreeFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut NpyAuxData)),
    +    Some(unsafe extern "C" fn(_: *mut NpyAuxData)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyAuxData))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyAuxData))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html b/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html index 6d42dde27..b39bf06b0 100644 --- a/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html +++ b/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html @@ -1,7 +1,7 @@ -NpyIter_GetMultiIndexFunc in numpy::npyffi::objects - Rust -
    pub type NpyIter_GetMultiIndexFunc = Option<unsafe extern "C" fn(_: *mut NpyIter, _: *mut npy_intp)>;

    Aliased Type§

    enum NpyIter_GetMultiIndexFunc {
    +NpyIter_GetMultiIndexFunc in numpy::npyffi::objects - Rust
    +    
    pub type NpyIter_GetMultiIndexFunc = Option<unsafe extern "C" fn(_: *mut NpyIter, _: *mut npy_intp)>;

    Aliased Type§

    enum NpyIter_GetMultiIndexFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut NpyIter, _: *mut isize)),
    +    Some(unsafe extern "C" fn(_: *mut NpyIter, _: *mut isize)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyIter, _: *mut isize))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyIter, _: *mut isize))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html b/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html index f572aa894..1140fce1c 100644 --- a/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html +++ b/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html @@ -1,7 +1,7 @@ -NpyIter_IterNextFunc in numpy::npyffi::objects - Rust -
    pub type NpyIter_IterNextFunc = Option<unsafe extern "C" fn(_: *mut NpyIter) -> c_int>;

    Aliased Type§

    enum NpyIter_IterNextFunc {
    +NpyIter_IterNextFunc in numpy::npyffi::objects - Rust
    +    
    pub type NpyIter_IterNextFunc = Option<unsafe extern "C" fn(_: *mut NpyIter) -> c_int>;

    Aliased Type§

    enum NpyIter_IterNextFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut NpyIter) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut NpyIter) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyIter) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut NpyIter) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_ArgFunc.html b/numpy/npyffi/objects/type.PyArray_ArgFunc.html index 5cd525451..fb3eb3130 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgFunc.html @@ -1,7 +1,7 @@ -PyArray_ArgFunc in numpy::npyffi::objects - Rust -

    Type Alias numpy::npyffi::objects::PyArray_ArgFunc

    source ·
    pub type PyArray_ArgFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgFunc {
    +PyArray_ArgFunc in numpy::npyffi::objects - Rust
    +    

    Type Alias numpy::npyffi::objects::PyArray_ArgFunc

    source ·
    pub type PyArray_ArgFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html b/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html index 749c759d8..9fd2ef7b1 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html @@ -1,7 +1,7 @@ -PyArray_ArgPartitionFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_ArgPartitionFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut npy_intp, _: npy_intp, _: npy_intp, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgPartitionFunc {
    +PyArray_ArgPartitionFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_ArgPartitionFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut npy_intp, _: npy_intp, _: npy_intp, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgPartitionFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html b/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html index e1f4df624..b43a34d4b 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html @@ -1,7 +1,7 @@ -PyArray_ArgSortFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_ArgSortFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut npy_intp, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgSortFunc {
    +PyArray_ArgSortFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_ArgSortFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut npy_intp, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ArgSortFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut isize, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_CompareFunc.html b/numpy/npyffi/objects/type.PyArray_CompareFunc.html index 336948590..b867a16bf 100644 --- a/numpy/npyffi/objects/type.PyArray_CompareFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CompareFunc.html @@ -1,7 +1,7 @@ -PyArray_CompareFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_CompareFunc = Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_CompareFunc {
    +PyArray_CompareFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_CompareFunc = Option<unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_CompareFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *const c_void, _: *const c_void, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html b/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html index a287d330e..4a3d033cb 100644 --- a/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html @@ -1,7 +1,7 @@ -PyArray_CopySwapFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_CopySwapFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: c_int, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_CopySwapFunc {
    +PyArray_CopySwapFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_CopySwapFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: c_int, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_CopySwapFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html b/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html index 68631bf1b..304a9a87b 100644 --- a/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html @@ -1,7 +1,7 @@ -PyArray_CopySwapNFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_CopySwapNFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: npy_intp, _: c_int, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_CopySwapNFunc {
    +PyArray_CopySwapNFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_CopySwapNFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: npy_intp, _: c_int, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_CopySwapNFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: isize, _: i32, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: isize, _: i32, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: isize, _: i32, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: isize, _: i32, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_DotFunc.html b/numpy/npyffi/objects/type.PyArray_DotFunc.html index 8d9479281..02f2a6403 100644 --- a/numpy/npyffi/objects/type.PyArray_DotFunc.html +++ b/numpy/npyffi/objects/type.PyArray_DotFunc.html @@ -1,7 +1,7 @@ -PyArray_DotFunc in numpy::npyffi::objects - Rust -

    Type Alias numpy::npyffi::objects::PyArray_DotFunc

    source ·
    pub type PyArray_DotFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_DotFunc {
    +PyArray_DotFunc in numpy::npyffi::objects - Rust
    +    

    Type Alias numpy::npyffi::objects::PyArray_DotFunc

    source ·
    pub type PyArray_DotFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_DotFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void, _: isize, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FastClipFunc.html b/numpy/npyffi/objects/type.PyArray_FastClipFunc.html index 4da1e3973..75b44f603 100644 --- a/numpy/npyffi/objects/type.PyArray_FastClipFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastClipFunc.html @@ -1,7 +1,7 @@ -PyArray_FastClipFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FastClipFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_FastClipFunc {
    +PyArray_FastClipFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FastClipFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_FastClipFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html b/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html index d5dde5709..c010f2e29 100644 --- a/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html @@ -1,7 +1,7 @@ -PyArray_FastPutmaskFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FastPutmaskFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp)>;

    Aliased Type§

    enum PyArray_FastPutmaskFunc {
    +PyArray_FastPutmaskFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FastPutmaskFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: npy_intp, _: *mut c_void, _: npy_intp)>;

    Aliased Type§

    enum PyArray_FastPutmaskFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: isize)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: isize)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: isize))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: isize))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html b/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html index ae58f747f..2165c8923 100644 --- a/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html @@ -1,7 +1,7 @@ -PyArray_FastTakeFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FastTakeFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut npy_intp, _: npy_intp, _: npy_intp, _: npy_intp, _: npy_intp, _: NPY_CLIPMODE) -> c_int>;

    Aliased Type§

    enum PyArray_FastTakeFunc {
    +PyArray_FastTakeFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FastTakeFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut npy_intp, _: npy_intp, _: npy_intp, _: npy_intp, _: npy_intp, _: NPY_CLIPMODE) -> c_int>;

    Aliased Type§

    enum PyArray_FastTakeFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut isize, _: isize, _: isize, _: isize, _: isize, _: NPY_CLIPMODE) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut isize, _: isize, _: isize, _: isize, _: isize, _: NPY_CLIPMODE) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut isize, _: isize, _: isize, _: isize, _: isize, _: NPY_CLIPMODE) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut isize, _: isize, _: isize, _: isize, _: isize, _: NPY_CLIPMODE) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FillFunc.html b/numpy/npyffi/objects/type.PyArray_FillFunc.html index 546db7f93..aa215b0dd 100644 --- a/numpy/npyffi/objects/type.PyArray_FillFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FillFunc.html @@ -1,7 +1,7 @@ -PyArray_FillFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FillFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_FillFunc {
    +PyArray_FillFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FillFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_FillFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html b/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html index cfed98331..d01ff162d 100644 --- a/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html @@ -1,7 +1,7 @@ -PyArray_FillWithScalarFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FillWithScalarFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_FillWithScalarFunc {
    +PyArray_FillWithScalarFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FillWithScalarFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_FillWithScalarFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_FromStrFunc.html b/numpy/npyffi/objects/type.PyArray_FromStrFunc.html index 36318affb..0d60c5e1f 100644 --- a/numpy/npyffi/objects/type.PyArray_FromStrFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FromStrFunc.html @@ -1,7 +1,7 @@ -PyArray_FromStrFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_FromStrFunc = Option<unsafe extern "C" fn(_: *mut c_char, _: *mut c_void, _: *mut *mut c_char, _: *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyArray_FromStrFunc {
    +PyArray_FromStrFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_FromStrFunc = Option<unsafe extern "C" fn(_: *mut c_char, _: *mut c_void, _: *mut *mut c_char, _: *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyArray_FromStrFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut i8, _: *mut c_void, _: *mut *mut i8, _: *mut PyArray_Descr) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut i8, _: *mut c_void, _: *mut *mut i8, _: *mut PyArray_Descr) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut i8, _: *mut c_void, _: *mut *mut i8, _: *mut PyArray_Descr) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut i8, _: *mut c_void, _: *mut *mut i8, _: *mut PyArray_Descr) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_GetItemFunc.html b/numpy/npyffi/objects/type.PyArray_GetItemFunc.html index e118a82a2..84f58de1f 100644 --- a/numpy/npyffi/objects/type.PyArray_GetItemFunc.html +++ b/numpy/npyffi/objects/type.PyArray_GetItemFunc.html @@ -1,7 +1,7 @@ -PyArray_GetItemFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_GetItemFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject>;

    Aliased Type§

    enum PyArray_GetItemFunc {
    +PyArray_GetItemFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_GetItemFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject>;

    Aliased Type§

    enum PyArray_GetItemFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> *mut PyObject)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html b/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html index d1866b1d2..1ad284f90 100644 --- a/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html +++ b/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html @@ -1,7 +1,7 @@ -PyArray_NonzeroFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_NonzeroFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> c_uchar>;

    Aliased Type§

    enum PyArray_NonzeroFunc {
    +PyArray_NonzeroFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_NonzeroFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> c_uchar>;

    Aliased Type§

    enum PyArray_NonzeroFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u8)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_PartitionFunc.html b/numpy/npyffi/objects/type.PyArray_PartitionFunc.html index 3499ef8ee..5880bf80c 100644 --- a/numpy/npyffi/objects/type.PyArray_PartitionFunc.html +++ b/numpy/npyffi/objects/type.PyArray_PartitionFunc.html @@ -1,7 +1,7 @@ -PyArray_PartitionFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_PartitionFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: npy_intp, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_PartitionFunc {
    +PyArray_PartitionFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_PartitionFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: npy_intp, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_PartitionFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: isize, _: *mut isize, _: *mut isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html b/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html index b7114b099..64629ba8c 100644 --- a/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html @@ -1,7 +1,7 @@ -PyArray_ScalarKindFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_ScalarKindFunc = Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ScalarKindFunc {
    +PyArray_ScalarKindFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_ScalarKindFunc = Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_ScalarKindFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_ScanFunc.html b/numpy/npyffi/objects/type.PyArray_ScanFunc.html index fcb16c283..6dc99a118 100644 --- a/numpy/npyffi/objects/type.PyArray_ScanFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ScanFunc.html @@ -1,7 +1,7 @@ -PyArray_ScanFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_ScanFunc = Option<unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut c_char, _: *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyArray_ScanFunc {
    +PyArray_ScanFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_ScanFunc = Option<unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut c_char, _: *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyArray_ScanFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut i8, _: *mut PyArray_Descr) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut i8, _: *mut PyArray_Descr) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut i8, _: *mut PyArray_Descr) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut FILE, _: *mut c_void, _: *mut i8, _: *mut PyArray_Descr) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_SetItemFunc.html b/numpy/npyffi/objects/type.PyArray_SetItemFunc.html index a32441f46..fef2b4d1d 100644 --- a/numpy/npyffi/objects/type.PyArray_SetItemFunc.html +++ b/numpy/npyffi/objects/type.PyArray_SetItemFunc.html @@ -1,7 +1,7 @@ -PyArray_SetItemFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_SetItemFunc = Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_SetItemFunc {
    +PyArray_SetItemFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_SetItemFunc = Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_SetItemFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_SortFunc.html b/numpy/npyffi/objects/type.PyArray_SortFunc.html index c4036818d..d5e3b1c1d 100644 --- a/numpy/npyffi/objects/type.PyArray_SortFunc.html +++ b/numpy/npyffi/objects/type.PyArray_SortFunc.html @@ -1,7 +1,7 @@ -PyArray_SortFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_SortFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_SortFunc {
    +PyArray_SortFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_SortFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: npy_intp, _: *mut c_void) -> c_int>;

    Aliased Type§

    enum PyArray_SortFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: isize, _: *mut c_void) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html b/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html index 4b8d85966..c9fa34099 100644 --- a/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html +++ b/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html @@ -1,7 +1,7 @@ -PyArray_VectorUnaryFunc in numpy::npyffi::objects - Rust -
    pub type PyArray_VectorUnaryFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_VectorUnaryFunc {
    +PyArray_VectorUnaryFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyArray_VectorUnaryFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: npy_intp, _: *mut c_void, _: *mut c_void)>;

    Aliased Type§

    enum PyArray_VectorUnaryFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: isize, _: *mut c_void, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html b/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html index c4fb4fff6..de23c92dc 100644 --- a/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html +++ b/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html @@ -1,7 +1,7 @@ -PyDataMem_EventHookFunc in numpy::npyffi::objects - Rust -
    pub type PyDataMem_EventHookFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void)>;

    Aliased Type§

    enum PyDataMem_EventHookFunc {
    +PyDataMem_EventHookFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyDataMem_EventHookFunc = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void)>;

    Aliased Type§

    enum PyDataMem_EventHookFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyUFuncGenericFunction.html b/numpy/npyffi/objects/type.PyUFuncGenericFunction.html index c83fdac2d..73d3700c0 100644 --- a/numpy/npyffi/objects/type.PyUFuncGenericFunction.html +++ b/numpy/npyffi/objects/type.PyUFuncGenericFunction.html @@ -1,7 +1,7 @@ -PyUFuncGenericFunction in numpy::npyffi::objects - Rust -
    pub type PyUFuncGenericFunction = Option<unsafe extern "C" fn(_: *mut *mut c_char, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void)>;

    Aliased Type§

    enum PyUFuncGenericFunction {
    +PyUFuncGenericFunction in numpy::npyffi::objects - Rust
    +    
    pub type PyUFuncGenericFunction = Option<unsafe extern "C" fn(_: *mut *mut c_char, _: *mut npy_intp, _: *mut npy_intp, _: *mut c_void)>;

    Aliased Type§

    enum PyUFuncGenericFunction {
         None,
    -    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)),
    +    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html b/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html index b4726962b..4a961248c 100644 --- a/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html @@ -1,7 +1,7 @@ -PyUFunc_LegacyInnerLoopSelectionFunc in numpy::npyffi::objects - Rust -
    pub type PyUFunc_LegacyInnerLoopSelectionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyUFuncGenericFunction, _: *mut *mut c_void, _: *mut c_int) -> c_int>;

    Aliased Type§

    enum PyUFunc_LegacyInnerLoopSelectionFunc {
    +PyUFunc_LegacyInnerLoopSelectionFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyUFunc_LegacyInnerLoopSelectionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyUFuncGenericFunction, _: *mut *mut c_void, _: *mut c_int) -> c_int>;

    Aliased Type§

    enum PyUFunc_LegacyInnerLoopSelectionFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)>, _: *mut *mut c_void, _: *mut i32) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)>, _: *mut *mut c_void, _: *mut i32) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)>, _: *mut *mut c_void, _: *mut i32) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut isize, _: *mut c_void)>, _: *mut *mut c_void, _: *mut i32) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html b/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html index a5a784cb4..c6e30a86f 100644 --- a/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html @@ -1,7 +1,7 @@ -PyUFunc_MaskedInnerLoopSelectionFunc in numpy::npyffi::objects - Rust -
    pub type PyUFunc_MaskedInnerLoopSelectionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut npy_intp, _: npy_intp, _: *mut PyUFunc_MaskedStridedInnerLoopFunc, _: *mut *mut NpyAuxData, _: *mut c_int) -> c_int>;

    Aliased Type§

    enum PyUFunc_MaskedInnerLoopSelectionFunc {
    +PyUFunc_MaskedInnerLoopSelectionFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyUFunc_MaskedInnerLoopSelectionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut npy_intp, _: npy_intp, _: *mut PyUFunc_MaskedStridedInnerLoopFunc, _: *mut *mut NpyAuxData, _: *mut c_int) -> c_int>;

    Aliased Type§

    enum PyUFunc_MaskedInnerLoopSelectionFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut isize, _: isize, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)>, _: *mut *mut NpyAuxData, _: *mut i32) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut isize, _: isize, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)>, _: *mut *mut NpyAuxData, _: *mut i32) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut isize, _: isize, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)>, _: *mut *mut NpyAuxData, _: *mut i32) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: *mut *mut PyArray_Descr, _: *mut PyArray_Descr, _: *mut isize, _: isize, _: *mut Option<unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)>, _: *mut *mut NpyAuxData, _: *mut i32) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html b/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html index ee6166982..34d149ef5 100644 --- a/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html @@ -1,7 +1,7 @@ -PyUFunc_MaskedStridedInnerLoopFunc in numpy::npyffi::objects - Rust -
    pub type PyUFunc_MaskedStridedInnerLoopFunc = Option<unsafe extern "C" fn(_: *mut *mut c_char, _: *mut npy_intp, _: *mut c_char, _: npy_intp, _: npy_intp, _: *mut NpyAuxData)>;

    Aliased Type§

    enum PyUFunc_MaskedStridedInnerLoopFunc {
    +PyUFunc_MaskedStridedInnerLoopFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyUFunc_MaskedStridedInnerLoopFunc = Option<unsafe extern "C" fn(_: *mut *mut c_char, _: *mut npy_intp, _: *mut c_char, _: npy_intp, _: npy_intp, _: *mut NpyAuxData)>;

    Aliased Type§

    enum PyUFunc_MaskedStridedInnerLoopFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)),
    +    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData)),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData))

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut *mut i8, _: *mut isize, _: *mut i8, _: isize, _: isize, _: *mut NpyAuxData))

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html b/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html index a431f2519..86fda84b0 100644 --- a/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html @@ -1,7 +1,7 @@ -PyUFunc_TypeResolutionFunc in numpy::npyffi::objects - Rust -
    pub type PyUFunc_TypeResolutionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyUFunc_TypeResolutionFunc {
    +PyUFunc_TypeResolutionFunc in numpy::npyffi::objects - Rust
    +    
    pub type PyUFunc_TypeResolutionFunc = Option<unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> c_int>;

    Aliased Type§

    enum PyUFunc_TypeResolutionFunc {
         None,
    -    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> i32),
    +    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> i32),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> i32)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyUFuncObject, _: NPY_CASTING, _: *mut *mut PyArrayObject, _: *mut PyObject, _: *mut *mut PyArray_Descr) -> i32)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html b/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html index cbb27c47b..4d8991c66 100644 --- a/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html +++ b/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html @@ -1,7 +1,7 @@ -npy_iter_get_dataptr_t in numpy::npyffi::objects - Rust -
    pub type npy_iter_get_dataptr_t = Option<unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut npy_intp) -> *mut c_char>;

    Aliased Type§

    enum npy_iter_get_dataptr_t {
    +npy_iter_get_dataptr_t in numpy::npyffi::objects - Rust
    +    
    pub type npy_iter_get_dataptr_t = Option<unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut npy_intp) -> *mut c_char>;

    Aliased Type§

    enum npy_iter_get_dataptr_t {
         None,
    -    Some(unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut isize) -> *mut i8),
    +    Some(unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut isize) -> *mut i8),
     }

    Variants§

    §1.0.0

    None

    No value.

    -
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut isize) -> *mut i8)

    Some value of type T.

    +
    §1.0.0

    Some(unsafe extern "C" fn(_: *mut PyArrayIterObject, _: *mut isize) -> *mut i8)

    Some value of type T.

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html b/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html index 7af83e6a1..e94d1fc62 100644 --- a/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html +++ b/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html @@ -1,27 +1,27 @@ -NPY_BYTEORDER_CHAR in numpy::npyffi::types - Rust +NPY_BYTEORDER_CHAR in numpy::npyffi::types - Rust
    #[repr(u8)]
    pub enum NPY_BYTEORDER_CHAR { NPY_LITTLE = 60, NPY_BIG = 62, NPY_NATIVE = 61, NPY_SWAP = 115, NPY_IGNORE = 124, -}

    Variants§

    §

    NPY_LITTLE = 60

    §

    NPY_BIG = 62

    §

    NPY_NATIVE = 61

    §

    NPY_SWAP = 115

    §

    NPY_IGNORE = 124

    Implementations§

    source§

    impl NPY_BYTEORDER_CHAR

    source

    pub const NPY_NATBYTE: Self = Self::NPY_LITTLE

    source

    pub const NPY_OPPBYTE: Self = Self::NPY_BIG

    Trait Implementations§

    source§

    impl Clone for NPY_BYTEORDER_CHAR

    source§

    fn clone(&self) -> NPY_BYTEORDER_CHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_BYTEORDER_CHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_BYTEORDER_CHAR

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_BYTEORDER_CHAR

    source§

    fn eq(&self, other: &NPY_BYTEORDER_CHAR) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_BYTEORDER_CHAR

    source§

    impl Eq for NPY_BYTEORDER_CHAR

    source§

    impl StructuralPartialEq for NPY_BYTEORDER_CHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_LITTLE = 60

    §

    NPY_BIG = 62

    §

    NPY_NATIVE = 61

    §

    NPY_SWAP = 115

    §

    NPY_IGNORE = 124

    Implementations§

    source§

    impl NPY_BYTEORDER_CHAR

    source

    pub const NPY_NATBYTE: Self = Self::NPY_LITTLE

    source

    pub const NPY_OPPBYTE: Self = Self::NPY_BIG

    Trait Implementations§

    source§

    impl Clone for NPY_BYTEORDER_CHAR

    source§

    fn clone(&self) -> NPY_BYTEORDER_CHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_BYTEORDER_CHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_BYTEORDER_CHAR

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_BYTEORDER_CHAR

    source§

    fn eq(&self, other: &NPY_BYTEORDER_CHAR) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_BYTEORDER_CHAR

    source§

    impl Eq for NPY_BYTEORDER_CHAR

    source§

    impl StructuralPartialEq for NPY_BYTEORDER_CHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_CASTING.html b/numpy/npyffi/types/enum.NPY_CASTING.html index 0d2c17499..d09a048e6 100644 --- a/numpy/npyffi/types/enum.NPY_CASTING.html +++ b/numpy/npyffi/types/enum.NPY_CASTING.html @@ -1,27 +1,27 @@ -NPY_CASTING in numpy::npyffi::types - Rust +NPY_CASTING in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_CASTING { NPY_NO_CASTING = 0, NPY_EQUIV_CASTING = 1, NPY_SAFE_CASTING = 2, NPY_SAME_KIND_CASTING = 3, NPY_UNSAFE_CASTING = 4, -}

    Variants§

    §

    NPY_NO_CASTING = 0

    §

    NPY_EQUIV_CASTING = 1

    §

    NPY_SAFE_CASTING = 2

    §

    NPY_SAME_KIND_CASTING = 3

    §

    NPY_UNSAFE_CASTING = 4

    Trait Implementations§

    source§

    impl Clone for NPY_CASTING

    source§

    fn clone(&self) -> NPY_CASTING

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_CASTING

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_CASTING

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_CASTING

    source§

    fn eq(&self, other: &NPY_CASTING) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_CASTING

    source§

    impl Eq for NPY_CASTING

    source§

    impl StructuralPartialEq for NPY_CASTING

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_NO_CASTING = 0

    §

    NPY_EQUIV_CASTING = 1

    §

    NPY_SAFE_CASTING = 2

    §

    NPY_SAME_KIND_CASTING = 3

    §

    NPY_UNSAFE_CASTING = 4

    Trait Implementations§

    source§

    impl Clone for NPY_CASTING

    source§

    fn clone(&self) -> NPY_CASTING

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_CASTING

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_CASTING

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_CASTING

    source§

    fn eq(&self, other: &NPY_CASTING) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_CASTING

    source§

    impl Eq for NPY_CASTING

    source§

    impl StructuralPartialEq for NPY_CASTING

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_CLIPMODE.html b/numpy/npyffi/types/enum.NPY_CLIPMODE.html index 740e45d12..78a7056c1 100644 --- a/numpy/npyffi/types/enum.NPY_CLIPMODE.html +++ b/numpy/npyffi/types/enum.NPY_CLIPMODE.html @@ -1,24 +1,24 @@ -NPY_CLIPMODE in numpy::npyffi::types - Rust +NPY_CLIPMODE in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_CLIPMODE { NPY_CLIP = 0, NPY_WRAP = 1, NPY_RAISE = 2, -}

    Variants§

    §

    NPY_CLIP = 0

    §

    NPY_WRAP = 1

    §

    NPY_RAISE = 2

    Trait Implementations§

    source§

    impl Clone for NPY_CLIPMODE

    source§

    fn clone(&self) -> NPY_CLIPMODE

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Hash for NPY_CLIPMODE

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_CLIPMODE

    source§

    fn eq(&self, other: &NPY_CLIPMODE) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_CLIPMODE

    source§

    impl Eq for NPY_CLIPMODE

    source§

    impl StructuralPartialEq for NPY_CLIPMODE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_CLIP = 0

    §

    NPY_WRAP = 1

    §

    NPY_RAISE = 2

    Trait Implementations§

    source§

    impl Clone for NPY_CLIPMODE

    source§

    fn clone(&self) -> NPY_CLIPMODE

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Hash for NPY_CLIPMODE

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_CLIPMODE

    source§

    fn eq(&self, other: &NPY_CLIPMODE) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_CLIPMODE

    source§

    impl Eq for NPY_CLIPMODE

    source§

    impl StructuralPartialEq for NPY_CLIPMODE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_DATETIMEUNIT.html b/numpy/npyffi/types/enum.NPY_DATETIMEUNIT.html index 6f0a9e539..efeadfddf 100644 --- a/numpy/npyffi/types/enum.NPY_DATETIMEUNIT.html +++ b/numpy/npyffi/types/enum.NPY_DATETIMEUNIT.html @@ -1,4 +1,4 @@ -NPY_DATETIMEUNIT in numpy::npyffi::types - Rust +NPY_DATETIMEUNIT in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_DATETIMEUNIT {
    Show 14 variants NPY_FR_Y = 0, NPY_FR_M = 1, @@ -14,23 +14,23 @@ NPY_FR_fs = 12, NPY_FR_as = 13, NPY_FR_GENERIC = 14, -
    }

    Variants§

    §

    NPY_FR_Y = 0

    §

    NPY_FR_M = 1

    §

    NPY_FR_W = 2

    §

    NPY_FR_D = 4

    §

    NPY_FR_h = 5

    §

    NPY_FR_m = 6

    §

    NPY_FR_s = 7

    §

    NPY_FR_ms = 8

    §

    NPY_FR_us = 9

    §

    NPY_FR_ns = 10

    §

    NPY_FR_ps = 11

    §

    NPY_FR_fs = 12

    §

    NPY_FR_as = 13

    §

    NPY_FR_GENERIC = 14

    Trait Implementations§

    source§

    impl Clone for NPY_DATETIMEUNIT

    source§

    fn clone(&self) -> NPY_DATETIMEUNIT

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_DATETIMEUNIT

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_DATETIMEUNIT

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_DATETIMEUNIT

    source§

    fn eq(&self, other: &NPY_DATETIMEUNIT) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_DATETIMEUNIT

    source§

    impl Eq for NPY_DATETIMEUNIT

    source§

    impl StructuralPartialEq for NPY_DATETIMEUNIT

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Variants§

    §

    NPY_FR_Y = 0

    §

    NPY_FR_M = 1

    §

    NPY_FR_W = 2

    §

    NPY_FR_D = 4

    §

    NPY_FR_h = 5

    §

    NPY_FR_m = 6

    §

    NPY_FR_s = 7

    §

    NPY_FR_ms = 8

    §

    NPY_FR_us = 9

    §

    NPY_FR_ns = 10

    §

    NPY_FR_ps = 11

    §

    NPY_FR_fs = 12

    §

    NPY_FR_as = 13

    §

    NPY_FR_GENERIC = 14

    Trait Implementations§

    source§

    impl Clone for NPY_DATETIMEUNIT

    source§

    fn clone(&self) -> NPY_DATETIMEUNIT

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_DATETIMEUNIT

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_DATETIMEUNIT

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_DATETIMEUNIT

    source§

    fn eq(&self, other: &NPY_DATETIMEUNIT) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_DATETIMEUNIT

    source§

    impl Eq for NPY_DATETIMEUNIT

    source§

    impl StructuralPartialEq for NPY_DATETIMEUNIT

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_ORDER.html b/numpy/npyffi/types/enum.NPY_ORDER.html index efba459ea..e5ab38720 100644 --- a/numpy/npyffi/types/enum.NPY_ORDER.html +++ b/numpy/npyffi/types/enum.NPY_ORDER.html @@ -1,26 +1,26 @@ -NPY_ORDER in numpy::npyffi::types - Rust +NPY_ORDER in numpy::npyffi::types - Rust
    #[repr(i32)]
    pub enum NPY_ORDER { NPY_ANYORDER = -1, NPY_CORDER = 0, NPY_FORTRANORDER = 1, NPY_KEEPORDER = 2, -}

    Variants§

    §

    NPY_ANYORDER = -1

    §

    NPY_CORDER = 0

    §

    NPY_FORTRANORDER = 1

    §

    NPY_KEEPORDER = 2

    Trait Implementations§

    source§

    impl Clone for NPY_ORDER

    source§

    fn clone(&self) -> NPY_ORDER

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_ORDER

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_ORDER

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_ORDER

    source§

    fn eq(&self, other: &NPY_ORDER) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_ORDER

    source§

    impl Eq for NPY_ORDER

    source§

    impl StructuralPartialEq for NPY_ORDER

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_ANYORDER = -1

    §

    NPY_CORDER = 0

    §

    NPY_FORTRANORDER = 1

    §

    NPY_KEEPORDER = 2

    Trait Implementations§

    source§

    impl Clone for NPY_ORDER

    source§

    fn clone(&self) -> NPY_ORDER

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_ORDER

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_ORDER

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_ORDER

    source§

    fn eq(&self, other: &NPY_ORDER) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_ORDER

    source§

    impl Eq for NPY_ORDER

    source§

    impl StructuralPartialEq for NPY_ORDER

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_SCALARKIND.html b/numpy/npyffi/types/enum.NPY_SCALARKIND.html index bce07ef99..b1f964437 100644 --- a/numpy/npyffi/types/enum.NPY_SCALARKIND.html +++ b/numpy/npyffi/types/enum.NPY_SCALARKIND.html @@ -1,4 +1,4 @@ -NPY_SCALARKIND in numpy::npyffi::types - Rust +NPY_SCALARKIND in numpy::npyffi::types - Rust
    #[repr(i32)]
    pub enum NPY_SCALARKIND { NPY_NOSCALAR = -1, NPY_BOOL_SCALAR = 0, @@ -7,23 +7,23 @@ NPY_FLOAT_SCALAR = 3, NPY_COMPLEX_SCALAR = 4, NPY_OBJECT_SCALAR = 5, -}

    Variants§

    §

    NPY_NOSCALAR = -1

    §

    NPY_BOOL_SCALAR = 0

    §

    NPY_INTPOS_SCALAR = 1

    §

    NPY_INTNEG_SCALAR = 2

    §

    NPY_FLOAT_SCALAR = 3

    §

    NPY_COMPLEX_SCALAR = 4

    §

    NPY_OBJECT_SCALAR = 5

    Trait Implementations§

    source§

    impl Clone for NPY_SCALARKIND

    source§

    fn clone(&self) -> NPY_SCALARKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SCALARKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SCALARKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SCALARKIND

    source§

    fn eq(&self, other: &NPY_SCALARKIND) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SCALARKIND

    source§

    impl Eq for NPY_SCALARKIND

    source§

    impl StructuralPartialEq for NPY_SCALARKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_NOSCALAR = -1

    §

    NPY_BOOL_SCALAR = 0

    §

    NPY_INTPOS_SCALAR = 1

    §

    NPY_INTNEG_SCALAR = 2

    §

    NPY_FLOAT_SCALAR = 3

    §

    NPY_COMPLEX_SCALAR = 4

    §

    NPY_OBJECT_SCALAR = 5

    Trait Implementations§

    source§

    impl Clone for NPY_SCALARKIND

    source§

    fn clone(&self) -> NPY_SCALARKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SCALARKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SCALARKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SCALARKIND

    source§

    fn eq(&self, other: &NPY_SCALARKIND) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SCALARKIND

    source§

    impl Eq for NPY_SCALARKIND

    source§

    impl StructuralPartialEq for NPY_SCALARKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html b/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html index ca5f572b9..c52b6c21a 100644 --- a/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html +++ b/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html @@ -1,24 +1,24 @@ -NPY_SEARCHSIDE in numpy::npyffi::types - Rust +NPY_SEARCHSIDE in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_SEARCHSIDE { NPY_SEARCHLEFT = 0, NPY_SEARCHRIGHT = 1, -}

    Variants§

    §

    NPY_SEARCHLEFT = 0

    §

    NPY_SEARCHRIGHT = 1

    Trait Implementations§

    source§

    impl Clone for NPY_SEARCHSIDE

    source§

    fn clone(&self) -> NPY_SEARCHSIDE

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SEARCHSIDE

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SEARCHSIDE

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SEARCHSIDE

    source§

    fn eq(&self, other: &NPY_SEARCHSIDE) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SEARCHSIDE

    source§

    impl Eq for NPY_SEARCHSIDE

    source§

    impl StructuralPartialEq for NPY_SEARCHSIDE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_SEARCHLEFT = 0

    §

    NPY_SEARCHRIGHT = 1

    Trait Implementations§

    source§

    impl Clone for NPY_SEARCHSIDE

    source§

    fn clone(&self) -> NPY_SEARCHSIDE

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SEARCHSIDE

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SEARCHSIDE

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SEARCHSIDE

    source§

    fn eq(&self, other: &NPY_SEARCHSIDE) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SEARCHSIDE

    source§

    impl Eq for NPY_SEARCHSIDE

    source§

    impl StructuralPartialEq for NPY_SEARCHSIDE

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_SELECTKIND.html b/numpy/npyffi/types/enum.NPY_SELECTKIND.html index 501421b58..15488439d 100644 --- a/numpy/npyffi/types/enum.NPY_SELECTKIND.html +++ b/numpy/npyffi/types/enum.NPY_SELECTKIND.html @@ -1,23 +1,23 @@ -NPY_SELECTKIND in numpy::npyffi::types - Rust +NPY_SELECTKIND in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_SELECTKIND { NPY_INTROSELECT = 0, -}

    Variants§

    §

    NPY_INTROSELECT = 0

    Trait Implementations§

    source§

    impl Clone for NPY_SELECTKIND

    source§

    fn clone(&self) -> NPY_SELECTKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SELECTKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SELECTKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SELECTKIND

    source§

    fn eq(&self, other: &NPY_SELECTKIND) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SELECTKIND

    source§

    impl Eq for NPY_SELECTKIND

    source§

    impl StructuralPartialEq for NPY_SELECTKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_INTROSELECT = 0

    Trait Implementations§

    source§

    impl Clone for NPY_SELECTKIND

    source§

    fn clone(&self) -> NPY_SELECTKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SELECTKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SELECTKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SELECTKIND

    source§

    fn eq(&self, other: &NPY_SELECTKIND) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SELECTKIND

    source§

    impl Eq for NPY_SELECTKIND

    source§

    impl StructuralPartialEq for NPY_SELECTKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_SORTKIND.html b/numpy/npyffi/types/enum.NPY_SORTKIND.html index f315aee36..27a449657 100644 --- a/numpy/npyffi/types/enum.NPY_SORTKIND.html +++ b/numpy/npyffi/types/enum.NPY_SORTKIND.html @@ -1,25 +1,25 @@ -NPY_SORTKIND in numpy::npyffi::types - Rust +NPY_SORTKIND in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_SORTKIND { NPY_QUICKSORT = 0, NPY_HEAPSORT = 1, NPY_MERGESORT = 2, -}

    Variants§

    §

    NPY_QUICKSORT = 0

    §

    NPY_HEAPSORT = 1

    §

    NPY_MERGESORT = 2

    Trait Implementations§

    source§

    impl Clone for NPY_SORTKIND

    source§

    fn clone(&self) -> NPY_SORTKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SORTKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SORTKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SORTKIND

    source§

    fn eq(&self, other: &NPY_SORTKIND) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SORTKIND

    source§

    impl Eq for NPY_SORTKIND

    source§

    impl StructuralPartialEq for NPY_SORTKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_QUICKSORT = 0

    §

    NPY_HEAPSORT = 1

    §

    NPY_MERGESORT = 2

    Trait Implementations§

    source§

    impl Clone for NPY_SORTKIND

    source§

    fn clone(&self) -> NPY_SORTKIND

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_SORTKIND

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_SORTKIND

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for NPY_SORTKIND

    source§

    fn eq(&self, other: &NPY_SORTKIND) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl Copy for NPY_SORTKIND

    source§

    impl Eq for NPY_SORTKIND

    source§

    impl StructuralPartialEq for NPY_SORTKIND

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_TYPECHAR.html b/numpy/npyffi/types/enum.NPY_TYPECHAR.html index 87d90b100..d61ccd76a 100644 --- a/numpy/npyffi/types/enum.NPY_TYPECHAR.html +++ b/numpy/npyffi/types/enum.NPY_TYPECHAR.html @@ -1,4 +1,4 @@ -NPY_TYPECHAR in numpy::npyffi::types - Rust +NPY_TYPECHAR in numpy::npyffi::types - Rust
    #[repr(u8)]
    pub enum NPY_TYPECHAR {
    Show 28 variants NPY_BOOLLTR = 63, NPY_BYTELTR = 98, @@ -28,18 +28,18 @@ NPY_CHARLTR = 99, NPY_INTPLTR = 112, NPY_UINTPLTR = 80, -
    }

    Variants§

    §

    NPY_BOOLLTR = 63

    §

    NPY_BYTELTR = 98

    §

    NPY_UBYTELTR = 66

    §

    NPY_SHORTLTR = 104

    §

    NPY_USHORTLTR = 72

    §

    NPY_INTLTR = 105

    §

    NPY_UINTLTR = 73

    §

    NPY_LONGLTR = 108

    §

    NPY_ULONGLTR = 76

    §

    NPY_LONGLONGLTR = 113

    §

    NPY_ULONGLONGLTR = 81

    §

    NPY_HALFLTR = 101

    §

    NPY_FLOATLTR = 102

    §

    NPY_DOUBLELTR = 100

    §

    NPY_LONGDOUBLELTR = 103

    §

    NPY_CFLOATLTR = 70

    §

    NPY_CDOUBLELTR = 68

    §

    NPY_CLONGDOUBLELTR = 71

    §

    NPY_OBJECTLTR = 79

    §

    NPY_STRINGLTR = 83

    §

    NPY_STRINGLTR2 = 97

    §

    NPY_UNICODELTR = 85

    §

    NPY_VOIDLTR = 86

    §

    NPY_DATETIMELTR = 77

    §

    NPY_TIMEDELTALTR = 109

    §

    NPY_CHARLTR = 99

    §

    NPY_INTPLTR = 112

    §

    NPY_UINTPLTR = 80

    Trait Implementations§

    source§

    impl Clone for NPY_TYPECHAR

    source§

    fn clone(&self) -> NPY_TYPECHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPECHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NPY_TYPECHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Variants§

    §

    NPY_BOOLLTR = 63

    §

    NPY_BYTELTR = 98

    §

    NPY_UBYTELTR = 66

    §

    NPY_SHORTLTR = 104

    §

    NPY_USHORTLTR = 72

    §

    NPY_INTLTR = 105

    §

    NPY_UINTLTR = 73

    §

    NPY_LONGLTR = 108

    §

    NPY_ULONGLTR = 76

    §

    NPY_LONGLONGLTR = 113

    §

    NPY_ULONGLONGLTR = 81

    §

    NPY_HALFLTR = 101

    §

    NPY_FLOATLTR = 102

    §

    NPY_DOUBLELTR = 100

    §

    NPY_LONGDOUBLELTR = 103

    §

    NPY_CFLOATLTR = 70

    §

    NPY_CDOUBLELTR = 68

    §

    NPY_CLONGDOUBLELTR = 71

    §

    NPY_OBJECTLTR = 79

    §

    NPY_STRINGLTR = 83

    §

    NPY_STRINGLTR2 = 97

    §

    NPY_UNICODELTR = 85

    §

    NPY_VOIDLTR = 86

    §

    NPY_DATETIMELTR = 77

    §

    NPY_TIMEDELTALTR = 109

    §

    NPY_CHARLTR = 99

    §

    NPY_INTPLTR = 112

    §

    NPY_UINTPLTR = 80

    Trait Implementations§

    source§

    impl Clone for NPY_TYPECHAR

    source§

    fn clone(&self) -> NPY_TYPECHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPECHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NPY_TYPECHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_TYPEKINDCHAR.html b/numpy/npyffi/types/enum.NPY_TYPEKINDCHAR.html index 1bf20f120..7f4bd1d09 100644 --- a/numpy/npyffi/types/enum.NPY_TYPEKINDCHAR.html +++ b/numpy/npyffi/types/enum.NPY_TYPEKINDCHAR.html @@ -1,22 +1,22 @@ -NPY_TYPEKINDCHAR in numpy::npyffi::types - Rust +NPY_TYPEKINDCHAR in numpy::npyffi::types - Rust
    #[repr(u8)]
    pub enum NPY_TYPEKINDCHAR { NPY_GENBOOLLTR = 98, NPY_SIGNEDLTR = 105, NPY_UNSIGNEDLTR = 117, NPY_FLOATINGLTR = 102, NPY_COMPLEXLTR = 99, -}

    Variants§

    §

    NPY_GENBOOLLTR = 98

    §

    NPY_SIGNEDLTR = 105

    §

    NPY_UNSIGNEDLTR = 117

    §

    NPY_FLOATINGLTR = 102

    §

    NPY_COMPLEXLTR = 99

    Trait Implementations§

    source§

    impl Clone for NPY_TYPEKINDCHAR

    source§

    fn clone(&self) -> NPY_TYPEKINDCHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPEKINDCHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NPY_TYPEKINDCHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Variants§

    §

    NPY_GENBOOLLTR = 98

    §

    NPY_SIGNEDLTR = 105

    §

    NPY_UNSIGNEDLTR = 117

    §

    NPY_FLOATINGLTR = 102

    §

    NPY_COMPLEXLTR = 99

    Trait Implementations§

    source§

    impl Clone for NPY_TYPEKINDCHAR

    source§

    fn clone(&self) -> NPY_TYPEKINDCHAR

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPEKINDCHAR

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for NPY_TYPEKINDCHAR

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_TYPES.html b/numpy/npyffi/types/enum.NPY_TYPES.html index 9a5b5014f..39a4a85db 100644 --- a/numpy/npyffi/types/enum.NPY_TYPES.html +++ b/numpy/npyffi/types/enum.NPY_TYPES.html @@ -1,4 +1,4 @@ -NPY_TYPES in numpy::npyffi::types - Rust +NPY_TYPES in numpy::npyffi::types - Rust
    #[repr(u32)]
    pub enum NPY_TYPES {
    Show 28 variants NPY_BOOL = 0, NPY_BYTE = 1, @@ -28,28 +28,28 @@ NPY_NOTYPE = 25, NPY_CHAR = 26, NPY_USERDEF = 256, -
    }

    Variants§

    §

    NPY_BOOL = 0

    §

    NPY_BYTE = 1

    §

    NPY_UBYTE = 2

    §

    NPY_SHORT = 3

    §

    NPY_USHORT = 4

    §

    NPY_INT = 5

    §

    NPY_UINT = 6

    §

    NPY_LONG = 7

    §

    NPY_ULONG = 8

    §

    NPY_LONGLONG = 9

    §

    NPY_ULONGLONG = 10

    §

    NPY_FLOAT = 11

    §

    NPY_DOUBLE = 12

    §

    NPY_LONGDOUBLE = 13

    §

    NPY_CFLOAT = 14

    §

    NPY_CDOUBLE = 15

    §

    NPY_CLONGDOUBLE = 16

    §

    NPY_OBJECT = 17

    §

    NPY_STRING = 18

    §

    NPY_UNICODE = 19

    §

    NPY_VOID = 20

    §

    NPY_DATETIME = 21

    §

    NPY_TIMEDELTA = 22

    §

    NPY_HALF = 23

    §

    NPY_NTYPES = 24

    §

    NPY_NOTYPE = 25

    §

    NPY_CHAR = 26

    §

    NPY_USERDEF = 256

    Trait Implementations§

    source§

    impl Clone for NPY_TYPES

    source§

    fn clone(&self) -> NPY_TYPES

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPES

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_TYPES

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for NPY_TYPES

    source§

    fn cmp(&self, other: &NPY_TYPES) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for NPY_TYPES

    source§

    fn eq(&self, other: &NPY_TYPES) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for NPY_TYPES

    source§

    fn partial_cmp(&self, other: &NPY_TYPES) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Copy for NPY_TYPES

    source§

    impl Eq for NPY_TYPES

    source§

    impl StructuralPartialEq for NPY_TYPES

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    }

    Variants§

    §

    NPY_BOOL = 0

    §

    NPY_BYTE = 1

    §

    NPY_UBYTE = 2

    §

    NPY_SHORT = 3

    §

    NPY_USHORT = 4

    §

    NPY_INT = 5

    §

    NPY_UINT = 6

    §

    NPY_LONG = 7

    §

    NPY_ULONG = 8

    §

    NPY_LONGLONG = 9

    §

    NPY_ULONGLONG = 10

    §

    NPY_FLOAT = 11

    §

    NPY_DOUBLE = 12

    §

    NPY_LONGDOUBLE = 13

    §

    NPY_CFLOAT = 14

    §

    NPY_CDOUBLE = 15

    §

    NPY_CLONGDOUBLE = 16

    §

    NPY_OBJECT = 17

    §

    NPY_STRING = 18

    §

    NPY_UNICODE = 19

    §

    NPY_VOID = 20

    §

    NPY_DATETIME = 21

    §

    NPY_TIMEDELTA = 22

    §

    NPY_HALF = 23

    §

    NPY_NTYPES = 24

    §

    NPY_NOTYPE = 25

    §

    NPY_CHAR = 26

    §

    NPY_USERDEF = 256

    Trait Implementations§

    source§

    impl Clone for NPY_TYPES

    source§

    fn clone(&self) -> NPY_TYPES

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NPY_TYPES

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NPY_TYPES

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for NPY_TYPES

    source§

    fn cmp(&self, other: &NPY_TYPES) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for NPY_TYPES

    source§

    fn eq(&self, other: &NPY_TYPES) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for NPY_TYPES

    source§

    fn partial_cmp(&self, other: &NPY_TYPES) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl Copy for NPY_TYPES

    source§

    impl Eq for NPY_TYPES

    source§

    impl StructuralPartialEq for NPY_TYPES

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/index.html b/numpy/npyffi/types/index.html index 428a26626..1f81d547f 100644 --- a/numpy/npyffi/types/index.html +++ b/numpy/npyffi/types/index.html @@ -1,2 +1,2 @@ -numpy::npyffi::types - Rust +numpy::npyffi::types - Rust
    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_cdouble.html b/numpy/npyffi/types/struct.npy_cdouble.html index dd1397272..09c3fd0cb 100644 --- a/numpy/npyffi/types/struct.npy_cdouble.html +++ b/numpy/npyffi/types/struct.npy_cdouble.html @@ -1,19 +1,19 @@ -npy_cdouble in numpy::npyffi::types - Rust +npy_cdouble in numpy::npyffi::types - Rust

    Struct numpy::npyffi::types::npy_cdouble

    source ·
    #[repr(C)]
    pub struct npy_cdouble { - pub real: f64, - pub imag: f64, -}

    Fields§

    §real: f64§imag: f64

    Trait Implementations§

    source§

    impl Clone for npy_cdouble

    source§

    fn clone(&self) -> npy_cdouble

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_cdouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_cdouble

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub real: f64, + pub imag: f64, +}

    Fields§

    §real: f64§imag: f64

    Trait Implementations§

    source§

    impl Clone for npy_cdouble

    source§

    fn clone(&self) -> npy_cdouble

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_cdouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_cdouble

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_cfloat.html b/numpy/npyffi/types/struct.npy_cfloat.html index 4985a64b0..c7837b9d2 100644 --- a/numpy/npyffi/types/struct.npy_cfloat.html +++ b/numpy/npyffi/types/struct.npy_cfloat.html @@ -1,19 +1,19 @@ -npy_cfloat in numpy::npyffi::types - Rust +npy_cfloat in numpy::npyffi::types - Rust

    Struct numpy::npyffi::types::npy_cfloat

    source ·
    #[repr(C)]
    pub struct npy_cfloat { - pub real: f32, - pub imag: f32, -}

    Fields§

    §real: f32§imag: f32

    Trait Implementations§

    source§

    impl Clone for npy_cfloat

    source§

    fn clone(&self) -> npy_cfloat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_cfloat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_cfloat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + pub real: f32, + pub imag: f32, +}

    Fields§

    §real: f32§imag: f32

    Trait Implementations§

    source§

    impl Clone for npy_cfloat

    source§

    fn clone(&self) -> npy_cfloat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_cfloat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_cfloat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_clongdouble.html b/numpy/npyffi/types/struct.npy_clongdouble.html index 1b7977bb9..4686bd812 100644 --- a/numpy/npyffi/types/struct.npy_clongdouble.html +++ b/numpy/npyffi/types/struct.npy_clongdouble.html @@ -1,19 +1,19 @@ -npy_clongdouble in numpy::npyffi::types - Rust +npy_clongdouble in numpy::npyffi::types - Rust
    #[repr(C)]
    pub struct npy_clongdouble { pub real: npy_longdouble, pub imag: npy_longdouble, -}

    Fields§

    §real: npy_longdouble§imag: npy_longdouble

    Trait Implementations§

    source§

    impl Clone for npy_clongdouble

    source§

    fn clone(&self) -> npy_clongdouble

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_clongdouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_clongdouble

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Fields§

    §real: npy_longdouble§imag: npy_longdouble

    Trait Implementations§

    source§

    impl Clone for npy_clongdouble

    source§

    fn clone(&self) -> npy_clongdouble

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_clongdouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_clongdouble

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_datetimestruct.html b/numpy/npyffi/types/struct.npy_datetimestruct.html index e0668f820..2f801bb44 100644 --- a/numpy/npyffi/types/struct.npy_datetimestruct.html +++ b/numpy/npyffi/types/struct.npy_datetimestruct.html @@ -1,4 +1,4 @@ -npy_datetimestruct in numpy::npyffi::types - Rust +npy_datetimestruct in numpy::npyffi::types - Rust
    #[repr(C)]
    pub struct npy_datetimestruct { pub year: npy_int64, pub month: npy_int32, @@ -9,18 +9,18 @@ pub us: npy_int32, pub ps: npy_int32, pub as_: npy_int32, -}

    Fields§

    §year: npy_int64§month: npy_int32§day: npy_int32§hour: npy_int32§min: npy_int32§sec: npy_int32§us: npy_int32§ps: npy_int32§as_: npy_int32

    Trait Implementations§

    source§

    impl Clone for npy_datetimestruct

    source§

    fn clone(&self) -> npy_datetimestruct

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_datetimestruct

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_datetimestruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Fields§

    §year: npy_int64§month: npy_int32§day: npy_int32§hour: npy_int32§min: npy_int32§sec: npy_int32§us: npy_int32§ps: npy_int32§as_: npy_int32

    Trait Implementations§

    source§

    impl Clone for npy_datetimestruct

    source§

    fn clone(&self) -> npy_datetimestruct

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_datetimestruct

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_datetimestruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_stride_sort_item.html b/numpy/npyffi/types/struct.npy_stride_sort_item.html index c3f986d0a..e026c0a24 100644 --- a/numpy/npyffi/types/struct.npy_stride_sort_item.html +++ b/numpy/npyffi/types/struct.npy_stride_sort_item.html @@ -1,19 +1,19 @@ -npy_stride_sort_item in numpy::npyffi::types - Rust +npy_stride_sort_item in numpy::npyffi::types - Rust
    #[repr(C)]
    pub struct npy_stride_sort_item { pub perm: npy_intp, pub stride: npy_intp, -}

    Fields§

    §perm: npy_intp§stride: npy_intp

    Trait Implementations§

    source§

    impl Clone for npy_stride_sort_item

    source§

    fn clone(&self) -> npy_stride_sort_item

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_stride_sort_item

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_stride_sort_item

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Fields§

    §perm: npy_intp§stride: npy_intp

    Trait Implementations§

    source§

    impl Clone for npy_stride_sort_item

    source§

    fn clone(&self) -> npy_stride_sort_item

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_stride_sort_item

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_stride_sort_item

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/struct.npy_timedeltastruct.html b/numpy/npyffi/types/struct.npy_timedeltastruct.html index 0fa767c50..e28ead2ed 100644 --- a/numpy/npyffi/types/struct.npy_timedeltastruct.html +++ b/numpy/npyffi/types/struct.npy_timedeltastruct.html @@ -1,22 +1,22 @@ -npy_timedeltastruct in numpy::npyffi::types - Rust +npy_timedeltastruct in numpy::npyffi::types - Rust
    #[repr(C)]
    pub struct npy_timedeltastruct { pub day: npy_int64, pub sec: npy_int32, pub us: npy_int32, pub ps: npy_int32, pub as_: npy_int32, -}

    Fields§

    §day: npy_int64§sec: npy_int32§us: npy_int32§ps: npy_int32§as_: npy_int32

    Trait Implementations§

    source§

    impl Clone for npy_timedeltastruct

    source§

    fn clone(&self) -> npy_timedeltastruct

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_timedeltastruct

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_timedeltastruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +}

    Fields§

    §day: npy_int64§sec: npy_int32§us: npy_int32§ps: npy_int32§as_: npy_int32

    Trait Implementations§

    source§

    impl Clone for npy_timedeltastruct

    source§

    fn clone(&self) -> npy_timedeltastruct

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for npy_timedeltastruct

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for npy_timedeltastruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_bool.html b/numpy/npyffi/types/type.npy_bool.html index 588b05c03..f9aa357e9 100644 --- a/numpy/npyffi/types/type.npy_bool.html +++ b/numpy/npyffi/types/type.npy_bool.html @@ -1,2 +1,2 @@ -npy_bool in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_bool

    source ·
    pub type npy_bool = c_uchar;
    \ No newline at end of file +npy_bool in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_bool

    source ·
    pub type npy_bool = c_uchar;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_byte.html b/numpy/npyffi/types/type.npy_byte.html index 9f2f5401d..ace355112 100644 --- a/numpy/npyffi/types/type.npy_byte.html +++ b/numpy/npyffi/types/type.npy_byte.html @@ -1,2 +1,2 @@ -npy_byte in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_byte

    source ·
    pub type npy_byte = c_char;
    \ No newline at end of file +npy_byte in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_byte

    source ·
    pub type npy_byte = c_char;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_char.html b/numpy/npyffi/types/type.npy_char.html index 3ecbb9185..3eefe6b57 100644 --- a/numpy/npyffi/types/type.npy_char.html +++ b/numpy/npyffi/types/type.npy_char.html @@ -1,2 +1,2 @@ -npy_char in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_char

    source ·
    pub type npy_char = c_char;
    \ No newline at end of file +npy_char in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_char

    source ·
    pub type npy_char = c_char;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_complex128.html b/numpy/npyffi/types/type.npy_complex128.html index 252ca7f61..e10326f0a 100644 --- a/numpy/npyffi/types/type.npy_complex128.html +++ b/numpy/npyffi/types/type.npy_complex128.html @@ -1,5 +1,5 @@ -npy_complex128 in numpy::npyffi::types - Rust +npy_complex128 in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_complex128

    source ·
    pub type npy_complex128 = npy_cdouble;

    Aliased Type§

    struct npy_complex128 {
    -    pub real: f64,
    -    pub imag: f64,
    -}

    Fields§

    §real: f64§imag: f64
    \ No newline at end of file + pub real: f64, + pub imag: f64, +}

    Fields§

    §real: f64§imag: f64 \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_complex256.html b/numpy/npyffi/types/type.npy_complex256.html index 308543656..882a1788d 100644 --- a/numpy/npyffi/types/type.npy_complex256.html +++ b/numpy/npyffi/types/type.npy_complex256.html @@ -1,5 +1,5 @@ -npy_complex256 in numpy::npyffi::types - Rust +npy_complex256 in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_complex256

    source ·
    pub type npy_complex256 = npy_clongdouble;

    Aliased Type§

    struct npy_complex256 {
    -    pub real: f64,
    -    pub imag: f64,
    -}

    Fields§

    §real: f64§imag: f64
    \ No newline at end of file + pub real: f64, + pub imag: f64, +}

    Fields§

    §real: f64§imag: f64 \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_complex64.html b/numpy/npyffi/types/type.npy_complex64.html index 0dae71c88..5ecadac14 100644 --- a/numpy/npyffi/types/type.npy_complex64.html +++ b/numpy/npyffi/types/type.npy_complex64.html @@ -1,5 +1,5 @@ -npy_complex64 in numpy::npyffi::types - Rust +npy_complex64 in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_complex64

    source ·
    pub type npy_complex64 = npy_cfloat;

    Aliased Type§

    struct npy_complex64 {
    -    pub real: f32,
    -    pub imag: f32,
    -}

    Fields§

    §real: f32§imag: f32
    \ No newline at end of file + pub real: f32, + pub imag: f32, +}

    Fields§

    §real: f32§imag: f32 \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_datetime.html b/numpy/npyffi/types/type.npy_datetime.html index bbc6d06f3..d8d2c4c27 100644 --- a/numpy/npyffi/types/type.npy_datetime.html +++ b/numpy/npyffi/types/type.npy_datetime.html @@ -1,2 +1,2 @@ -npy_datetime in numpy::npyffi::types - Rust +npy_datetime in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_datetime

    source ·
    pub type npy_datetime = npy_int64;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_double.html b/numpy/npyffi/types/type.npy_double.html index 0a5b4f946..df42c0df6 100644 --- a/numpy/npyffi/types/type.npy_double.html +++ b/numpy/npyffi/types/type.npy_double.html @@ -1,2 +1,2 @@ -npy_double in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_double

    source ·
    pub type npy_double = f64;
    \ No newline at end of file +npy_double in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_double

    source ·
    pub type npy_double = f64;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_float.html b/numpy/npyffi/types/type.npy_float.html index fd0c95341..67dad326e 100644 --- a/numpy/npyffi/types/type.npy_float.html +++ b/numpy/npyffi/types/type.npy_float.html @@ -1,2 +1,2 @@ -npy_float in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_float

    source ·
    pub type npy_float = f32;
    \ No newline at end of file +npy_float in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_float

    source ·
    pub type npy_float = f32;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_float128.html b/numpy/npyffi/types/type.npy_float128.html index df4e899f2..82c497a70 100644 --- a/numpy/npyffi/types/type.npy_float128.html +++ b/numpy/npyffi/types/type.npy_float128.html @@ -1,2 +1,2 @@ -npy_float128 in numpy::npyffi::types - Rust +npy_float128 in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_float128

    source ·
    pub type npy_float128 = npy_longdouble;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_float16.html b/numpy/npyffi/types/type.npy_float16.html index 419f04536..3c1208973 100644 --- a/numpy/npyffi/types/type.npy_float16.html +++ b/numpy/npyffi/types/type.npy_float16.html @@ -1,2 +1,2 @@ -npy_float16 in numpy::npyffi::types - Rust +npy_float16 in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_float16

    source ·
    pub type npy_float16 = npy_half;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_float32.html b/numpy/npyffi/types/type.npy_float32.html index 6cb3f1dc7..6923cfb8e 100644 --- a/numpy/npyffi/types/type.npy_float32.html +++ b/numpy/npyffi/types/type.npy_float32.html @@ -1,2 +1,2 @@ -npy_float32 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_float32

    source ·
    pub type npy_float32 = f32;
    \ No newline at end of file +npy_float32 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_float32

    source ·
    pub type npy_float32 = f32;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_float64.html b/numpy/npyffi/types/type.npy_float64.html index 13dfed1b5..2936ed9b1 100644 --- a/numpy/npyffi/types/type.npy_float64.html +++ b/numpy/npyffi/types/type.npy_float64.html @@ -1,2 +1,2 @@ -npy_float64 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_float64

    source ·
    pub type npy_float64 = f64;
    \ No newline at end of file +npy_float64 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_float64

    source ·
    pub type npy_float64 = f64;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_half.html b/numpy/npyffi/types/type.npy_half.html index 2040b8116..c99b64250 100644 --- a/numpy/npyffi/types/type.npy_half.html +++ b/numpy/npyffi/types/type.npy_half.html @@ -1,2 +1,2 @@ -npy_half in numpy::npyffi::types - Rust +npy_half in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_half

    source ·
    pub type npy_half = npy_uint16;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_hash_t.html b/numpy/npyffi/types/type.npy_hash_t.html index cdb959da5..64ca0b499 100644 --- a/numpy/npyffi/types/type.npy_hash_t.html +++ b/numpy/npyffi/types/type.npy_hash_t.html @@ -1,2 +1,2 @@ -npy_hash_t in numpy::npyffi::types - Rust +npy_hash_t in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_hash_t

    source ·
    pub type npy_hash_t = Py_hash_t;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_int.html b/numpy/npyffi/types/type.npy_int.html index 9eeae3b5d..72a936d11 100644 --- a/numpy/npyffi/types/type.npy_int.html +++ b/numpy/npyffi/types/type.npy_int.html @@ -1,2 +1,2 @@ -npy_int in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_int

    source ·
    pub type npy_int = c_int;
    \ No newline at end of file +npy_int in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_int

    source ·
    pub type npy_int = c_int;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_int16.html b/numpy/npyffi/types/type.npy_int16.html index 43089acfc..f9d1b6049 100644 --- a/numpy/npyffi/types/type.npy_int16.html +++ b/numpy/npyffi/types/type.npy_int16.html @@ -1,2 +1,2 @@ -npy_int16 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_int16

    source ·
    pub type npy_int16 = c_short;
    \ No newline at end of file +npy_int16 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_int16

    source ·
    pub type npy_int16 = c_short;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_int32.html b/numpy/npyffi/types/type.npy_int32.html index cd0790233..30abcba92 100644 --- a/numpy/npyffi/types/type.npy_int32.html +++ b/numpy/npyffi/types/type.npy_int32.html @@ -1,2 +1,2 @@ -npy_int32 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_int32

    source ·
    pub type npy_int32 = c_int;
    \ No newline at end of file +npy_int32 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_int32

    source ·
    pub type npy_int32 = c_int;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_int64.html b/numpy/npyffi/types/type.npy_int64.html index 2c63e5233..c6fecd3d4 100644 --- a/numpy/npyffi/types/type.npy_int64.html +++ b/numpy/npyffi/types/type.npy_int64.html @@ -1,2 +1,2 @@ -npy_int64 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_int64

    source ·
    pub type npy_int64 = c_long;
    \ No newline at end of file +npy_int64 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_int64

    source ·
    pub type npy_int64 = c_long;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_int8.html b/numpy/npyffi/types/type.npy_int8.html index 2c90fdafd..752b4ce73 100644 --- a/numpy/npyffi/types/type.npy_int8.html +++ b/numpy/npyffi/types/type.npy_int8.html @@ -1,2 +1,2 @@ -npy_int8 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_int8

    source ·
    pub type npy_int8 = c_char;
    \ No newline at end of file +npy_int8 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_int8

    source ·
    pub type npy_int8 = c_char;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_intp.html b/numpy/npyffi/types/type.npy_intp.html index ff6e9032c..df23dc5e0 100644 --- a/numpy/npyffi/types/type.npy_intp.html +++ b/numpy/npyffi/types/type.npy_intp.html @@ -1,2 +1,2 @@ -npy_intp in numpy::npyffi::types - Rust +npy_intp in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_intp

    source ·
    pub type npy_intp = Py_intptr_t;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_long.html b/numpy/npyffi/types/type.npy_long.html index 523c1178a..37828f660 100644 --- a/numpy/npyffi/types/type.npy_long.html +++ b/numpy/npyffi/types/type.npy_long.html @@ -1,2 +1,2 @@ -npy_long in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_long

    source ·
    pub type npy_long = c_long;
    \ No newline at end of file +npy_long in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_long

    source ·
    pub type npy_long = c_long;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_longdouble.html b/numpy/npyffi/types/type.npy_longdouble.html index 3b115d2ea..5b7cc49b1 100644 --- a/numpy/npyffi/types/type.npy_longdouble.html +++ b/numpy/npyffi/types/type.npy_longdouble.html @@ -1,2 +1,2 @@ -npy_longdouble in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_longdouble

    source ·
    pub type npy_longdouble = f64;
    \ No newline at end of file +npy_longdouble in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_longdouble

    source ·
    pub type npy_longdouble = f64;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_longlong.html b/numpy/npyffi/types/type.npy_longlong.html index 9a6138159..efbde6522 100644 --- a/numpy/npyffi/types/type.npy_longlong.html +++ b/numpy/npyffi/types/type.npy_longlong.html @@ -1,2 +1,2 @@ -npy_longlong in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_longlong

    source ·
    pub type npy_longlong = c_longlong;
    \ No newline at end of file +npy_longlong in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_longlong

    source ·
    pub type npy_longlong = c_longlong;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_short.html b/numpy/npyffi/types/type.npy_short.html index 49299b408..5d133873f 100644 --- a/numpy/npyffi/types/type.npy_short.html +++ b/numpy/npyffi/types/type.npy_short.html @@ -1,2 +1,2 @@ -npy_short in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_short

    source ·
    pub type npy_short = c_short;
    \ No newline at end of file +npy_short in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_short

    source ·
    pub type npy_short = c_short;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_timedelta.html b/numpy/npyffi/types/type.npy_timedelta.html index 6ba02741a..e95e3af94 100644 --- a/numpy/npyffi/types/type.npy_timedelta.html +++ b/numpy/npyffi/types/type.npy_timedelta.html @@ -1,2 +1,2 @@ -npy_timedelta in numpy::npyffi::types - Rust +npy_timedelta in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_timedelta

    source ·
    pub type npy_timedelta = npy_int64;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_ubyte.html b/numpy/npyffi/types/type.npy_ubyte.html index b23d4eac7..6428dad0f 100644 --- a/numpy/npyffi/types/type.npy_ubyte.html +++ b/numpy/npyffi/types/type.npy_ubyte.html @@ -1,2 +1,2 @@ -npy_ubyte in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_ubyte

    source ·
    pub type npy_ubyte = c_uchar;
    \ No newline at end of file +npy_ubyte in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_ubyte

    source ·
    pub type npy_ubyte = c_uchar;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_ucs4.html b/numpy/npyffi/types/type.npy_ucs4.html index 47f5c3273..3d872b7b4 100644 --- a/numpy/npyffi/types/type.npy_ucs4.html +++ b/numpy/npyffi/types/type.npy_ucs4.html @@ -1,2 +1,2 @@ -npy_ucs4 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_ucs4

    source ·
    pub type npy_ucs4 = c_uint;
    \ No newline at end of file +npy_ucs4 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_ucs4

    source ·
    pub type npy_ucs4 = c_uint;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uint.html b/numpy/npyffi/types/type.npy_uint.html index a7023deba..7f8c3130d 100644 --- a/numpy/npyffi/types/type.npy_uint.html +++ b/numpy/npyffi/types/type.npy_uint.html @@ -1,2 +1,2 @@ -npy_uint in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_uint

    source ·
    pub type npy_uint = c_uint;
    \ No newline at end of file +npy_uint in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_uint

    source ·
    pub type npy_uint = c_uint;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uint16.html b/numpy/npyffi/types/type.npy_uint16.html index dff9814a6..f6b15676e 100644 --- a/numpy/npyffi/types/type.npy_uint16.html +++ b/numpy/npyffi/types/type.npy_uint16.html @@ -1,2 +1,2 @@ -npy_uint16 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_uint16

    source ·
    pub type npy_uint16 = c_ushort;
    \ No newline at end of file +npy_uint16 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_uint16

    source ·
    pub type npy_uint16 = c_ushort;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uint32.html b/numpy/npyffi/types/type.npy_uint32.html index 401019f57..2a1296a2b 100644 --- a/numpy/npyffi/types/type.npy_uint32.html +++ b/numpy/npyffi/types/type.npy_uint32.html @@ -1,2 +1,2 @@ -npy_uint32 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_uint32

    source ·
    pub type npy_uint32 = c_uint;
    \ No newline at end of file +npy_uint32 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_uint32

    source ·
    pub type npy_uint32 = c_uint;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uint64.html b/numpy/npyffi/types/type.npy_uint64.html index d6c111d7e..32c882dd6 100644 --- a/numpy/npyffi/types/type.npy_uint64.html +++ b/numpy/npyffi/types/type.npy_uint64.html @@ -1,2 +1,2 @@ -npy_uint64 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_uint64

    source ·
    pub type npy_uint64 = c_ulong;
    \ No newline at end of file +npy_uint64 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_uint64

    source ·
    pub type npy_uint64 = c_ulong;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uint8.html b/numpy/npyffi/types/type.npy_uint8.html index 307099203..2a0d4761d 100644 --- a/numpy/npyffi/types/type.npy_uint8.html +++ b/numpy/npyffi/types/type.npy_uint8.html @@ -1,2 +1,2 @@ -npy_uint8 in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_uint8

    source ·
    pub type npy_uint8 = c_uchar;
    \ No newline at end of file +npy_uint8 in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_uint8

    source ·
    pub type npy_uint8 = c_uchar;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_uintp.html b/numpy/npyffi/types/type.npy_uintp.html index c44c1368d..30a3466d8 100644 --- a/numpy/npyffi/types/type.npy_uintp.html +++ b/numpy/npyffi/types/type.npy_uintp.html @@ -1,2 +1,2 @@ -npy_uintp in numpy::npyffi::types - Rust +npy_uintp in numpy::npyffi::types - Rust

    Type Alias numpy::npyffi::types::npy_uintp

    source ·
    pub type npy_uintp = Py_uintptr_t;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_ulong.html b/numpy/npyffi/types/type.npy_ulong.html index 70b294a32..9c25894f0 100644 --- a/numpy/npyffi/types/type.npy_ulong.html +++ b/numpy/npyffi/types/type.npy_ulong.html @@ -1,2 +1,2 @@ -npy_ulong in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_ulong

    source ·
    pub type npy_ulong = c_ulong;
    \ No newline at end of file +npy_ulong in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_ulong

    source ·
    pub type npy_ulong = c_ulong;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_ulonglong.html b/numpy/npyffi/types/type.npy_ulonglong.html index 5bdb1e801..9f616599a 100644 --- a/numpy/npyffi/types/type.npy_ulonglong.html +++ b/numpy/npyffi/types/type.npy_ulonglong.html @@ -1,2 +1,2 @@ -npy_ulonglong in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_ulonglong

    source ·
    pub type npy_ulonglong = c_ulonglong;
    \ No newline at end of file +npy_ulonglong in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_ulonglong

    source ·
    pub type npy_ulonglong = c_ulonglong;
    \ No newline at end of file diff --git a/numpy/npyffi/types/type.npy_ushort.html b/numpy/npyffi/types/type.npy_ushort.html index c02b0471c..5af6df333 100644 --- a/numpy/npyffi/types/type.npy_ushort.html +++ b/numpy/npyffi/types/type.npy_ushort.html @@ -1,2 +1,2 @@ -npy_ushort in numpy::npyffi::types - Rust -

    Type Alias numpy::npyffi::types::npy_ushort

    source ·
    pub type npy_ushort = c_ushort;
    \ No newline at end of file +npy_ushort in numpy::npyffi::types - Rust +

    Type Alias numpy::npyffi::types::npy_ushort

    source ·
    pub type npy_ushort = c_ushort;
    \ No newline at end of file diff --git a/numpy/npyffi/ufunc/index.html b/numpy/npyffi/ufunc/index.html index 3d324330c..29ba16d6a 100644 --- a/numpy/npyffi/ufunc/index.html +++ b/numpy/npyffi/ufunc/index.html @@ -1,4 +1,4 @@ -numpy::npyffi::ufunc - Rust +numpy::npyffi::ufunc - Rust

    Module numpy::npyffi::ufunc

    source ·
    Expand description

    Low-Level binding for UFunc API

    Structs§

    Statics§

    \ No newline at end of file diff --git a/numpy/npyffi/ufunc/static.PY_UFUNC_API.html b/numpy/npyffi/ufunc/static.PY_UFUNC_API.html index 3fb76b2f8..c4a10290d 100644 --- a/numpy/npyffi/ufunc/static.PY_UFUNC_API.html +++ b/numpy/npyffi/ufunc/static.PY_UFUNC_API.html @@ -1,4 +1,4 @@ -PY_UFUNC_API in numpy::npyffi::ufunc - Rust +PY_UFUNC_API in numpy::npyffi::ufunc - Rust
    pub static PY_UFUNC_API: PyUFuncAPI
    Expand description

    A global variable which stores a ‘capsule’ pointer to Numpy UFunc API.

    \ No newline at end of file diff --git a/numpy/npyffi/ufunc/struct.PyUFuncAPI.html b/numpy/npyffi/ufunc/struct.PyUFuncAPI.html index ff27fb018..f0ad08471 100644 --- a/numpy/npyffi/ufunc/struct.PyUFuncAPI.html +++ b/numpy/npyffi/ufunc/struct.PyUFuncAPI.html @@ -1,316 +1,316 @@ -PyUFuncAPI in numpy::npyffi::ufunc - Rust +PyUFuncAPI in numpy::npyffi::ufunc - Rust

    Struct numpy::npyffi::ufunc::PyUFuncAPI

    source ·
    pub struct PyUFuncAPI(/* private fields */);

    Implementations§

    source§

    impl PyUFuncAPI

    source

    pub unsafe fn PyUFunc_FromFuncAndData<'py>( &self, py: Python<'py>, - func: *mut PyUFuncGenericFunction, - data: *mut *mut c_void, - types: *mut c_char, - ntypes: c_int, - nin: c_int, - nout: c_int, - identity: c_int, - name: *const c_char, - doc: *const c_char, - unused: c_int -) -> *mut PyObject

    source

    pub unsafe fn PyUFunc_RegisterLoopForType<'py>( + func: *mut PyUFuncGenericFunction, + data: *mut *mut c_void, + types: *mut c_char, + ntypes: c_int, + nin: c_int, + nout: c_int, + identity: c_int, + name: *const c_char, + doc: *const c_char, + unused: c_int +) -> *mut PyObject

    source

    pub unsafe fn PyUFunc_RegisterLoopForType<'py>( &self, py: Python<'py>, - ufunc: *mut PyUFuncObject, - usertype: c_int, + ufunc: *mut PyUFuncObject, + usertype: c_int, function: PyUFuncGenericFunction, - arg_types: *mut c_int, - data: *mut c_void -) -> c_int

    source

    pub unsafe fn PyUFunc_GenericFunction<'py>( + arg_types: *mut c_int, + data: *mut c_void +) -> c_int

    source

    pub unsafe fn PyUFunc_GenericFunction<'py>( &self, py: Python<'py>, - ufunc: *mut PyUFuncObject, - args: *mut PyObject, - kwds: *mut PyObject, - op: *mut *mut PyArrayObject -) -> c_int

    source

    pub unsafe fn PyUFunc_f_f_As_d_d<'py>( + ufunc: *mut PyUFuncObject, + args: *mut PyObject, + kwds: *mut PyObject, + op: *mut *mut PyArrayObject +) -> c_int

    source

    pub unsafe fn PyUFunc_f_f_As_d_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_d_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_f_f<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_g_g<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_F_F_As_D_D<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_F_F<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_D_D<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_G_G<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_O_O<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_ff_f_As_dd_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_ff_f<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_dd_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_gg_g<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_FF_F_As_DD_D<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_DD_D<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_FF_F<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_GG_G<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_OO_O<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_O_O_method<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_OO_O_method<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_On_Om<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_GetPyValues<'py>( &self, py: Python<'py>, - name: *mut c_char, - bufsize: *mut c_int, - errmask: *mut c_int, - errobj: *mut *mut PyObject -) -> c_int

    source

    pub unsafe fn PyUFunc_checkfperr<'py>( + name: *mut c_char, + bufsize: *mut c_int, + errmask: *mut c_int, + errobj: *mut *mut PyObject +) -> c_int

    source

    pub unsafe fn PyUFunc_checkfperr<'py>( &self, py: Python<'py>, - errmask: c_int, - errobj: *mut PyObject, - first: *mut c_int -) -> c_int

    source

    pub unsafe fn PyUFunc_clearfperr<'py>(&self, py: Python<'py>)

    source

    pub unsafe fn PyUFunc_getfperr<'py>(&self, py: Python<'py>) -> c_int

    source

    pub unsafe fn PyUFunc_handlefperr<'py>( + errmask: c_int, + errobj: *mut PyObject, + first: *mut c_int +) -> c_int

    source

    pub unsafe fn PyUFunc_clearfperr<'py>(&self, py: Python<'py>)

    source

    pub unsafe fn PyUFunc_getfperr<'py>(&self, py: Python<'py>) -> c_int

    source

    pub unsafe fn PyUFunc_handlefperr<'py>( &self, py: Python<'py>, - errmask: c_int, - errobj: *mut PyObject, - retstatus: c_int, - first: *mut c_int -) -> c_int

    source

    pub unsafe fn PyUFunc_ReplaceLoopBySignature<'py>( + errmask: c_int, + errobj: *mut PyObject, + retstatus: c_int, + first: *mut c_int +) -> c_int

    source

    pub unsafe fn PyUFunc_ReplaceLoopBySignature<'py>( &self, py: Python<'py>, - func: *mut PyUFuncObject, + func: *mut PyUFuncObject, newfunc: PyUFuncGenericFunction, - signature: *mut c_int, - oldfunc: *mut PyUFuncGenericFunction -) -> c_int

    source

    pub unsafe fn PyUFunc_FromFuncAndDataAndSignature<'py>( - &self, - py: Python<'py>, - func: *mut PyUFuncGenericFunction, - data: *mut *mut c_void, - types: *mut c_char, - ntypes: c_int, - nin: c_int, - nout: c_int, - identity: c_int, - name: *const c_char, - doc: *const c_char, - unused: c_int, - signature: *const c_char -) -> *mut PyObject

    source

    pub unsafe fn PyUFunc_SetUsesArraysAsData<'py>( - &self, - py: Python<'py>, - data: *mut *mut c_void, - i: usize -) -> c_int

    source

    pub unsafe fn PyUFunc_e_e<'py>( - &self, - py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + signature: *mut c_int, + oldfunc: *mut PyUFuncGenericFunction +) -> c_int

    source

    pub unsafe fn PyUFunc_FromFuncAndDataAndSignature<'py>( + &self, + py: Python<'py>, + func: *mut PyUFuncGenericFunction, + data: *mut *mut c_void, + types: *mut c_char, + ntypes: c_int, + nin: c_int, + nout: c_int, + identity: c_int, + name: *const c_char, + doc: *const c_char, + unused: c_int, + signature: *const c_char +) -> *mut PyObject

    source

    pub unsafe fn PyUFunc_SetUsesArraysAsData<'py>( + &self, + py: Python<'py>, + data: *mut *mut c_void, + i: usize +) -> c_int

    source

    pub unsafe fn PyUFunc_e_e<'py>( + &self, + py: Python<'py>, + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_e_e_As_f_f<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_e_e_As_d_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_ee_e<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_ee_e_As_ff_f<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_ee_e_As_dd_d<'py>( &self, py: Python<'py>, - args: *mut *mut c_char, - dimensions: *mut npy_intp, - steps: *mut npy_intp, - func: *mut c_void + args: *mut *mut c_char, + dimensions: *mut npy_intp, + steps: *mut npy_intp, + func: *mut c_void )

    source

    pub unsafe fn PyUFunc_DefaultTypeResolver<'py>( &self, py: Python<'py>, - ufunc: *mut PyUFuncObject, + ufunc: *mut PyUFuncObject, casting: NPY_CASTING, - operands: *mut *mut PyArrayObject, - type_tup: *mut PyObject, - out_dtypes: *mut *mut PyArray_Descr -) -> c_int

    source

    pub unsafe fn PyUFunc_ValidateCasting<'py>( + operands: *mut *mut PyArrayObject, + type_tup: *mut PyObject, + out_dtypes: *mut *mut PyArray_Descr +) -> c_int

    source

    pub unsafe fn PyUFunc_ValidateCasting<'py>( &self, py: Python<'py>, - ufunc: *mut PyUFuncObject, + ufunc: *mut PyUFuncObject, casting: NPY_CASTING, - operands: *mut *mut PyArrayObject, - dtypes: *mut *mut PyArray_Descr -) -> c_int

    source

    pub unsafe fn PyUFunc_RegisterLoopForDescr<'py>( + operands: *mut *mut PyArrayObject, + dtypes: *mut *mut PyArray_Descr +) -> c_int

    source

    pub unsafe fn PyUFunc_RegisterLoopForDescr<'py>( &self, py: Python<'py>, - ufunc: *mut PyUFuncObject, - user_dtype: *mut PyArray_Descr, + ufunc: *mut PyUFuncObject, + user_dtype: *mut PyArray_Descr, function: PyUFuncGenericFunction, - arg_dtypes: *mut *mut PyArray_Descr, - data: *mut c_void -) -> c_int

    source

    pub unsafe fn PyUFunc_FromFuncAndDataAndSignatureAndIdentity<'py>( - &self, - py: Python<'py>, - ufunc: *mut PyUFuncObject, - data: *mut *mut c_void, - types: *mut c_char, - ntypes: c_int, - nin: c_int, - nout: c_int, - identity: c_int, - name: *const c_char, - doc: *const c_char, - unused: c_int, - signature: *const c_char, - identity_value: *const c_char -) -> c_int

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + arg_dtypes: *mut *mut PyArray_Descr, + data: *mut c_void +) -> c_int
    source

    pub unsafe fn PyUFunc_FromFuncAndDataAndSignatureAndIdentity<'py>( + &self, + py: Python<'py>, + ufunc: *mut PyUFuncObject, + data: *mut *mut c_void, + types: *mut c_char, + ntypes: c_int, + nin: c_int, + nout: c_int, + identity: c_int, + name: *const c_char, + doc: *const c_char, + unused: c_int, + signature: *const c_char, + identity_value: *const c_char +) -> c_int

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/prelude/index.html b/numpy/prelude/index.html index fcb0a4950..20b537605 100644 --- a/numpy/prelude/index.html +++ b/numpy/prelude/index.html @@ -1,4 +1,4 @@ -numpy::prelude - Rust +numpy::prelude - Rust

    Module numpy::prelude

    source ·
    Expand description

    A prelude

    The purpose of this module is to avoid direct imports of the method traits defined by this crate via a glob import:

    diff --git a/numpy/prelude/trait.PyArrayDescrMethods.html b/numpy/prelude/trait.PyArrayDescrMethods.html index 1d8f62247..bf2816ceb 100644 --- a/numpy/prelude/trait.PyArrayDescrMethods.html +++ b/numpy/prelude/trait.PyArrayDescrMethods.html @@ -1,81 +1,81 @@ -PyArrayDescrMethods in numpy::prelude - Rust +PyArrayDescrMethods in numpy::prelude - Rust
    pub trait PyArrayDescrMethods<'py>: Sealed {
     
    Show 21 methods // Required methods - fn as_dtype_ptr(&self) -> *mut PyArray_Descr; - fn into_dtype_ptr(self) -> *mut PyArray_Descr; - fn is_equiv_to(&self, other: &Self) -> bool; + fn as_dtype_ptr(&self) -> *mut PyArray_Descr; + fn into_dtype_ptr(self) -> *mut PyArray_Descr; + fn is_equiv_to(&self, other: &Self) -> bool; fn typeobj(&self) -> Bound<'py, PyType>; fn base(&self) -> Bound<'py, PyArrayDescr>; - fn shape(&self) -> Vec<usize>; - fn names(&self) -> Option<Vec<String>>; + fn shape(&self) -> Vec<usize>; + fn names(&self) -> Option<Vec<String>>; fn get_field( &self, - name: &str - ) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>; + name: &str + ) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>; // Provided methods - fn num(&self) -> c_int { ... } - fn itemsize(&self) -> usize { ... } - fn alignment(&self) -> usize { ... } - fn byteorder(&self) -> u8 { ... } - fn char(&self) -> u8 { ... } - fn kind(&self) -> u8 { ... } - fn flags(&self) -> c_char { ... } - fn ndim(&self) -> usize { ... } - fn has_object(&self) -> bool { ... } - fn is_aligned_struct(&self) -> bool { ... } - fn has_subarray(&self) -> bool { ... } - fn has_fields(&self) -> bool { ... } - fn is_native_byteorder(&self) -> Option<bool> { ... } + fn num(&self) -> c_int { ... } + fn itemsize(&self) -> usize { ... } + fn alignment(&self) -> usize { ... } + fn byteorder(&self) -> u8 { ... } + fn char(&self) -> u8 { ... } + fn kind(&self) -> u8 { ... } + fn flags(&self) -> c_char { ... } + fn ndim(&self) -> usize { ... } + fn has_object(&self) -> bool { ... } + fn is_aligned_struct(&self) -> bool { ... } + fn has_subarray(&self) -> bool { ... } + fn has_fields(&self) -> bool { ... } + fn is_native_byteorder(&self) -> Option<bool> { ... }
    }
    Expand description

    Implementation of functionality for PyArrayDescr.

    -

    Required Methods§

    source

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    -
    source

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    +

    Required Methods§

    source

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    +
    source

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    Useful in cases where the descriptor is stolen by the API.

    -
    source

    fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    +
    source

    fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    source

    fn typeobj(&self) -> Bound<'py, PyType>

    Returns the array scalar corresponding to this type descriptor.

    Equivalent to numpy.dtype.type.

    source

    fn base(&self) -> Bound<'py, PyArrayDescr>

    Returns the type descriptor for the base element of subarrays, regardless of their dimension or shape.

    If the dtype is not a subarray, returns self.

    Equivalent to numpy.dtype.base.

    -
    source

    fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    +
    source

    fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    If the dtype is not a sub-array, an empty vector is returned.

    Equivalent to numpy.dtype.shape.

    -
    source

    fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    +
    source

    fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    The names are ordered according to increasing byte offset.

    Equivalent to numpy.dtype.names.

    -
    source

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Returns the type descriptor and offset of the field with the given name.

    +
    source

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Returns the type descriptor and offset of the field with the given name.

    This method will return an error if this type descriptor is not structured, or if it does not contain a field with a given name.

    The list of all names can be found via PyArrayDescr::names.

    Equivalent to retrieving a single item from numpy.dtype.fields.

    -

    Provided Methods§

    source

    fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in +

    Provided Methods§

    source

    fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in enumerated types.

    These are roughly ordered from least-to-most precision.

    Equivalent to numpy.dtype.num.

    -
    source

    fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    +
    source

    fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    Equivalent to [numpy.dtype.itemsize][dtype-itemsize].

    -
    source

    fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    +
    source

    fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    Equivalent to numpy.dtype.alignment.

    -
    source

    fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    +
    source

    fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    All built-in data-type objects have byteorder either = or |.

    Equivalent to numpy.dtype.byteorder.

    -
    source

    fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    +
    source

    fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.char.

    -
    source

    fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    +
    source

    fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.kind.

    -
    source

    fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    +
    source

    fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    Equivalent to numpy.dtype.flags.

    -
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    +
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    Equivalent to numpy.dtype.ndim.

    -
    source

    fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    +
    source

    fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    Equivalent to numpy.dtype.hasobject.

    -
    source

    fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    +
    source

    fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    This flag is sticky, so when combining multiple structs together, it is preserved and produces new dtypes which are also aligned.

    Equivalent to numpy.dtype.isalignedstruct.

    -
    source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    -
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    -
    source

    fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'py> PyArrayDescrMethods<'py> for Bound<'py, PyArrayDescr>

    source§

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    source§

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    source§

    fn is_equiv_to(&self, other: &Self) -> bool

    source§

    fn typeobj(&self) -> Bound<'py, PyType>

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn names(&self) -> Option<Vec<String>>

    source§

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Implementors§

    \ No newline at end of file +
    source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    +
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    +
    source

    fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    +

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'py> PyArrayDescrMethods<'py> for Bound<'py, PyArrayDescr>

    source§

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    source§

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    source§

    fn is_equiv_to(&self, other: &Self) -> bool

    source§

    fn typeobj(&self) -> Bound<'py, PyType>

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn names(&self) -> Option<Vec<String>>

    source§

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Implementors§

    \ No newline at end of file diff --git a/numpy/prelude/trait.PyUntypedArrayMethods.html b/numpy/prelude/trait.PyUntypedArrayMethods.html index 3bf33a64e..d3b408799 100644 --- a/numpy/prelude/trait.PyUntypedArrayMethods.html +++ b/numpy/prelude/trait.PyUntypedArrayMethods.html @@ -1,20 +1,20 @@ -PyUntypedArrayMethods in numpy::prelude - Rust +PyUntypedArrayMethods in numpy::prelude - Rust
    pub trait PyUntypedArrayMethods<'py>: Sealed {
         // Required methods
    -    fn as_array_ptr(&self) -> *mut PyArrayObject;
    +    fn as_array_ptr(&self) -> *mut PyArrayObject;
         fn dtype(&self) -> Bound<'py, PyArrayDescr>;
     
         // Provided methods
    -    fn is_contiguous(&self) -> bool { ... }
    -    fn is_fortran_contiguous(&self) -> bool { ... }
    -    fn is_c_contiguous(&self) -> bool { ... }
    -    fn ndim(&self) -> usize { ... }
    -    fn strides(&self) -> &[isize] { ... }
    -    fn shape(&self) -> &[usize] { ... }
    -    fn len(&self) -> usize { ... }
    -    fn is_empty(&self) -> bool { ... }
    +    fn is_contiguous(&self) -> bool { ... }
    +    fn is_fortran_contiguous(&self) -> bool { ... }
    +    fn is_c_contiguous(&self) -> bool { ... }
    +    fn ndim(&self) -> usize { ... }
    +    fn strides(&self) -> &[isize] { ... }
    +    fn shape(&self) -> &[usize] { ... }
    +    fn len(&self) -> usize { ... }
    +    fn is_empty(&self) -> bool { ... }
     }
    Expand description

    Implementation of functionality for PyUntypedArray.

    -

    Required Methods§

    source

    fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    +

    Required Methods§

    source

    fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    source

    fn dtype(&self) -> Bound<'py, PyArrayDescr>

    Returns the dtype of the array.

    See also ndarray.dtype and PyArray_DTYPE.

    §Example
    @@ -27,7 +27,7 @@
    §Example
    assert!(array.dtype().is_equiv_to(&dtype_bound::<i32>(py))); });
    -

    Provided Methods§

    source

    fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, +

    Provided Methods§

    source

    fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, indepedently of whether C-style/row-major or Fortran-style/column-major.

    §Example
    use numpy::{PyArray1, PyUntypedArrayMethods};
    @@ -44,9 +44,9 @@ 
    §Example
    .unwrap(); assert!(!view.is_contiguous()); });
    -
    source

    fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    -
    source

    fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    -
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    +
    source

    fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    +
    source

    fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    +
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    See also ndarray.ndim and PyArray_NDIM.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -57,7 +57,7 @@ 
    §Example
    assert_eq!(arr.ndim(), 3); });
    -
    source

    fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    +
    source

    fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    See also ndarray.strides and PyArray_STRIDES.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -68,7 +68,7 @@ 
    §Example
    assert_eq!(arr.strides(), &[240, 48, 8]); });
    -
    source

    fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    +
    source

    fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    See also [ndarray.shape][ndaray-shape] and PyArray_DIMS.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -79,6 +79,6 @@ 
    §Example
    assert_eq!(arr.shape(), &[4, 5, 6]); });
    -
    source

    fn len(&self) -> usize

    Calculates the total number of elements in the array.

    -
    source

    fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    -

    Implementations on Foreign Types§

    source§

    impl<'py> PyUntypedArrayMethods<'py> for Bound<'py, PyUntypedArray>

    source§

    impl<'py, T, D> PyUntypedArrayMethods<'py> for Bound<'py, PyArray<T, D>>

    Implementors§

    \ No newline at end of file +
    source

    fn len(&self) -> usize

    Calculates the total number of elements in the array.

    +
    source

    fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    +

    Implementations on Foreign Types§

    source§

    impl<'py> PyUntypedArrayMethods<'py> for Bound<'py, PyUntypedArray>

    source§

    impl<'py, T, D> PyUntypedArrayMethods<'py> for Bound<'py, PyArray<T, D>>

    Implementors§

    \ No newline at end of file diff --git a/numpy/struct.AllowTypeChange.html b/numpy/struct.AllowTypeChange.html index 3fbde8661..0bcbf1b80 100644 --- a/numpy/struct.AllowTypeChange.html +++ b/numpy/struct.AllowTypeChange.html @@ -1,16 +1,16 @@ -AllowTypeChange in numpy - Rust +AllowTypeChange in numpy - Rust

    Struct numpy::AllowTypeChange

    source ·
    pub struct AllowTypeChange;
    Expand description

    Marker type to indicate that the element type received via PyArrayLike can be cast to the specified type by NumPy’s asarray.

    -

    Trait Implementations§

    source§

    impl Debug for AllowTypeChange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Debug for AllowTypeChange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/struct.FromVecError.html b/numpy/struct.FromVecError.html index e022bb165..955343f11 100644 --- a/numpy/struct.FromVecError.html +++ b/numpy/struct.FromVecError.html @@ -1,17 +1,17 @@ -FromVecError in numpy - Rust +FromVecError in numpy - Rust

    Struct numpy::FromVecError

    source ·
    pub struct FromVecError { /* private fields */ }
    Expand description

    Represents that given Vec cannot be treated as an array.

    -

    Trait Implementations§

    source§

    impl Debug for FromVecError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for FromVecError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for FromVecError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<FromVecError> for PyErr

    source§

    fn from(err: FromVecError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for FromVecError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Debug for FromVecError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for FromVecError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for FromVecError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<FromVecError> for PyErr

    source§

    fn from(err: FromVecError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for FromVecError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/struct.NotContiguousError.html b/numpy/struct.NotContiguousError.html index bc867b35c..2e8016261 100644 --- a/numpy/struct.NotContiguousError.html +++ b/numpy/struct.NotContiguousError.html @@ -1,17 +1,17 @@ -NotContiguousError in numpy - Rust +NotContiguousError in numpy - Rust
    pub struct NotContiguousError;
    Expand description

    Represents that the given array is not contiguous.

    -

    Trait Implementations§

    source§

    impl Debug for NotContiguousError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for NotContiguousError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for NotContiguousError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<NotContiguousError> for PyErr

    source§

    fn from(err: NotContiguousError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for NotContiguousError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Debug for NotContiguousError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for NotContiguousError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for NotContiguousError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<NotContiguousError> for PyErr

    source§

    fn from(err: NotContiguousError) -> PyErr

    Converts to this type from the input type.
    source§

    impl PyErrArguments for NotContiguousError

    source§

    fn arguments<'py>(self, py: Python<'py>) -> PyObject

    Arguments for exception

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/struct.PyArrayDescr.html b/numpy/struct.PyArrayDescr.html index 30f64cc1e..50e6e6cf6 100644 --- a/numpy/struct.PyArrayDescr.html +++ b/numpy/struct.PyArrayDescr.html @@ -1,4 +1,4 @@ -PyArrayDescr in numpy - Rust +PyArrayDescr in numpy - Rust

    Struct numpy::PyArrayDescr

    source ·
    pub struct PyArrayDescr(/* private fields */);
    Expand description

    Binding of numpy.dtype.

    §Example

    use numpy::{dtype_bound, get_array_module, PyArrayDescr, PyArrayDescrMethods};
    @@ -15,75 +15,75 @@ 

    §Example

    assert!(dt.is_equiv_to(&dtype_bound::<f64>(py))); });
    -

    Implementations§

    source§

    impl PyArrayDescr

    source

    pub fn new<'py, T: ToPyObject + ?Sized>( +

    Implementations§

    source§

    impl PyArrayDescr

    source

    pub fn new<'py, T: ToPyObject + ?Sized>( py: Python<'py>, - ob: &T -) -> PyResult<&'py Self>

    👎Deprecated since 0.21.0: This will be replace by new_bound in the future.

    Creates a new type descriptor (“dtype”) object from an arbitrary object.

    + ob: &T +) -> PyResult<&'py Self>
    👎Deprecated since 0.21.0: This will be replace by new_bound in the future.

    Creates a new type descriptor (“dtype”) object from an arbitrary object.

    Equivalent to invoking the constructor of numpy.dtype.

    -
    source

    pub fn new_bound<'py, T: ToPyObject + ?Sized>( +

    source

    pub fn new_bound<'py, T: ToPyObject + ?Sized>( py: Python<'py>, - ob: &T + ob: &T ) -> PyResult<Bound<'py, Self>>

    Creates a new type descriptor (“dtype”) object from an arbitrary object.

    Equivalent to invoking the constructor of numpy.dtype.

    -
    source

    pub fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    -
    source

    pub fn into_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    +
    source

    pub fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    +
    source

    pub fn into_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    Useful in cases where the descriptor is stolen by the API.

    -
    source

    pub fn object<'py>(py: Python<'py>) -> &'py Self

    👎Deprecated since 0.21.0: This will be replaced by object_bound in the future.

    Shortcut for creating a type descriptor of object type.

    +
    source

    pub fn object<'py>(py: Python<'py>) -> &'py Self

    👎Deprecated since 0.21.0: This will be replaced by object_bound in the future.

    Shortcut for creating a type descriptor of object type.

    source

    pub fn object_bound(py: Python<'_>) -> Bound<'_, Self>

    Shortcut for creating a type descriptor of object type.

    -
    source

    pub fn of<'py, T: Element>(py: Python<'py>) -> &'py Self

    👎Deprecated since 0.21.0: This will be replaced by of_bound in the future.

    Returns the type descriptor for a registered type.

    +
    source

    pub fn of<'py, T: Element>(py: Python<'py>) -> &'py Self

    👎Deprecated since 0.21.0: This will be replaced by of_bound in the future.

    Returns the type descriptor for a registered type.

    source

    pub fn of_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, Self>

    Returns the type descriptor for a registered type.

    -
    source

    pub fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    +
    source

    pub fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    source

    pub fn typeobj(&self) -> &PyType

    Returns the array scalar corresponding to this type descriptor.

    Equivalent to numpy.dtype.type.

    -
    source

    pub fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in +

    source

    pub fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in enumerated types.

    These are roughly ordered from least-to-most precision.

    Equivalent to numpy.dtype.num.

    -
    source

    pub fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    +
    source

    pub fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    Equivalent to [numpy.dtype.itemsize][dtype-itemsize].

    -
    source

    pub fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    +
    source

    pub fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    Equivalent to numpy.dtype.alignment.

    -
    source

    pub fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    +
    source

    pub fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    All built-in data-type objects have byteorder either = or |.

    Equivalent to numpy.dtype.byteorder.

    -
    source

    pub fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    +
    source

    pub fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.char.

    -
    source

    pub fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    +
    source

    pub fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.kind.

    -
    source

    pub fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    +
    source

    pub fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    Equivalent to numpy.dtype.flags.

    -
    source

    pub fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    +
    source

    pub fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    Equivalent to numpy.dtype.ndim.

    source

    pub fn base(&self) -> &PyArrayDescr

    Returns the type descriptor for the base element of subarrays, regardless of their dimension or shape.

    If the dtype is not a subarray, returns self.

    Equivalent to numpy.dtype.base.

    -
    source

    pub fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    +
    source

    pub fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    If the dtype is not a sub-array, an empty vector is returned.

    Equivalent to numpy.dtype.shape.

    -
    source

    pub fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    +
    source

    pub fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    Equivalent to numpy.dtype.hasobject.

    -
    source

    pub fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    +
    source

    pub fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    This flag is sticky, so when combining multiple structs together, it is preserved and produces new dtypes which are also aligned.

    Equivalent to numpy.dtype.isalignedstruct.

    -
    source

    pub fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    -
    source

    pub fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    -
    source

    pub fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    -
    source

    pub fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    +
    source

    pub fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    +
    source

    pub fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    +
    source

    pub fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    +
    source

    pub fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    The names are ordered according to increasing byte offset.

    Equivalent to numpy.dtype.names.

    -
    source

    pub fn get_field(&self, name: &str) -> PyResult<(&PyArrayDescr, usize)>

    Returns the type descriptor and offset of the field with the given name.

    +
    source

    pub fn get_field(&self, name: &str) -> PyResult<(&PyArrayDescr, usize)>

    Returns the type descriptor and offset of the field with the given name.

    This method will return an error if this type descriptor is not structured, or if it does not contain a field with a given name.

    The list of all names can be found via PyArrayDescr::names.

    Equivalent to retrieving a single item from numpy.dtype.fields.

    -

    Methods from Deref<Target = PyAny>§

    pub fn is<T>(&self, other: &T) -> bool
    where +

    Methods from Deref<Target = PyAny>§

    pub fn is<T>(&self, other: &T) -> bool
    where T: AsPyPointer,

    Returns whether self and other point to the same object. To compare the equality of two objects (the == operator), use eq.

    This is equivalent to the Python expression self is other.

    -

    pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
    where +

    pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
    where N: IntoPy<Py<PyString>>,

    Determines whether this object has the given attribute.

    This is equivalent to the Python expression hasattr(self, attr_name).

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -93,7 +93,7 @@

    fn has_version(sys: &Bound<'_, PyModule>) -> PyResult<bool> { sys.hasattr(intern!(sys.py(), "version")) }
    -

    pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
    where +

    pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>,

    Retrieves an attribute value.

    This is equivalent to the Python expression self.attr_name.

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -103,7 +103,7 @@

    fn version<'py>(sys: &Bound<'py, PyModule>) -> PyResult<Bound<'py, PyAny>> { sys.getattr(intern!(sys.py(), "version")) }
    -

    pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
    where +

    pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
    where N: IntoPy<Py<PyString>>, V: ToPyObject,

    Sets an attribute value.

    This is equivalent to the Python expression self.attr_name = value.

    @@ -114,13 +114,13 @@
    fn set_answer(ob: &Bound<'_, PyAny>) -> PyResult<()> { ob.setattr(intern!(ob.py(), "answer"), 42) }
    -

    pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
    where +

    pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
    where N: IntoPy<Py<PyString>>,

    Deletes an attribute.

    This is equivalent to the Python statement del self.attr_name.

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used to intern attr_name.

    -

    pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
    where - O: ToPyObject,

    Returns an Ordering between self and other.

    +

    pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
    where + O: ToPyObject,

    Returns an Ordering between self and other.

    This is equivalent to the following Python code:

    if self == other:
         return Equal
    @@ -156,7 +156,7 @@ 
    Result<&PyAny, PyErr>
    where +) -> Result<&PyAny, PyErr>
    where O: ToPyObject,

    Tests whether two Python objects obey a given [CompareOp].

    lt, le, eq, ne, gt and ge are the specialized versions @@ -182,25 +182,25 @@

    assert!(a.rich_compare(b, CompareOp::Le)?.is_truthy()?); Ok(()) })?;
    -

    pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is less than another.

    This is equivalent to the Python expression self < other.

    -

    pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is less than or equal to another.

    This is equivalent to the Python expression self <= other.

    -

    pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is equal to another.

    This is equivalent to the Python expression self == other.

    -

    pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is not equal to another.

    This is equivalent to the Python expression self != other.

    -

    pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is greater than another.

    This is equivalent to the Python expression self > other.

    -

    pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is greater than or equal to another.

    This is equivalent to the Python expression self >= other.

    -

    pub fn is_callable(&self) -> bool

    Determines whether this object appears callable.

    +

    pub fn is_callable(&self) -> bool

    Determines whether this object appears callable.

    This is equivalent to Python’s callable() function.

    §Examples
    use pyo3::prelude::*;
    @@ -219,8 +219,8 @@ 
    §Examples

    pub fn call( &self, args: impl IntoPy<Py<PyTuple>>, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>

    Calls the object.

    + kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>

    Calls the object.

    This is equivalent to the Python expression self(*args, **kwargs).

    §Examples
    use pyo3::prelude::*;
    @@ -243,7 +243,7 @@ 
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
    -

    pub fn call0(&self) -> Result<&PyAny, PyErr>

    Calls the object without arguments.

    +

    pub fn call0(&self) -> Result<&PyAny, PyErr>

    Calls the object without arguments.

    This is equivalent to the Python expression self().

    §Examples
    use pyo3::prelude::*;
    @@ -255,7 +255,7 @@ 
    §Examples
    Ok(()) })?;

    This is equivalent to the Python expression help().

    -

    pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

    Calls the object with only positional arguments.

    +

    pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

    Calls the object with only positional arguments.

    This is equivalent to the Python expression self(*args).

    §Examples
    use pyo3::prelude::*;
    @@ -279,8 +279,8 @@ 
    §Examples
    &self, name: N, args: A, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>
    where + kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

    Calls a method on the object.

    This is equivalent to the Python expression self.name(*args, **kwargs).

    @@ -309,7 +309,7 @@
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
    -

    pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
    where +

    pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>,

    Calls a method on the object without arguments.

    This is equivalent to the Python expression self.name().

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -333,7 +333,7 @@

    §Examples
    assert_eq!(result.extract::<String>()?, "called with no arguments"); Ok(()) })
    -

    pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
    where +

    pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

    Calls a method on the object with only positional arguments.

    This is equivalent to the Python expression self.name(*args).

    @@ -359,32 +359,32 @@
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args"); Ok(()) })
    -

    pub fn is_true(&self) -> Result<bool, PyErr>

    👎Deprecated since 0.21.0: use .is_truthy() instead

    Returns whether the object is considered to be true.

    +

    pub fn is_true(&self) -> Result<bool, PyErr>

    👎Deprecated since 0.21.0: use .is_truthy() instead

    Returns whether the object is considered to be true.

    This is equivalent to the Python expression bool(self).

    -

    pub fn is_truthy(&self) -> Result<bool, PyErr>

    Returns whether the object is considered to be true.

    +

    pub fn is_truthy(&self) -> Result<bool, PyErr>

    Returns whether the object is considered to be true.

    This applies truth value testing equivalent to the Python expression bool(self).

    -

    pub fn is_none(&self) -> bool

    Returns whether the object is considered to be None.

    +

    pub fn is_none(&self) -> bool

    Returns whether the object is considered to be None.

    This is equivalent to the Python expression self is None.

    -

    pub fn is_ellipsis(&self) -> bool

    👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

    Returns whether the object is Ellipsis, e.g. ....

    +

    pub fn is_ellipsis(&self) -> bool

    👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

    Returns whether the object is Ellipsis, e.g. ....

    This is equivalent to the Python expression self is ....

    -

    pub fn is_empty(&self) -> Result<bool, PyErr>

    Returns true if the sequence or mapping has a length of 0.

    +

    pub fn is_empty(&self) -> Result<bool, PyErr>

    Returns true if the sequence or mapping has a length of 0.

    This is equivalent to the Python expression len(self) == 0.

    -

    pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
    where +

    pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
    where K: ToPyObject,

    Gets an item from the collection.

    This is equivalent to the Python expression self[key].

    -

    pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
    where +

    pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
    where K: ToPyObject, V: ToPyObject,

    Sets a collection item value.

    This is equivalent to the Python expression self[key] = value.

    -

    pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
    where +

    pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
    where K: ToPyObject,

    Deletes an item from the collection.

    This is equivalent to the Python expression del self[key].

    -

    pub fn iter(&self) -> Result<&PyIterator, PyErr>

    Takes an object and returns an iterator for it.

    +

    pub fn iter(&self) -> Result<&PyIterator, PyErr>

    Takes an object and returns an iterator for it.

    This is typically a new iterator but if the argument is an iterator, this returns itself.

    pub fn get_type(&self) -> &PyType

    Returns the Python type object for this object’s type.

    -

    pub fn get_type_ptr(&self) -> *mut PyTypeObject

    Returns the Python type pointer for this object.

    -

    pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where +

    pub fn get_type_ptr(&self) -> *mut PyTypeObject

    Returns the Python type pointer for this object.

    +

    pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where T: PyTypeCheck<AsRefTarget = T>,

    Downcast this PyAny to a concrete Python type or pyclass.

    Note that you can often avoid downcasting yourself by just specifying the desired type in function or method signatures. @@ -425,7 +425,7 @@

    assert_eq!(class_ref.i, 1); Ok(()) })
    -

    pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where +

    pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where T: PyTypeInfo<AsRefTarget = T>,

    Downcast this PyAny to a concrete Python type or pyclass (but not a subclass of it).

    It is almost always better to use [PyAny::downcast] because it accounts for Python subtyping. Use this method only when you do not want to allow subtypes.

    @@ -449,90 +449,90 @@
    assert!(any.downcast_exact::<PyBool>().is_ok()); });
    -

    pub unsafe fn downcast_unchecked<T>(&self) -> &T
    where +

    pub unsafe fn downcast_unchecked<T>(&self) -> &T
    where T: HasPyGilRef<AsRefTarget = T>,

    Converts this PyAny to a concrete Python type without checking validity.

    §Safety

    Callers must ensure that the type is valid or risk type confusion.

    -

    pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
    where +

    pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
    where D: FromPyObjectBound<'py, 'py>,

    Extracts some type from the Python object.

    This is a wrapper function around FromPyObject::extract().

    -

    pub fn get_refcnt(&self) -> isize

    Returns the reference count for the Python object.

    -

    pub fn repr(&self) -> Result<&PyString, PyErr>

    Computes the “repr” representation of self.

    +

    pub fn get_refcnt(&self) -> isize

    Returns the reference count for the Python object.

    +

    pub fn repr(&self) -> Result<&PyString, PyErr>

    Computes the “repr” representation of self.

    This is equivalent to the Python expression repr(self).

    -

    pub fn str(&self) -> Result<&PyString, PyErr>

    Computes the “str” representation of self.

    +

    pub fn str(&self) -> Result<&PyString, PyErr>

    Computes the “str” representation of self.

    This is equivalent to the Python expression str(self).

    -

    pub fn hash(&self) -> Result<isize, PyErr>

    Retrieves the hash code of self.

    +

    pub fn hash(&self) -> Result<isize, PyErr>

    Retrieves the hash code of self.

    This is equivalent to the Python expression hash(self).

    -

    pub fn len(&self) -> Result<usize, PyErr>

    Returns the length of the sequence or mapping.

    +

    pub fn len(&self) -> Result<usize, PyErr>

    Returns the length of the sequence or mapping.

    This is equivalent to the Python expression len(self).

    pub fn dir(&self) -> &PyList

    Returns the list of attributes of this object.

    This is equivalent to the Python expression dir(self).

    -

    pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

    Checks whether this object is an instance of type ty.

    +

    pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

    Checks whether this object is an instance of type ty.

    This is equivalent to the Python expression isinstance(self, ty).

    -

    pub fn is_exact_instance(&self, ty: &PyAny) -> bool

    Checks whether this object is an instance of exactly type ty (not a subclass).

    +

    pub fn is_exact_instance(&self, ty: &PyAny) -> bool

    Checks whether this object is an instance of exactly type ty (not a subclass).

    This is equivalent to the Python expression type(self) is ty.

    -

    pub fn is_instance_of<T>(&self) -> bool
    where +

    pub fn is_instance_of<T>(&self) -> bool
    where T: PyTypeInfo,

    Checks whether this object is an instance of type T.

    This is equivalent to the Python expression isinstance(self, T), if the type T is known at compile time.

    -

    pub fn is_exact_instance_of<T>(&self) -> bool
    where +

    pub fn is_exact_instance_of<T>(&self) -> bool
    where T: PyTypeInfo,

    Checks whether this object is an instance of exactly type T.

    This is equivalent to the Python expression type(self) is T, if the type T is known at compile time.

    -

    pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
    where +

    pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
    where V: ToPyObject,

    Determines if self contains value.

    This is equivalent to the Python expression value in self.

    pub fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.

    -

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    +

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    §Safety

    Callers are responsible for ensuring that the pointer does not outlive self.

    The reference is borrowed; callers should not decrease the reference count when they are finished with the pointer.

    -

    pub fn into_ptr(&self) -> *mut PyObject

    Returns an owned raw FFI pointer represented by self.

    +

    pub fn into_ptr(&self) -> *mut PyObject

    Returns an owned raw FFI pointer represented by self.

    §Safety

    The reference is owned; when finished the caller should either transfer ownership of the pointer or decrease the reference count (e.g. with pyo3::ffi::Py_DecRef).

    -

    pub fn py_super(&self) -> Result<&PySuper, PyErr>

    Return a proxy object that delegates method calls to a parent or sibling class of type.

    +

    pub fn py_super(&self) -> Result<&PySuper, PyErr>

    Return a proxy object that delegates method calls to a parent or sibling class of type.

    This is equivalent to the Python expression super()

    -

    Trait Implementations§

    source§

    impl AsPyPointer for PyArrayDescr

    source§

    fn as_ptr(&self) -> *mut PyObject

    Gets the underlying FFI pointer, returns a borrowed pointer.

    -
    source§

    impl AsRef<PyAny> for PyArrayDescr

    source§

    fn as_ref(&self) -> &PyAny

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Debug for PyArrayDescr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PyArrayDescr

    §

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    source§

    impl Display for PyArrayDescr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a PyArrayDescr> for &'a PyAny

    source§

    fn from(ob: &'a PyArrayDescr) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PyArrayDescr> for Py<PyArrayDescr>

    source§

    fn from(other: &PyArrayDescr) -> Self

    Converts to this type from the input type.
    source§

    impl<'py> FromPyObject<'py> for &'py PyArrayDescr

    source§

    fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more
    source§

    impl IntoPy<Py<PyArrayDescr>> for &PyArrayDescr

    source§

    fn into_py(self, py: Python<'_>) -> Py<PyArrayDescr>

    Performs the conversion.
    source§

    impl PyNativeType for PyArrayDescr

    §

    type AsRefSource = PyArrayDescr

    The form of this which is stored inside a Py<T> smart pointer.
    §

    fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

    Cast &self to a Borrowed smart pointer. Read more
    §

    fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.
    §

    unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

    Cast &PyAny to &Self without no type checking. Read more
    source§

    impl PyTypeInfo for PyArrayDescr

    source§

    const NAME: &'static str = "PyArrayDescr"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    source§

    fn is_type_of(ob: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type or a subclass of this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
    Returns the safe abstraction over the type object.
    §

    fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

    Returns the safe abstraction over the type object.
    §

    fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type.
    §

    fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type.
    source§

    impl ToPyObject for PyArrayDescr

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl DerefToPyAny for PyArrayDescr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl AsPyPointer for PyArrayDescr

    source§

    fn as_ptr(&self) -> *mut PyObject

    Gets the underlying FFI pointer, returns a borrowed pointer.

    +
    source§

    impl AsRef<PyAny> for PyArrayDescr

    source§

    fn as_ref(&self) -> &PyAny

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Debug for PyArrayDescr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PyArrayDescr

    §

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    source§

    impl Display for PyArrayDescr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a PyArrayDescr> for &'a PyAny

    source§

    fn from(ob: &'a PyArrayDescr) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PyArrayDescr> for Py<PyArrayDescr>

    source§

    fn from(other: &PyArrayDescr) -> Self

    Converts to this type from the input type.
    source§

    impl<'py> FromPyObject<'py> for &'py PyArrayDescr

    source§

    fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more
    source§

    impl IntoPy<Py<PyArrayDescr>> for &PyArrayDescr

    source§

    fn into_py(self, py: Python<'_>) -> Py<PyArrayDescr>

    Performs the conversion.
    source§

    impl PyNativeType for PyArrayDescr

    §

    type AsRefSource = PyArrayDescr

    The form of this which is stored inside a Py<T> smart pointer.
    §

    fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

    Cast &self to a Borrowed smart pointer. Read more
    §

    fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.
    §

    unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

    Cast &PyAny to &Self without no type checking. Read more
    source§

    impl PyTypeInfo for PyArrayDescr

    source§

    const NAME: &'static str = "PyArrayDescr"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    source§

    fn is_type_of(ob: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type or a subclass of this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
    Returns the safe abstraction over the type object.
    §

    fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

    Returns the safe abstraction over the type object.
    §

    fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type.
    §

    fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type.
    source§

    impl ToPyObject for PyArrayDescr

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl DerefToPyAny for PyArrayDescr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<'p, T> FromPyPointer<'p> for T
    where T: 'p + PyNativeType,

    §

    unsafe fn from_owned_ptr_or_opt( py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_opt( + ptr: *mut PyObject +) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_opt( _py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_owned_ptr_or_panic( + ptr: *mut PyObject +) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_owned_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_panic( + ptr: *mut PyObject +) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    impl<T> HasPyGilRef for T
    where - T: PyNativeType,

    §

    type AsRefTarget = T

    Utility type to make Py::as_ref work.
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + ptr: *mut PyObject +) -> Result<&'p Self, PyErr>
    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    impl<T> HasPyGilRef for T
    where + T: PyNativeType,

    §

    type AsRefTarget = T

    Utility type to make Py::as_ref work.
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    §

    impl<'v, T> PyTryFrom<'v> for T
    where - T: PyTypeInfo<AsRefTarget = T> + PyNativeType,

    §

    fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
    Cast from a concrete Python object type to PyObject.
    §

    fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
    Cast from a concrete Python object type to PyObject. With exact type check.
    §

    unsafe fn try_from_unchecked<V>(value: V) -> &'v T
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
    Cast a PyAny to a specific type of PyObject. The caller must + T: PyTypeInfo<AsRefTarget = T> + PyNativeType,
    §

    fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
    Cast from a concrete Python object type to PyObject.
    §

    fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
    Cast from a concrete Python object type to PyObject. With exact type check.
    §

    unsafe fn try_from_unchecked<V>(value: V) -> &'v T
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
    Cast a PyAny to a specific type of PyObject. The caller must have already verified the reference is for this type. Read more
    §

    impl<T> PyTypeCheck for T
    where - T: PyTypeInfo,

    §

    const NAME: &'static str = <T as PyTypeInfo>::NAME

    Name of self. This is used in error messages, for example.
    §

    fn type_check(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of Self, which may include a subtype. Read more
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + T: PyTypeInfo,
    §

    const NAME: &'static str = <T as PyTypeInfo>::NAME

    Name of self. This is used in error messages, for example.
    §

    fn type_check(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of Self, which may include a subtype. Read more
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where + SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/struct.PyArrayLike.html b/numpy/struct.PyArrayLike.html index 3c21f9870..51ea8e21d 100644 --- a/numpy/struct.PyArrayLike.html +++ b/numpy/struct.PyArrayLike.html @@ -1,4 +1,4 @@ -PyArrayLike in numpy - Rust +PyArrayLike in numpy - Rust

    Struct numpy::PyArrayLike

    source ·
    pub struct PyArrayLike<'py, T, D, C = TypeMustMatch>(/* private fields */)
     where
         T: Element,
    @@ -62,13 +62,13 @@ 

    §Example

    py_run!(py, np sum_up, r"assert sum_up((1.5, 2.5)) == 3"); });
    -

    Methods from Deref<Target = PyReadonlyArray<'py, T, D>>§

    source

    pub fn as_array(&self) -> ArrayView<'_, T, D>

    Provides an immutable array view of the interior of the NumPy array.

    -
    source

    pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

    Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

    -
    source

    pub fn get<I>(&self, index: I) -> Option<&T>
    where +

    Methods from Deref<Target = PyReadonlyArray<'py, T, D>>§

    source

    pub fn as_array(&self) -> ArrayView<'_, T, D>

    Provides an immutable array view of the interior of the NumPy array.

    +
    source

    pub fn as_slice(&self) -> Result<&[T], NotContiguousError>

    Provide an immutable slice view of the interior of the NumPy array if it is contiguous.

    +
    source

    pub fn get<I>(&self, index: I) -> Option<&T>
    where I: NpyIndex<Dim = D>,

    Provide an immutable reference to an element of the NumPy array if the index is within bounds.

    source

    pub fn try_as_matrix<R, C, RStride, CStride>( &self -) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
    where +) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
    where R: Dim, C: Dim, RStride: Dim, @@ -111,7 +111,7 @@
    §Panics

    source

    pub fn as_matrix(&self) -> DMatrixView<'_, N, Dyn, Dyn>

    Convert this two-dimensional array into a nalgebra::DMatrixView using dynamic strides.

    §Panics

    Panics if the array has negative strides.

    -

    Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

    pub fn borrow(&self) -> PyRef<'py, T>

    Immutably borrows the value T.

    +

    Methods from Deref<Target = Bound<'py, PyArray<T, D>>>§

    pub fn borrow(&self) -> PyRef<'py, T>

    Immutably borrows the value T.

    This borrow lasts while the returned [PyRef] exists. Multiple immutable borrows can be taken out at the same time.

    For frozen classes, the simpler [get][Self::get] is available.

    @@ -150,17 +150,17 @@
    §Examples
    §Panics

    Panics if the value is currently borrowed. For a non-panicking variant, use try_borrow_mut.

    -

    pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

    Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

    +

    pub fn try_borrow(&self) -> Result<PyRef<'py, T>, PyBorrowError>

    Attempts to immutably borrow the value T, returning an error if the value is currently mutably borrowed.

    The borrow lasts while the returned [PyRef] exists.

    This is the non-panicking variant of borrow.

    For frozen classes, the simpler [get][Self::get] is available.

    -

    pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
    where +

    pub fn try_borrow_mut(&self) -> Result<PyRefMut<'py, T>, PyBorrowMutError>
    where T: PyClass<Frozen = False>,

    Attempts to mutably borrow the value T, returning an error if the value is currently borrowed.

    The borrow lasts while the returned [PyRefMut] exists.

    This is the non-panicking variant of borrow_mut.

    -

    pub fn get(&self) -> &T
    where - T: PyClass<Frozen = True> + Sync,

    Provide an immutable borrow of the value T without acquiring the GIL.

    -

    This is available if the class is [frozen][macro@crate::pyclass] and Sync.

    +

    pub fn get(&self) -> &T
    where + T: PyClass<Frozen = True> + Sync,

    Provide an immutable borrow of the value T without acquiring the GIL.

    +

    This is available if the class is [frozen][macro@crate::pyclass] and Sync.

    §Examples
    use std::sync::atomic::{AtomicUsize, Ordering};
     
    @@ -177,7 +177,7 @@ 
    §Examples
    py_counter.get().value.fetch_add(1, Ordering::Relaxed); });

    pub fn py(&self) -> Python<'py>

    Returns the GIL token associated with this object.

    -

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    +

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    §Safety

    Callers are responsible for ensuring that the pointer does not outlive self.

    The reference is borrowed; callers should not decrease the reference count @@ -189,33 +189,33 @@

    §Safety

    pub fn as_gil_ref(&'py self) -> &'py <T as HasPyGilRef>::AsRefTarget
    where T: HasPyGilRef,

    Casts this Bound<T> as the corresponding “GIL Ref” type.

    This is a helper to be used for migration from the deprecated “GIL Refs” API.

    -

    Trait Implementations§

    source§

    impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where - T: Element + Debug, - D: Dimension + Debug, - C: Coerce + Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where +

    Trait Implementations§

    source§

    impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where + T: Element + Debug, + D: Dimension + Debug, + C: Coerce + Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where T: Element, D: Dimension, - C: Coerce,

    §

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where + C: Coerce,

    §

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where T: Element + 'py, D: Dimension + 'py, C: Coerce, - Vec<T>: FromPyObject<'py>,

    source§

    fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more

    Auto Trait Implementations§

    §

    impl<'py, T, D, C = TypeMustMatch> !RefUnwindSafe for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C = TypeMustMatch> !Send for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C = TypeMustMatch> !Sync for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C> Unpin for PyArrayLike<'py, T, D, C>
    where - C: Unpin, - D: Unpin, - T: Unpin,

    §

    impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where - C: UnwindSafe, - D: UnwindSafe, - T: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + Vec<T>: FromPyObject<'py>,
    source§

    fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more

    Auto Trait Implementations§

    §

    impl<'py, T, D, C = TypeMustMatch> !RefUnwindSafe for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C = TypeMustMatch> !Send for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C = TypeMustMatch> !Sync for PyArrayLike<'py, T, D, C>

    §

    impl<'py, T, D, C> Unpin for PyArrayLike<'py, T, D, C>
    where + C: Unpin, + D: Unpin, + T: Unpin,

    §

    impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where + C: UnwindSafe, + D: UnwindSafe, + T: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<'py, T> FromPyObjectBound<'_, 'py> for T
    where - T: FromPyObject<'py>,

    §

    fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

    Extracts Self from the bound smart pointer obj. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + T: FromPyObject<'py>,
    §

    fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>

    Extracts Self from the bound smart pointer obj. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/struct.PyFixedString.html b/numpy/struct.PyFixedString.html index cac36581a..9a83d37b2 100644 --- a/numpy/struct.PyFixedString.html +++ b/numpy/struct.PyFixedString.html @@ -1,5 +1,5 @@ -PyFixedString in numpy - Rust -

    Struct numpy::PyFixedString

    source ·
    #[repr(transparent)]
    pub struct PyFixedString<const N: usize>(pub [Py_UCS1; N]);
    Expand description

    A newtype wrapper around [[u8; N]][Py_UCS1] to handle byte scalars while satisfying coherence.

    +PyFixedString in numpy - Rust +

    Struct numpy::PyFixedString

    source ·
    #[repr(transparent)]
    pub struct PyFixedString<const N: usize>(pub [Py_UCS1; N]);
    Expand description

    A newtype wrapper around [[u8; N]][Py_UCS1] to handle byte scalars while satisfying coherence.

    Note that when creating arrays of ASCII strings without an explicit dtype, NumPy will automatically determine the smallest possible array length at runtime.

    For example,

    @@ -18,29 +18,29 @@

    §Example

    let array = PyArray1::<PyFixedString<3>>::from_vec_bound(py, vec![[b'f', b'o', b'o'].into()]); assert!(array.dtype().to_string().contains("S3"));
    -

    Tuple Fields§

    §0: [Py_UCS1; N]

    Trait Implementations§

    source§

    impl<const N: usize> Clone for PyFixedString<N>

    source§

    fn clone(&self) -> PyFixedString<N>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<const N: usize> Debug for PyFixedString<N>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Display for PyFixedString<N>

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Element for PyFixedString<N>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<const N: usize> From<[u8; N]> for PyFixedString<N>

    source§

    fn from(val: [Py_UCS1; N]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> Hash for PyFixedString<N>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<const N: usize> Ord for PyFixedString<N>

    source§

    fn cmp(&self, other: &PyFixedString<N>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<const N: usize> PartialEq for PyFixedString<N>

    source§

    fn eq(&self, other: &PyFixedString<N>) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<const N: usize> PartialOrd for PyFixedString<N>

    source§

    fn partial_cmp(&self, other: &PyFixedString<N>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl<const N: usize> Copy for PyFixedString<N>

    source§

    impl<const N: usize> Eq for PyFixedString<N>

    source§

    impl<const N: usize> StructuralPartialEq for PyFixedString<N>

    Auto Trait Implementations§

    §

    impl<const N: usize> RefUnwindSafe for PyFixedString<N>

    §

    impl<const N: usize> Send for PyFixedString<N>

    §

    impl<const N: usize> Sync for PyFixedString<N>

    §

    impl<const N: usize> Unpin for PyFixedString<N>

    §

    impl<const N: usize> UnwindSafe for PyFixedString<N>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Tuple Fields§

    §0: [Py_UCS1; N]

    Trait Implementations§

    source§

    impl<const N: usize> Clone for PyFixedString<N>

    source§

    fn clone(&self) -> PyFixedString<N>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<const N: usize> Debug for PyFixedString<N>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Display for PyFixedString<N>

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Element for PyFixedString<N>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<const N: usize> From<[u8; N]> for PyFixedString<N>

    source§

    fn from(val: [Py_UCS1; N]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> Hash for PyFixedString<N>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<const N: usize> Ord for PyFixedString<N>

    source§

    fn cmp(&self, other: &PyFixedString<N>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<const N: usize> PartialEq for PyFixedString<N>

    source§

    fn eq(&self, other: &PyFixedString<N>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<const N: usize> PartialOrd for PyFixedString<N>

    source§

    fn partial_cmp(&self, other: &PyFixedString<N>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl<const N: usize> Copy for PyFixedString<N>

    source§

    impl<const N: usize> Eq for PyFixedString<N>

    source§

    impl<const N: usize> StructuralPartialEq for PyFixedString<N>

    Auto Trait Implementations§

    §

    impl<const N: usize> RefUnwindSafe for PyFixedString<N>

    §

    impl<const N: usize> Send for PyFixedString<N>

    §

    impl<const N: usize> Sync for PyFixedString<N>

    §

    impl<const N: usize> Unpin for PyFixedString<N>

    §

    impl<const N: usize> UnwindSafe for PyFixedString<N>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/struct.PyFixedUnicode.html b/numpy/struct.PyFixedUnicode.html index 734a4e195..847f6c7be 100644 --- a/numpy/struct.PyFixedUnicode.html +++ b/numpy/struct.PyFixedUnicode.html @@ -1,5 +1,5 @@ -PyFixedUnicode in numpy - Rust -

    Struct numpy::PyFixedUnicode

    source ·
    #[repr(transparent)]
    pub struct PyFixedUnicode<const N: usize>(pub [Py_UCS4; N]);
    Expand description

    A newtype wrapper around [[PyUCS4; N]][Py_UCS4] to handle str_ scalars while satisfying coherence.

    +PyFixedUnicode in numpy - Rust +

    Struct numpy::PyFixedUnicode

    source ·
    #[repr(transparent)]
    pub struct PyFixedUnicode<const N: usize>(pub [Py_UCS4; N]);
    Expand description

    A newtype wrapper around [[PyUCS4; N]][Py_UCS4] to handle str_ scalars while satisfying coherence.

    Note that when creating arrays of Unicode strings without an explicit dtype, NumPy will automatically determine the smallest possible array length at runtime.

    For example,

    @@ -18,29 +18,29 @@

    §Example

    let array = PyArray1::<PyFixedUnicode<3>>::from_vec_bound(py, vec![[b'b' as _, b'a' as _, b'r' as _].into()]); assert!(array.dtype().to_string().contains("U3"));
    -

    Tuple Fields§

    §0: [Py_UCS4; N]

    Trait Implementations§

    source§

    impl<const N: usize> Clone for PyFixedUnicode<N>

    source§

    fn clone(&self) -> PyFixedUnicode<N>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<const N: usize> Debug for PyFixedUnicode<N>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Display for PyFixedUnicode<N>

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Element for PyFixedUnicode<N>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<const N: usize> From<[u32; N]> for PyFixedUnicode<N>

    source§

    fn from(val: [Py_UCS4; N]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> Hash for PyFixedUnicode<N>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<const N: usize> Ord for PyFixedUnicode<N>

    source§

    fn cmp(&self, other: &PyFixedUnicode<N>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<const N: usize> PartialEq for PyFixedUnicode<N>

    source§

    fn eq(&self, other: &PyFixedUnicode<N>) -> bool

    This method tests for self and other values to be equal, and is used -by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl<const N: usize> PartialOrd for PyFixedUnicode<N>

    source§

    fn partial_cmp(&self, other: &PyFixedUnicode<N>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl<const N: usize> Copy for PyFixedUnicode<N>

    source§

    impl<const N: usize> Eq for PyFixedUnicode<N>

    source§

    impl<const N: usize> StructuralPartialEq for PyFixedUnicode<N>

    Auto Trait Implementations§

    §

    impl<const N: usize> RefUnwindSafe for PyFixedUnicode<N>

    §

    impl<const N: usize> Send for PyFixedUnicode<N>

    §

    impl<const N: usize> Sync for PyFixedUnicode<N>

    §

    impl<const N: usize> Unpin for PyFixedUnicode<N>

    §

    impl<const N: usize> UnwindSafe for PyFixedUnicode<N>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Tuple Fields§

    §0: [Py_UCS4; N]

    Trait Implementations§

    source§

    impl<const N: usize> Clone for PyFixedUnicode<N>

    source§

    fn clone(&self) -> PyFixedUnicode<N>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<const N: usize> Debug for PyFixedUnicode<N>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Display for PyFixedUnicode<N>

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<const N: usize> Element for PyFixedUnicode<N>

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    impl<const N: usize> From<[u32; N]> for PyFixedUnicode<N>

    source§

    fn from(val: [Py_UCS4; N]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> Hash for PyFixedUnicode<N>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<const N: usize> Ord for PyFixedUnicode<N>

    source§

    fn cmp(&self, other: &PyFixedUnicode<N>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl<const N: usize> PartialEq for PyFixedUnicode<N>

    source§

    fn eq(&self, other: &PyFixedUnicode<N>) -> bool

    This method tests for self and other values to be equal, and is used +by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
    source§

    impl<const N: usize> PartialOrd for PyFixedUnicode<N>

    source§

    fn partial_cmp(&self, other: &PyFixedUnicode<N>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl<const N: usize> Copy for PyFixedUnicode<N>

    source§

    impl<const N: usize> Eq for PyFixedUnicode<N>

    source§

    impl<const N: usize> StructuralPartialEq for PyFixedUnicode<N>

    Auto Trait Implementations§

    §

    impl<const N: usize> RefUnwindSafe for PyFixedUnicode<N>

    §

    impl<const N: usize> Send for PyFixedUnicode<N>

    §

    impl<const N: usize> Sync for PyFixedUnicode<N>

    §

    impl<const N: usize> Unpin for PyFixedUnicode<N>

    §

    impl<const N: usize> UnwindSafe for PyFixedUnicode<N>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where - T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> Scalar for T
    where + T: 'static + Clone + PartialEq + Debug,

    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/struct.PyUntypedArray.html b/numpy/struct.PyUntypedArray.html index f76348ad4..b5340b7e6 100644 --- a/numpy/struct.PyUntypedArray.html +++ b/numpy/struct.PyUntypedArray.html @@ -1,4 +1,4 @@ -PyUntypedArray in numpy - Rust +PyUntypedArray in numpy - Rust

    Struct numpy::PyUntypedArray

    source ·
    pub struct PyUntypedArray(/* private fields */);
    Expand description

    A safe, untyped wrapper for NumPy’s ndarray class.

    Unlike PyArray<T,D>, this type does not constrain either element type T nor the dimensionality D. This can be useful to inspect function arguments, but it prevents operating on the elements without further downcasts.

    @@ -33,7 +33,7 @@

    §Example

    Err(PyTypeError::new_err(format!("Unsupported element type: {}", element_type))) } }
    -

    Implementations§

    source§

    impl PyUntypedArray

    source

    pub fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    +

    Implementations§

    source§

    impl PyUntypedArray

    source

    pub fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    source

    pub fn dtype(&self) -> &PyArrayDescr

    Returns the dtype of the array.

    See also ndarray.dtype and PyArray_DTYPE.

    §Example
    @@ -46,7 +46,7 @@
    §Example
    assert!(array.dtype().is_equiv_to(&dtype_bound::<i32>(py))); });
    -
    source

    pub fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, +

    source

    pub fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, indepedently of whether C-style/row-major or Fortran-style/column-major.

    §Example
    use numpy::{PyArray1, PyUntypedArrayMethods};
    @@ -63,9 +63,9 @@ 
    §Example
    .unwrap(); assert!(!view.is_contiguous()); });
    -
    source

    pub fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    -
    source

    pub fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    -
    source

    pub fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    +
    source

    pub fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    +
    source

    pub fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    +
    source

    pub fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    See also ndarray.ndim and PyArray_NDIM.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -76,7 +76,7 @@ 
    §Example
    assert_eq!(arr.ndim(), 3); });
    -
    source

    pub fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    +
    source

    pub fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    See also ndarray.strides and PyArray_STRIDES.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -87,7 +87,7 @@ 
    §Example
    assert_eq!(arr.strides(), &[240, 48, 8]); });
    -
    source

    pub fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    +
    source

    pub fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    See also [ndarray.shape][ndaray-shape] and PyArray_DIMS.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -98,13 +98,13 @@ 
    §Example
    assert_eq!(arr.shape(), &[4, 5, 6]); });
    -
    source

    pub fn len(&self) -> usize

    Calculates the total number of elements in the array.

    -
    source

    pub fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    -

    Methods from Deref<Target = PyAny>§

    pub fn is<T>(&self, other: &T) -> bool
    where +

    source

    pub fn len(&self) -> usize

    Calculates the total number of elements in the array.

    +
    source

    pub fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    +

    Methods from Deref<Target = PyAny>§

    pub fn is<T>(&self, other: &T) -> bool
    where T: AsPyPointer,

    Returns whether self and other point to the same object. To compare the equality of two objects (the == operator), use eq.

    This is equivalent to the Python expression self is other.

    -

    pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
    where +

    pub fn hasattr<N>(&self, attr_name: N) -> Result<bool, PyErr>
    where N: IntoPy<Py<PyString>>,

    Determines whether this object has the given attribute.

    This is equivalent to the Python expression hasattr(self, attr_name).

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -114,7 +114,7 @@

    fn has_version(sys: &Bound<'_, PyModule>) -> PyResult<bool> { sys.hasattr(intern!(sys.py(), "version")) }
    -

    pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
    where +

    pub fn getattr<N>(&self, attr_name: N) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>,

    Retrieves an attribute value.

    This is equivalent to the Python expression self.attr_name.

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -124,7 +124,7 @@

    fn version<'py>(sys: &Bound<'py, PyModule>) -> PyResult<Bound<'py, PyAny>> { sys.getattr(intern!(sys.py(), "version")) }
    -

    pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
    where +

    pub fn setattr<N, V>(&self, attr_name: N, value: V) -> Result<(), PyErr>
    where N: IntoPy<Py<PyString>>, V: ToPyObject,

    Sets an attribute value.

    This is equivalent to the Python expression self.attr_name = value.

    @@ -135,13 +135,13 @@
    fn set_answer(ob: &Bound<'_, PyAny>) -> PyResult<()> { ob.setattr(intern!(ob.py(), "answer"), 42) }
    -

    pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
    where +

    pub fn delattr<N>(&self, attr_name: N) -> Result<(), PyErr>
    where N: IntoPy<Py<PyString>>,

    Deletes an attribute.

    This is equivalent to the Python statement del self.attr_name.

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used to intern attr_name.

    -

    pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
    where - O: ToPyObject,

    Returns an Ordering between self and other.

    +

    pub fn compare<O>(&self, other: O) -> Result<Ordering, PyErr>
    where + O: ToPyObject,

    Returns an Ordering between self and other.

    This is equivalent to the following Python code:

    if self == other:
         return Equal
    @@ -177,7 +177,7 @@ 
    Result<&PyAny, PyErr>
    where +) -> Result<&PyAny, PyErr>
    where O: ToPyObject,

    Tests whether two Python objects obey a given [CompareOp].

    lt, le, eq, ne, gt and ge are the specialized versions @@ -203,25 +203,25 @@

    assert!(a.rich_compare(b, CompareOp::Le)?.is_truthy()?); Ok(()) })?;
    -

    pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn lt<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is less than another.

    This is equivalent to the Python expression self < other.

    -

    pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn le<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is less than or equal to another.

    This is equivalent to the Python expression self <= other.

    -

    pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn eq<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is equal to another.

    This is equivalent to the Python expression self == other.

    -

    pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn ne<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is not equal to another.

    This is equivalent to the Python expression self != other.

    -

    pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn gt<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is greater than another.

    This is equivalent to the Python expression self > other.

    -

    pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
    where +

    pub fn ge<O>(&self, other: O) -> Result<bool, PyErr>
    where O: ToPyObject,

    Tests whether this object is greater than or equal to another.

    This is equivalent to the Python expression self >= other.

    -

    pub fn is_callable(&self) -> bool

    Determines whether this object appears callable.

    +

    pub fn is_callable(&self) -> bool

    Determines whether this object appears callable.

    This is equivalent to Python’s callable() function.

    §Examples
    use pyo3::prelude::*;
    @@ -240,8 +240,8 @@ 
    §Examples

    pub fn call( &self, args: impl IntoPy<Py<PyTuple>>, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>

    Calls the object.

    + kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>

    Calls the object.

    This is equivalent to the Python expression self(*args, **kwargs).

    §Examples
    use pyo3::prelude::*;
    @@ -264,7 +264,7 @@ 
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
    -

    pub fn call0(&self) -> Result<&PyAny, PyErr>

    Calls the object without arguments.

    +

    pub fn call0(&self) -> Result<&PyAny, PyErr>

    Calls the object without arguments.

    This is equivalent to the Python expression self().

    §Examples
    use pyo3::prelude::*;
    @@ -276,7 +276,7 @@ 
    §Examples
    Ok(()) })?;

    This is equivalent to the Python expression help().

    -

    pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

    Calls the object with only positional arguments.

    +

    pub fn call1(&self, args: impl IntoPy<Py<PyTuple>>) -> Result<&PyAny, PyErr>

    Calls the object with only positional arguments.

    This is equivalent to the Python expression self(*args).

    §Examples
    use pyo3::prelude::*;
    @@ -300,8 +300,8 @@ 
    §Examples
    &self, name: N, args: A, - kwargs: Option<&PyDict> -) -> Result<&PyAny, PyErr>
    where + kwargs: Option<&PyDict> +) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

    Calls a method on the object.

    This is equivalent to the Python expression self.name(*args, **kwargs).

    @@ -330,7 +330,7 @@
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args and kwargs"); Ok(()) })
    -

    pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
    where +

    pub fn call_method0<N>(&self, name: N) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>,

    Calls a method on the object without arguments.

    This is equivalent to the Python expression self.name().

    To avoid repeated temporary allocations of Python strings, the [intern!] macro can be used @@ -354,7 +354,7 @@

    §Examples
    assert_eq!(result.extract::<String>()?, "called with no arguments"); Ok(()) })
    -

    pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
    where +

    pub fn call_method1<N, A>(&self, name: N, args: A) -> Result<&PyAny, PyErr>
    where N: IntoPy<Py<PyString>>, A: IntoPy<Py<PyTuple>>,

    Calls a method on the object with only positional arguments.

    This is equivalent to the Python expression self.name(*args).

    @@ -380,32 +380,32 @@
    §Examples
    assert_eq!(result.extract::<String>()?, "called with args"); Ok(()) })
    -

    pub fn is_true(&self) -> Result<bool, PyErr>

    👎Deprecated since 0.21.0: use .is_truthy() instead

    Returns whether the object is considered to be true.

    +

    pub fn is_true(&self) -> Result<bool, PyErr>

    👎Deprecated since 0.21.0: use .is_truthy() instead

    Returns whether the object is considered to be true.

    This is equivalent to the Python expression bool(self).

    -

    pub fn is_truthy(&self) -> Result<bool, PyErr>

    Returns whether the object is considered to be true.

    +

    pub fn is_truthy(&self) -> Result<bool, PyErr>

    Returns whether the object is considered to be true.

    This applies truth value testing equivalent to the Python expression bool(self).

    -

    pub fn is_none(&self) -> bool

    Returns whether the object is considered to be None.

    +

    pub fn is_none(&self) -> bool

    Returns whether the object is considered to be None.

    This is equivalent to the Python expression self is None.

    -

    pub fn is_ellipsis(&self) -> bool

    👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

    Returns whether the object is Ellipsis, e.g. ....

    +

    pub fn is_ellipsis(&self) -> bool

    👎Deprecated since 0.20.0: use .is(py.Ellipsis()) instead

    Returns whether the object is Ellipsis, e.g. ....

    This is equivalent to the Python expression self is ....

    -

    pub fn is_empty(&self) -> Result<bool, PyErr>

    Returns true if the sequence or mapping has a length of 0.

    +

    pub fn is_empty(&self) -> Result<bool, PyErr>

    Returns true if the sequence or mapping has a length of 0.

    This is equivalent to the Python expression len(self) == 0.

    -

    pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
    where +

    pub fn get_item<K>(&self, key: K) -> Result<&PyAny, PyErr>
    where K: ToPyObject,

    Gets an item from the collection.

    This is equivalent to the Python expression self[key].

    -

    pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
    where +

    pub fn set_item<K, V>(&self, key: K, value: V) -> Result<(), PyErr>
    where K: ToPyObject, V: ToPyObject,

    Sets a collection item value.

    This is equivalent to the Python expression self[key] = value.

    -

    pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
    where +

    pub fn del_item<K>(&self, key: K) -> Result<(), PyErr>
    where K: ToPyObject,

    Deletes an item from the collection.

    This is equivalent to the Python expression del self[key].

    -

    pub fn iter(&self) -> Result<&PyIterator, PyErr>

    Takes an object and returns an iterator for it.

    +

    pub fn iter(&self) -> Result<&PyIterator, PyErr>

    Takes an object and returns an iterator for it.

    This is typically a new iterator but if the argument is an iterator, this returns itself.

    pub fn get_type(&self) -> &PyType

    Returns the Python type object for this object’s type.

    -

    pub fn get_type_ptr(&self) -> *mut PyTypeObject

    Returns the Python type pointer for this object.

    -

    pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where +

    pub fn get_type_ptr(&self) -> *mut PyTypeObject

    Returns the Python type pointer for this object.

    +

    pub fn downcast<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where T: PyTypeCheck<AsRefTarget = T>,

    Downcast this PyAny to a concrete Python type or pyclass.

    Note that you can often avoid downcasting yourself by just specifying the desired type in function or method signatures. @@ -446,7 +446,7 @@

    assert_eq!(class_ref.i, 1); Ok(()) })
    -

    pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where +

    pub fn downcast_exact<T>(&self) -> Result<&T, PyDowncastError<'_>>
    where T: PyTypeInfo<AsRefTarget = T>,

    Downcast this PyAny to a concrete Python type or pyclass (but not a subclass of it).

    It is almost always better to use [PyAny::downcast] because it accounts for Python subtyping. Use this method only when you do not want to allow subtypes.

    @@ -470,90 +470,90 @@
    assert!(any.downcast_exact::<PyBool>().is_ok()); });
    -

    pub unsafe fn downcast_unchecked<T>(&self) -> &T
    where +

    pub unsafe fn downcast_unchecked<T>(&self) -> &T
    where T: HasPyGilRef<AsRefTarget = T>,

    Converts this PyAny to a concrete Python type without checking validity.

    §Safety

    Callers must ensure that the type is valid or risk type confusion.

    -

    pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
    where +

    pub fn extract<'py, D>(&'py self) -> Result<D, PyErr>
    where D: FromPyObjectBound<'py, 'py>,

    Extracts some type from the Python object.

    This is a wrapper function around FromPyObject::extract().

    -

    pub fn get_refcnt(&self) -> isize

    Returns the reference count for the Python object.

    -

    pub fn repr(&self) -> Result<&PyString, PyErr>

    Computes the “repr” representation of self.

    +

    pub fn get_refcnt(&self) -> isize

    Returns the reference count for the Python object.

    +

    pub fn repr(&self) -> Result<&PyString, PyErr>

    Computes the “repr” representation of self.

    This is equivalent to the Python expression repr(self).

    -

    pub fn str(&self) -> Result<&PyString, PyErr>

    Computes the “str” representation of self.

    +

    pub fn str(&self) -> Result<&PyString, PyErr>

    Computes the “str” representation of self.

    This is equivalent to the Python expression str(self).

    -

    pub fn hash(&self) -> Result<isize, PyErr>

    Retrieves the hash code of self.

    +

    pub fn hash(&self) -> Result<isize, PyErr>

    Retrieves the hash code of self.

    This is equivalent to the Python expression hash(self).

    -

    pub fn len(&self) -> Result<usize, PyErr>

    Returns the length of the sequence or mapping.

    +

    pub fn len(&self) -> Result<usize, PyErr>

    Returns the length of the sequence or mapping.

    This is equivalent to the Python expression len(self).

    pub fn dir(&self) -> &PyList

    Returns the list of attributes of this object.

    This is equivalent to the Python expression dir(self).

    -

    pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

    Checks whether this object is an instance of type ty.

    +

    pub fn is_instance(&self, ty: &PyAny) -> Result<bool, PyErr>

    Checks whether this object is an instance of type ty.

    This is equivalent to the Python expression isinstance(self, ty).

    -

    pub fn is_exact_instance(&self, ty: &PyAny) -> bool

    Checks whether this object is an instance of exactly type ty (not a subclass).

    +

    pub fn is_exact_instance(&self, ty: &PyAny) -> bool

    Checks whether this object is an instance of exactly type ty (not a subclass).

    This is equivalent to the Python expression type(self) is ty.

    -

    pub fn is_instance_of<T>(&self) -> bool
    where +

    pub fn is_instance_of<T>(&self) -> bool
    where T: PyTypeInfo,

    Checks whether this object is an instance of type T.

    This is equivalent to the Python expression isinstance(self, T), if the type T is known at compile time.

    -

    pub fn is_exact_instance_of<T>(&self) -> bool
    where +

    pub fn is_exact_instance_of<T>(&self) -> bool
    where T: PyTypeInfo,

    Checks whether this object is an instance of exactly type T.

    This is equivalent to the Python expression type(self) is T, if the type T is known at compile time.

    -

    pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
    where +

    pub fn contains<V>(&self, value: V) -> Result<bool, PyErr>
    where V: ToPyObject,

    Determines if self contains value.

    This is equivalent to the Python expression value in self.

    pub fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.

    -

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    +

    pub fn as_ptr(&self) -> *mut PyObject

    Returns the raw FFI pointer represented by self.

    §Safety

    Callers are responsible for ensuring that the pointer does not outlive self.

    The reference is borrowed; callers should not decrease the reference count when they are finished with the pointer.

    -

    pub fn into_ptr(&self) -> *mut PyObject

    Returns an owned raw FFI pointer represented by self.

    +

    pub fn into_ptr(&self) -> *mut PyObject

    Returns an owned raw FFI pointer represented by self.

    §Safety

    The reference is owned; when finished the caller should either transfer ownership of the pointer or decrease the reference count (e.g. with pyo3::ffi::Py_DecRef).

    -

    pub fn py_super(&self) -> Result<&PySuper, PyErr>

    Return a proxy object that delegates method calls to a parent or sibling class of type.

    +

    pub fn py_super(&self) -> Result<&PySuper, PyErr>

    Return a proxy object that delegates method calls to a parent or sibling class of type.

    This is equivalent to the Python expression super()

    -

    Trait Implementations§

    source§

    impl AsPyPointer for PyUntypedArray

    source§

    fn as_ptr(&self) -> *mut PyObject

    Gets the underlying FFI pointer, returns a borrowed pointer.

    -
    source§

    impl AsRef<PyAny> for PyUntypedArray

    source§

    fn as_ref(&self) -> &PyAny

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Debug for PyUntypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PyUntypedArray

    §

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    source§

    impl Display for PyUntypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a PyUntypedArray> for &'a PyAny

    source§

    fn from(ob: &'a PyUntypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PyUntypedArray> for Py<PyUntypedArray>

    source§

    fn from(other: &PyUntypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl<'py> FromPyObject<'py> for &'py PyUntypedArray

    source§

    fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more
    source§

    impl IntoPy<Py<PyAny>> for PyUntypedArray

    source§

    fn into_py<'py>(self, py: Python<'py>) -> PyObject

    Performs the conversion.
    source§

    impl IntoPy<Py<PyUntypedArray>> for &PyUntypedArray

    source§

    fn into_py(self, py: Python<'_>) -> Py<PyUntypedArray>

    Performs the conversion.
    source§

    impl PyNativeType for PyUntypedArray

    §

    type AsRefSource = PyUntypedArray

    The form of this which is stored inside a Py<T> smart pointer.
    §

    fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

    Cast &self to a Borrowed smart pointer. Read more
    §

    fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.
    §

    unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

    Cast &PyAny to &Self without no type checking. Read more
    source§

    impl PyTypeInfo for PyUntypedArray

    source§

    const NAME: &'static str = "PyUntypedArray"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    source§

    fn is_type_of_bound(ob: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
    Returns the safe abstraction over the type object.
    §

    fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type.
    §

    fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type.
    source§

    impl ToPyObject for PyUntypedArray

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl DerefToPyAny for PyUntypedArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    source§

    impl AsPyPointer for PyUntypedArray

    source§

    fn as_ptr(&self) -> *mut PyObject

    Gets the underlying FFI pointer, returns a borrowed pointer.

    +
    source§

    impl AsRef<PyAny> for PyUntypedArray

    source§

    fn as_ref(&self) -> &PyAny

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Debug for PyUntypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for PyUntypedArray

    §

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    source§

    impl Display for PyUntypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a PyUntypedArray> for &'a PyAny

    source§

    fn from(ob: &'a PyUntypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PyUntypedArray> for Py<PyUntypedArray>

    source§

    fn from(other: &PyUntypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl<'py> FromPyObject<'py> for &'py PyUntypedArray

    source§

    fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>

    Extracts Self from the bound smart pointer obj. Read more
    §

    fn extract(ob: &'py PyAny) -> Result<Self, PyErr>

    Extracts Self from the source GIL Ref obj. Read more
    source§

    impl IntoPy<Py<PyAny>> for PyUntypedArray

    source§

    fn into_py<'py>(self, py: Python<'py>) -> PyObject

    Performs the conversion.
    source§

    impl IntoPy<Py<PyUntypedArray>> for &PyUntypedArray

    source§

    fn into_py(self, py: Python<'_>) -> Py<PyUntypedArray>

    Performs the conversion.
    source§

    impl PyNativeType for PyUntypedArray

    §

    type AsRefSource = PyUntypedArray

    The form of this which is stored inside a Py<T> smart pointer.
    §

    fn as_borrowed(&self) -> Borrowed<'_, '_, Self::AsRefSource>

    Cast &self to a Borrowed smart pointer. Read more
    §

    fn py(&self) -> Python<'_>

    Returns a GIL marker constrained to the lifetime of this type.
    §

    unsafe fn unchecked_downcast(obj: &PyAny) -> &Self

    Cast &PyAny to &Self without no type checking. Read more
    source§

    impl PyTypeInfo for PyUntypedArray

    source§

    const NAME: &'static str = "PyUntypedArray"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw<'py>(py: Python<'py>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    source§

    fn is_type_of_bound(ob: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    👎Deprecated since 0.21.0: PyTypeInfo::type_object will be replaced by PyTypeInfo::type_object_bound in a future PyO3 version
    Returns the safe abstraction over the type object.
    §

    fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_type_of will be replaced by PyTypeInfo::is_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    👎Deprecated since 0.21.0: PyTypeInfo::is_exact_type_of will be replaced by PyTypeInfo::is_exact_type_of_bound in a future PyO3 version
    Checks if object is an instance of this type.
    §

    fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of this type.
    source§

    impl ToPyObject for PyUntypedArray

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl DerefToPyAny for PyUntypedArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<'p, T> FromPyPointer<'p> for T
    where T: 'p + PyNativeType,

    §

    unsafe fn from_owned_ptr_or_opt( py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_opt( + ptr: *mut PyObject +) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_opt(py, ptr) or Bound::from_owned_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_opt( _py: Python<'p>, - ptr: *mut PyObject -) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_owned_ptr_or_panic( + ptr: *mut PyObject +) -> Option<&'p T>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_opt(py, ptr) or Bound::from_borrowed_ptr_or_opt(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_owned_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_owned_ptr(py, ptr) or Bound::from_owned_ptr(py, ptr) instead
    Convert from an arbitrary PyObject or panic. Read more
    §

    unsafe fn from_owned_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_panic( + ptr: *mut PyObject +) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_owned_ptr_or_err(py, ptr) or Bound::from_owned_ptr_or_err(py, ptr) instead
    Convert from an arbitrary PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_panic( py: Python<'p>, - ptr: *mut PyObject -) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_err( + ptr: *mut PyObject +) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr(py: Python<'p>, ptr: *mut PyObject) -> &'p Self

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr(py, ptr) or Bound::from_borrowed_ptr(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    unsafe fn from_borrowed_ptr_or_err( py: Python<'p>, - ptr: *mut PyObject -) -> Result<&'p Self, PyErr>

    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    impl<T> HasPyGilRef for T
    where - T: PyNativeType,

    §

    type AsRefTarget = T

    Utility type to make Py::as_ref work.
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + ptr: *mut PyObject +) -> Result<&'p Self, PyErr>
    👎Deprecated since 0.21.0: use Py::from_borrowed_ptr_or_err(py, ptr) or Bound::from_borrowed_ptr_or_err(py, ptr) instead
    Convert from an arbitrary borrowed PyObject. Read more
    §

    impl<T> HasPyGilRef for T
    where + T: PyNativeType,

    §

    type AsRefTarget = T

    Utility type to make Py::as_ref work.
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    §

    impl<'v, T> PyTryFrom<'v> for T
    where - T: PyTypeInfo<AsRefTarget = T> + PyNativeType,

    §

    fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
    Cast from a concrete Python object type to PyObject.
    §

    fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
    Cast from a concrete Python object type to PyObject. With exact type check.
    §

    unsafe fn try_from_unchecked<V>(value: V) -> &'v T
    where - V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
    Cast a PyAny to a specific type of PyObject. The caller must + T: PyTypeInfo<AsRefTarget = T> + PyNativeType,
    §

    fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast::<T>() instead of T::try_from(value)
    Cast from a concrete Python object type to PyObject.
    §

    fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError<'v>>
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_exact::<T>() instead of T::try_from_exact(value)
    Cast from a concrete Python object type to PyObject. With exact type check.
    §

    unsafe fn try_from_unchecked<V>(value: V) -> &'v T
    where + V: Into<&'v PyAny>,

    👎Deprecated since 0.21.0: use value.downcast_unchecked::<T>() instead of T::try_from_unchecked(value)
    Cast a PyAny to a specific type of PyObject. The caller must have already verified the reference is for this type. Read more
    §

    impl<T> PyTypeCheck for T
    where - T: PyTypeInfo,

    §

    const NAME: &'static str = <T as PyTypeInfo>::NAME

    Name of self. This is used in error messages, for example.
    §

    fn type_check(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of Self, which may include a subtype. Read more
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file + T: PyTypeInfo,
    §

    const NAME: &'static str = <T as PyTypeInfo>::NAME

    Name of self. This is used in error messages, for example.
    §

    fn type_check(object: &Bound<'_, PyAny>) -> bool

    Checks if object is an instance of Self, which may include a subtype. Read more
    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where + SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/numpy/struct.TypeMustMatch.html b/numpy/struct.TypeMustMatch.html index b48988ca5..eedb42ed7 100644 --- a/numpy/struct.TypeMustMatch.html +++ b/numpy/struct.TypeMustMatch.html @@ -1,16 +1,16 @@ -TypeMustMatch in numpy - Rust +TypeMustMatch in numpy - Rust

    Struct numpy::TypeMustMatch

    source ·
    pub struct TypeMustMatch;
    Expand description

    Marker type to indicate that the element type received via PyArrayLike must match the specified type exactly.

    -

    Trait Implementations§

    source§

    impl Debug for TypeMustMatch

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    source§

    impl Debug for TypeMustMatch

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    +From<T> for U chooses to do.

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    §

    impl<SS, SP> SupersetOf<SS> for SP
    where - SS: SubsetOf<SP>,

    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its -superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file + SS: SubsetOf<SP>,
    §

    fn to_subset(&self) -> Option<SS>

    The inverse inclusion map: attempts to construct self from the equivalent element of its +superset. Read more
    §

    fn is_in_subset(&self) -> bool

    Checks if self is actually part of its subset T (and can be converted to it).
    §

    fn to_subset_unchecked(&self) -> SS

    Use with care! Same as self.to_subset but without any property checks. Always succeeds.
    §

    fn from_subset(element: &SS) -> SP

    The inclusion map: converts self to the equivalent element of its superset.
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/numpy/trait.Element.html b/numpy/trait.Element.html index 3f201a965..242a72394 100644 --- a/numpy/trait.Element.html +++ b/numpy/trait.Element.html @@ -1,6 +1,6 @@ -Element in numpy - Rust -

    Trait numpy::Element

    source ·
    pub unsafe trait Element: Clone + Send {
    -    const IS_COPY: bool;
    +Element in numpy - Rust
    +    

    Trait numpy::Element

    source ·
    pub unsafe trait Element: Clone + Send {
    +    const IS_COPY: bool;
     
         // Required method
         fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>;
    @@ -14,9 +14,9 @@
     which implies that their widths change depending on the platform’s data model.
     For example, numpy.int_ matches C’s long which is 32 bits wide on Windows (using the LLP64 data model)
     but 64 bits wide on Linux (using the LP64 data model).

    -

    In contrast, Rust’s isize and usize types are defined to have the same width as a pointer +

    In contrast, Rust’s isize and usize types are defined to have the same width as a pointer and are therefore always 64 bits wide on 64-bit platforms. If you want to match NumPy’s behaviour, -consider using the c_long and c_ulong type aliases.

    +consider using the c_long and c_ulong type aliases.

    §Safety

    A type T that implements this trait should be safe when managed by a NumPy array, thus implementing this trait is marked unsafe. Data types that don’t @@ -33,13 +33,13 @@

    Py<PyAny> can be stored in a type safe manner.

    You can however create Array<Py<T>, D> and turn that into a NumPy array safely and efficiently using from_owned_object_array.

    -

    Required Associated Constants§

    source

    const IS_COPY: bool

    Flag that indicates whether this type is trivially copyable.

    +

    Required Associated Constants§

    source

    const IS_COPY: bool

    Flag that indicates whether this type is trivially copyable.

    It should be set to true for all trivially copyable types (like scalar types and record/array types only containing trivially copyable fields and elements).

    This flag should always be set to false for object types or record types that contain object-type fields.

    Required Methods§

    source

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.

    Provided Methods§

    source

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.

    Returns the associated type descriptor (“dtype”) for the given element type.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Element for bool

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for isize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for usize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for bf16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for PyObject

    source§

    const IS_COPY: bool = false

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Implementors§

    source§

    impl Element for Complex32

    Complex type with f32 components which maps to numpy.csingle (numpy.complex64).

    -
    source§

    const IS_COPY: bool = true

    source§

    impl Element for Complex64

    Complex type with f64 components which maps to numpy.cdouble (numpy.complex128).

    -
    source§

    const IS_COPY: bool = true

    source§

    impl<U: Unit> Element for Datetime<U>

    source§

    const IS_COPY: bool = true

    source§

    impl<U: Unit> Element for Timedelta<U>

    source§

    const IS_COPY: bool = true

    source§

    impl<const N: usize> Element for PyFixedString<N>

    source§

    const IS_COPY: bool = true

    source§

    impl<const N: usize> Element for PyFixedUnicode<N>

    source§

    const IS_COPY: bool = true

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Element for bool

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for i64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for isize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for u64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for usize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for bf16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for f16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    impl Element for PyObject

    source§

    const IS_COPY: bool = false

    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Implementors§

    source§

    impl Element for Complex32

    Complex type with f32 components which maps to numpy.csingle (numpy.complex64).

    +
    source§

    const IS_COPY: bool = true

    source§

    impl Element for Complex64

    Complex type with f64 components which maps to numpy.cdouble (numpy.complex128).

    +
    source§

    const IS_COPY: bool = true

    source§

    impl<U: Unit> Element for Datetime<U>

    source§

    const IS_COPY: bool = true

    source§

    impl<U: Unit> Element for Timedelta<U>

    source§

    const IS_COPY: bool = true

    source§

    impl<const N: usize> Element for PyFixedString<N>

    source§

    const IS_COPY: bool = true

    source§

    impl<const N: usize> Element for PyFixedUnicode<N>

    source§

    const IS_COPY: bool = true

    \ No newline at end of file diff --git a/numpy/trait.PyArrayDescrMethods.html b/numpy/trait.PyArrayDescrMethods.html index 96f177672..b19ba086e 100644 --- a/numpy/trait.PyArrayDescrMethods.html +++ b/numpy/trait.PyArrayDescrMethods.html @@ -1,81 +1,81 @@ -PyArrayDescrMethods in numpy - Rust +PyArrayDescrMethods in numpy - Rust
    pub trait PyArrayDescrMethods<'py>: Sealed {
     
    Show 21 methods // Required methods - fn as_dtype_ptr(&self) -> *mut PyArray_Descr; - fn into_dtype_ptr(self) -> *mut PyArray_Descr; - fn is_equiv_to(&self, other: &Self) -> bool; + fn as_dtype_ptr(&self) -> *mut PyArray_Descr; + fn into_dtype_ptr(self) -> *mut PyArray_Descr; + fn is_equiv_to(&self, other: &Self) -> bool; fn typeobj(&self) -> Bound<'py, PyType>; fn base(&self) -> Bound<'py, PyArrayDescr>; - fn shape(&self) -> Vec<usize>; - fn names(&self) -> Option<Vec<String>>; + fn shape(&self) -> Vec<usize>; + fn names(&self) -> Option<Vec<String>>; fn get_field( &self, - name: &str - ) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>; + name: &str + ) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>; // Provided methods - fn num(&self) -> c_int { ... } - fn itemsize(&self) -> usize { ... } - fn alignment(&self) -> usize { ... } - fn byteorder(&self) -> u8 { ... } - fn char(&self) -> u8 { ... } - fn kind(&self) -> u8 { ... } - fn flags(&self) -> c_char { ... } - fn ndim(&self) -> usize { ... } - fn has_object(&self) -> bool { ... } - fn is_aligned_struct(&self) -> bool { ... } - fn has_subarray(&self) -> bool { ... } - fn has_fields(&self) -> bool { ... } - fn is_native_byteorder(&self) -> Option<bool> { ... } + fn num(&self) -> c_int { ... } + fn itemsize(&self) -> usize { ... } + fn alignment(&self) -> usize { ... } + fn byteorder(&self) -> u8 { ... } + fn char(&self) -> u8 { ... } + fn kind(&self) -> u8 { ... } + fn flags(&self) -> c_char { ... } + fn ndim(&self) -> usize { ... } + fn has_object(&self) -> bool { ... } + fn is_aligned_struct(&self) -> bool { ... } + fn has_subarray(&self) -> bool { ... } + fn has_fields(&self) -> bool { ... } + fn is_native_byteorder(&self) -> Option<bool> { ... }
    }
    Expand description

    Implementation of functionality for PyArrayDescr.

    -

    Required Methods§

    source

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    -
    source

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    +

    Required Methods§

    source

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr.

    +
    source

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    Returns self as *mut PyArray_Descr while increasing the reference count.

    Useful in cases where the descriptor is stolen by the API.

    -
    source

    fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    +
    source

    fn is_equiv_to(&self, other: &Self) -> bool

    Returns true if two type descriptors are equivalent.

    source

    fn typeobj(&self) -> Bound<'py, PyType>

    Returns the array scalar corresponding to this type descriptor.

    Equivalent to numpy.dtype.type.

    source

    fn base(&self) -> Bound<'py, PyArrayDescr>

    Returns the type descriptor for the base element of subarrays, regardless of their dimension or shape.

    If the dtype is not a subarray, returns self.

    Equivalent to numpy.dtype.base.

    -
    source

    fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    +
    source

    fn shape(&self) -> Vec<usize>

    Returns the shape of the sub-array.

    If the dtype is not a sub-array, an empty vector is returned.

    Equivalent to numpy.dtype.shape.

    -
    source

    fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    +
    source

    fn names(&self) -> Option<Vec<String>>

    Returns an ordered list of field names, or None if there are no fields.

    The names are ordered according to increasing byte offset.

    Equivalent to numpy.dtype.names.

    -
    source

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Returns the type descriptor and offset of the field with the given name.

    +
    source

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Returns the type descriptor and offset of the field with the given name.

    This method will return an error if this type descriptor is not structured, or if it does not contain a field with a given name.

    The list of all names can be found via PyArrayDescr::names.

    Equivalent to retrieving a single item from numpy.dtype.fields.

    -

    Provided Methods§

    source

    fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in +

    Provided Methods§

    source

    fn num(&self) -> c_int

    Returns a unique number for each of the 21 different built-in enumerated types.

    These are roughly ordered from least-to-most precision.

    Equivalent to numpy.dtype.num.

    -
    source

    fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    +
    source

    fn itemsize(&self) -> usize

    Returns the element size of this type descriptor.

    Equivalent to [numpy.dtype.itemsize][dtype-itemsize].

    -
    source

    fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    +
    source

    fn alignment(&self) -> usize

    Returns the required alignment (bytes) of this type descriptor according to the compiler.

    Equivalent to numpy.dtype.alignment.

    -
    source

    fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    +
    source

    fn byteorder(&self) -> u8

    Returns an ASCII character indicating the byte-order of this type descriptor object.

    All built-in data-type objects have byteorder either = or |.

    Equivalent to numpy.dtype.byteorder.

    -
    source

    fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    +
    source

    fn char(&self) -> u8

    Returns a unique ASCII character for each of the 21 different built-in types.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.char.

    -
    source

    fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    +
    source

    fn kind(&self) -> u8

    Returns an ASCII character (one of biufcmMOSUV) identifying the general kind of data.

    Note that structured data types are categorized as V (void).

    Equivalent to numpy.dtype.kind.

    -
    source

    fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    +
    source

    fn flags(&self) -> c_char

    Returns bit-flags describing how this type descriptor is to be interpreted.

    Equivalent to numpy.dtype.flags.

    -
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    +
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions if this type descriptor represents a sub-array, and zero otherwise.

    Equivalent to numpy.dtype.ndim.

    -
    source

    fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    +
    source

    fn has_object(&self) -> bool

    Returns true if the type descriptor contains any reference-counted objects in any fields or sub-dtypes.

    Equivalent to numpy.dtype.hasobject.

    -
    source

    fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    +
    source

    fn is_aligned_struct(&self) -> bool

    Returns true if the type descriptor is a struct which maintains field alignment.

    This flag is sticky, so when combining multiple structs together, it is preserved and produces new dtypes which are also aligned.

    Equivalent to numpy.dtype.isalignedstruct.

    -
    source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    -
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    -
    source

    fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'py> PyArrayDescrMethods<'py> for Bound<'py, PyArrayDescr>

    source§

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    source§

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    source§

    fn is_equiv_to(&self, other: &Self) -> bool

    source§

    fn typeobj(&self) -> Bound<'py, PyType>

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn names(&self) -> Option<Vec<String>>

    source§

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Implementors§

    \ No newline at end of file +
    source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    +
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    +
    source

    fn is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    +

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'py> PyArrayDescrMethods<'py> for Bound<'py, PyArrayDescr>

    source§

    fn as_dtype_ptr(&self) -> *mut PyArray_Descr

    source§

    fn into_dtype_ptr(self) -> *mut PyArray_Descr

    source§

    fn is_equiv_to(&self, other: &Self) -> bool

    source§

    fn typeobj(&self) -> Bound<'py, PyType>

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn names(&self) -> Option<Vec<String>>

    source§

    fn get_field(&self, name: &str) -> PyResult<(Bound<'py, PyArrayDescr>, usize)>

    Implementors§

    \ No newline at end of file diff --git a/numpy/trait.PyUntypedArrayMethods.html b/numpy/trait.PyUntypedArrayMethods.html index 40139e1ef..0b9269e3d 100644 --- a/numpy/trait.PyUntypedArrayMethods.html +++ b/numpy/trait.PyUntypedArrayMethods.html @@ -1,20 +1,20 @@ -PyUntypedArrayMethods in numpy - Rust +PyUntypedArrayMethods in numpy - Rust
    pub trait PyUntypedArrayMethods<'py>: Sealed {
         // Required methods
    -    fn as_array_ptr(&self) -> *mut PyArrayObject;
    +    fn as_array_ptr(&self) -> *mut PyArrayObject;
         fn dtype(&self) -> Bound<'py, PyArrayDescr>;
     
         // Provided methods
    -    fn is_contiguous(&self) -> bool { ... }
    -    fn is_fortran_contiguous(&self) -> bool { ... }
    -    fn is_c_contiguous(&self) -> bool { ... }
    -    fn ndim(&self) -> usize { ... }
    -    fn strides(&self) -> &[isize] { ... }
    -    fn shape(&self) -> &[usize] { ... }
    -    fn len(&self) -> usize { ... }
    -    fn is_empty(&self) -> bool { ... }
    +    fn is_contiguous(&self) -> bool { ... }
    +    fn is_fortran_contiguous(&self) -> bool { ... }
    +    fn is_c_contiguous(&self) -> bool { ... }
    +    fn ndim(&self) -> usize { ... }
    +    fn strides(&self) -> &[isize] { ... }
    +    fn shape(&self) -> &[usize] { ... }
    +    fn len(&self) -> usize { ... }
    +    fn is_empty(&self) -> bool { ... }
     }
    Expand description

    Implementation of functionality for PyUntypedArray.

    -

    Required Methods§

    source

    fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    +

    Required Methods§

    source

    fn as_array_ptr(&self) -> *mut PyArrayObject

    Returns a raw pointer to the underlying PyArrayObject.

    source

    fn dtype(&self) -> Bound<'py, PyArrayDescr>

    Returns the dtype of the array.

    See also ndarray.dtype and PyArray_DTYPE.

    §Example
    @@ -27,7 +27,7 @@
    §Example
    assert!(array.dtype().is_equiv_to(&dtype_bound::<i32>(py))); });
    -

    Provided Methods§

    source

    fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, +

    Provided Methods§

    source

    fn is_contiguous(&self) -> bool

    Returns true if the internal data of the array is contiguous, indepedently of whether C-style/row-major or Fortran-style/column-major.

    §Example
    use numpy::{PyArray1, PyUntypedArrayMethods};
    @@ -44,9 +44,9 @@ 
    §Example
    .unwrap(); assert!(!view.is_contiguous()); });
    -
    source

    fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    -
    source

    fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    -
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    +
    source

    fn is_fortran_contiguous(&self) -> bool

    Returns true if the internal data of the array is Fortran-style/column-major contiguous.

    +
    source

    fn is_c_contiguous(&self) -> bool

    Returns true if the internal data of the array is C-style/row-major contiguous.

    +
    source

    fn ndim(&self) -> usize

    Returns the number of dimensions of the array.

    See also ndarray.ndim and PyArray_NDIM.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -57,7 +57,7 @@ 
    §Example
    assert_eq!(arr.ndim(), 3); });
    -
    source

    fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    +
    source

    fn strides(&self) -> &[isize]

    Returns a slice indicating how many bytes to advance when iterating along each axis.

    See also ndarray.strides and PyArray_STRIDES.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -68,7 +68,7 @@ 
    §Example
    assert_eq!(arr.strides(), &[240, 48, 8]); });
    -
    source

    fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    +
    source

    fn shape(&self) -> &[usize]

    Returns a slice which contains dimmensions of the array.

    See also [ndarray.shape][ndaray-shape] and PyArray_DIMS.

    §Example
    use numpy::{PyArray3, PyUntypedArrayMethods};
    @@ -79,6 +79,6 @@ 
    §Example
    assert_eq!(arr.shape(), &[4, 5, 6]); });
    -
    source

    fn len(&self) -> usize

    Calculates the total number of elements in the array.

    -
    source

    fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    -

    Implementations on Foreign Types§

    source§

    impl<'py> PyUntypedArrayMethods<'py> for Bound<'py, PyUntypedArray>

    source§

    impl<'py, T, D> PyUntypedArrayMethods<'py> for Bound<'py, PyArray<T, D>>

    Implementors§

    \ No newline at end of file +
    source

    fn len(&self) -> usize

    Calculates the total number of elements in the array.

    +
    source

    fn is_empty(&self) -> bool

    Returns true if the there are no elements in the array.

    +

    Implementations on Foreign Types§

    source§

    impl<'py> PyUntypedArrayMethods<'py> for Bound<'py, PyUntypedArray>

    source§

    impl<'py, T, D> PyUntypedArrayMethods<'py> for Bound<'py, PyArray<T, D>>

    Implementors§

    \ No newline at end of file diff --git a/numpy/type.Complex32.html b/numpy/type.Complex32.html index 9e846260d..2e79535ad 100644 --- a/numpy/type.Complex32.html +++ b/numpy/type.Complex32.html @@ -1,8 +1,8 @@ -Complex32 in numpy - Rust -

    Type Alias numpy::Complex32

    source ·
    pub type Complex32 = Complex<f32>;

    Aliased Type§

    struct Complex32 {
    -    pub re: f32,
    -    pub im: f32,
    -}

    Fields§

    §re: f32

    Real portion of the complex number

    -
    §im: f32

    Imaginary portion of the complex number

    +Complex32 in numpy - Rust +

    Type Alias numpy::Complex32

    source ·
    pub type Complex32 = Complex<f32>;

    Aliased Type§

    struct Complex32 {
    +    pub re: f32,
    +    pub im: f32,
    +}

    Fields§

    §re: f32

    Real portion of the complex number

    +
    §im: f32

    Imaginary portion of the complex number

    Trait Implementations§

    source§

    impl Element for Complex32

    Complex type with f32 components which maps to numpy.csingle (numpy.complex64).

    -
    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    \ No newline at end of file +
    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    \ No newline at end of file diff --git a/numpy/type.Complex64.html b/numpy/type.Complex64.html index 5bda4bb70..b0a80187f 100644 --- a/numpy/type.Complex64.html +++ b/numpy/type.Complex64.html @@ -1,8 +1,8 @@ -Complex64 in numpy - Rust -

    Type Alias numpy::Complex64

    source ·
    pub type Complex64 = Complex<f64>;

    Aliased Type§

    struct Complex64 {
    -    pub re: f64,
    -    pub im: f64,
    -}

    Fields§

    §re: f64

    Real portion of the complex number

    -
    §im: f64

    Imaginary portion of the complex number

    +Complex64 in numpy - Rust +

    Type Alias numpy::Complex64

    source ·
    pub type Complex64 = Complex<f64>;

    Aliased Type§

    struct Complex64 {
    +    pub re: f64,
    +    pub im: f64,
    +}

    Fields§

    §re: f64

    Real portion of the complex number

    +
    §im: f64

    Imaginary portion of the complex number

    Trait Implementations§

    source§

    impl Element for Complex64

    Complex type with f64 components which maps to numpy.cdouble (numpy.complex128).

    -
    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    \ No newline at end of file +
    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn get_dtype<'py>(py: Python<'py>) -> &'py PyArrayDescr

    👎Deprecated since 0.21.0: This will be replaced by get_dtype_bound in the future.
    Returns the associated type descriptor (“dtype”) for the given element type.
    \ No newline at end of file diff --git a/numpy/type.Ix1.html b/numpy/type.Ix1.html index bd151d38a..6c3692f11 100644 --- a/numpy/type.Ix1.html +++ b/numpy/type.Ix1.html @@ -1,3 +1,3 @@ -Ix1 in numpy - Rust -

    Type Alias numpy::Ix1

    source ·
    pub type Ix1 = Dim<[usize; 1]>;
    Expand description

    one-dimensional

    +Ix1 in numpy - Rust +

    Type Alias numpy::Ix1

    source ·
    pub type Ix1 = Dim<[usize; 1]>;
    Expand description

    one-dimensional

    Aliased Type§

    struct Ix1 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.Ix2.html b/numpy/type.Ix2.html index afd0873a1..0a575ebe8 100644 --- a/numpy/type.Ix2.html +++ b/numpy/type.Ix2.html @@ -1,3 +1,3 @@ -Ix2 in numpy - Rust -

    Type Alias numpy::Ix2

    source ·
    pub type Ix2 = Dim<[usize; 2]>;
    Expand description

    two-dimensional

    +Ix2 in numpy - Rust +

    Type Alias numpy::Ix2

    source ·
    pub type Ix2 = Dim<[usize; 2]>;
    Expand description

    two-dimensional

    Aliased Type§

    struct Ix2 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.Ix3.html b/numpy/type.Ix3.html index 513752111..19e90febd 100644 --- a/numpy/type.Ix3.html +++ b/numpy/type.Ix3.html @@ -1,3 +1,3 @@ -Ix3 in numpy - Rust -

    Type Alias numpy::Ix3

    source ·
    pub type Ix3 = Dim<[usize; 3]>;
    Expand description

    three-dimensional

    +Ix3 in numpy - Rust +

    Type Alias numpy::Ix3

    source ·
    pub type Ix3 = Dim<[usize; 3]>;
    Expand description

    three-dimensional

    Aliased Type§

    struct Ix3 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.Ix4.html b/numpy/type.Ix4.html index 5ccf6141e..c4cac8643 100644 --- a/numpy/type.Ix4.html +++ b/numpy/type.Ix4.html @@ -1,3 +1,3 @@ -Ix4 in numpy - Rust -

    Type Alias numpy::Ix4

    source ·
    pub type Ix4 = Dim<[usize; 4]>;
    Expand description

    four-dimensional

    +Ix4 in numpy - Rust +

    Type Alias numpy::Ix4

    source ·
    pub type Ix4 = Dim<[usize; 4]>;
    Expand description

    four-dimensional

    Aliased Type§

    struct Ix4 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.Ix5.html b/numpy/type.Ix5.html index e394a7c62..f18f3fc88 100644 --- a/numpy/type.Ix5.html +++ b/numpy/type.Ix5.html @@ -1,3 +1,3 @@ -Ix5 in numpy - Rust -

    Type Alias numpy::Ix5

    source ·
    pub type Ix5 = Dim<[usize; 5]>;
    Expand description

    five-dimensional

    +Ix5 in numpy - Rust +

    Type Alias numpy::Ix5

    source ·
    pub type Ix5 = Dim<[usize; 5]>;
    Expand description

    five-dimensional

    Aliased Type§

    struct Ix5 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.Ix6.html b/numpy/type.Ix6.html index 1260ef120..5209df608 100644 --- a/numpy/type.Ix6.html +++ b/numpy/type.Ix6.html @@ -1,3 +1,3 @@ -Ix6 in numpy - Rust -

    Type Alias numpy::Ix6

    source ·
    pub type Ix6 = Dim<[usize; 6]>;
    Expand description

    six-dimensional

    +Ix6 in numpy - Rust +

    Type Alias numpy::Ix6

    source ·
    pub type Ix6 = Dim<[usize; 6]>;
    Expand description

    six-dimensional

    Aliased Type§

    struct Ix6 { /* private fields */ }
    \ No newline at end of file diff --git a/numpy/type.IxDyn.html b/numpy/type.IxDyn.html index 6203117a7..0b9524d4f 100644 --- a/numpy/type.IxDyn.html +++ b/numpy/type.IxDyn.html @@ -1,4 +1,4 @@ -IxDyn in numpy - Rust +IxDyn in numpy - Rust

    Type Alias numpy::IxDyn

    source ·
    pub type IxDyn = Dim<IxDynImpl>;
    Expand description

    dynamic-dimensional

    You can use the IxDyn function to create a dimension for an array with dynamic number of dimensions. (Vec<usize> and &[usize] also implement diff --git a/numpy/type.PyArrayLike0.html b/numpy/type.PyArrayLike0.html index e0c4205d9..733ffc521 100644 --- a/numpy/type.PyArrayLike0.html +++ b/numpy/type.PyArrayLike0.html @@ -1,3 +1,3 @@ -PyArrayLike0 in numpy - Rust

    +PyArrayLike0 in numpy - Rust

    Type Alias numpy::PyArrayLike0

    source ·
    pub type PyArrayLike0<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix0, C>;
    Expand description

    Receiver for zero-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike0<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike1.html b/numpy/type.PyArrayLike1.html index 6603347d5..605d73c55 100644 --- a/numpy/type.PyArrayLike1.html +++ b/numpy/type.PyArrayLike1.html @@ -1,3 +1,3 @@ -PyArrayLike1 in numpy - Rust +PyArrayLike1 in numpy - Rust

    Type Alias numpy::PyArrayLike1

    source ·
    pub type PyArrayLike1<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix1, C>;
    Expand description

    Receiver for one-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike1<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike2.html b/numpy/type.PyArrayLike2.html index 36f94b2da..98c2c7f3f 100644 --- a/numpy/type.PyArrayLike2.html +++ b/numpy/type.PyArrayLike2.html @@ -1,3 +1,3 @@ -PyArrayLike2 in numpy - Rust +PyArrayLike2 in numpy - Rust

    Type Alias numpy::PyArrayLike2

    source ·
    pub type PyArrayLike2<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix2, C>;
    Expand description

    Receiver for two-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike2<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike3.html b/numpy/type.PyArrayLike3.html index 5ad26a9b7..8c47fa5d9 100644 --- a/numpy/type.PyArrayLike3.html +++ b/numpy/type.PyArrayLike3.html @@ -1,3 +1,3 @@ -PyArrayLike3 in numpy - Rust +PyArrayLike3 in numpy - Rust

    Type Alias numpy::PyArrayLike3

    source ·
    pub type PyArrayLike3<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix3, C>;
    Expand description

    Receiver for three-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike3<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike4.html b/numpy/type.PyArrayLike4.html index ae5cadcc1..f124783cb 100644 --- a/numpy/type.PyArrayLike4.html +++ b/numpy/type.PyArrayLike4.html @@ -1,3 +1,3 @@ -PyArrayLike4 in numpy - Rust +PyArrayLike4 in numpy - Rust

    Type Alias numpy::PyArrayLike4

    source ·
    pub type PyArrayLike4<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix4, C>;
    Expand description

    Receiver for four-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike4<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike5.html b/numpy/type.PyArrayLike5.html index d38c7304a..74c5f47ef 100644 --- a/numpy/type.PyArrayLike5.html +++ b/numpy/type.PyArrayLike5.html @@ -1,3 +1,3 @@ -PyArrayLike5 in numpy - Rust +PyArrayLike5 in numpy - Rust

    Type Alias numpy::PyArrayLike5

    source ·
    pub type PyArrayLike5<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix5, C>;
    Expand description

    Receiver for five-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike5<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLike6.html b/numpy/type.PyArrayLike6.html index a5206c532..7323afd9f 100644 --- a/numpy/type.PyArrayLike6.html +++ b/numpy/type.PyArrayLike6.html @@ -1,3 +1,3 @@ -PyArrayLike6 in numpy - Rust +PyArrayLike6 in numpy - Rust

    Type Alias numpy::PyArrayLike6

    source ·
    pub type PyArrayLike6<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, Ix6, C>;
    Expand description

    Receiver for six-dimensional arrays or array-like types.

    Aliased Type§

    struct PyArrayLike6<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/numpy/type.PyArrayLikeDyn.html b/numpy/type.PyArrayLikeDyn.html index daae26f9d..77c3c213e 100644 --- a/numpy/type.PyArrayLikeDyn.html +++ b/numpy/type.PyArrayLikeDyn.html @@ -1,3 +1,3 @@ -PyArrayLikeDyn in numpy - Rust +PyArrayLikeDyn in numpy - Rust

    Type Alias numpy::PyArrayLikeDyn

    source ·
    pub type PyArrayLikeDyn<'py, T, C = TypeMustMatch> = PyArrayLike<'py, T, IxDyn, C>;
    Expand description

    Receiver for arrays or array-like types whose dimensionality is determined at runtime.

    Aliased Type§

    struct PyArrayLikeDyn<'py, T, C = TypeMustMatch>(/* private fields */);
    \ No newline at end of file diff --git a/search-index.js b/search-index.js index 38c74a9a6..a39f350e4 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = new Map(JSON.parse('[\ -["numpy",{"doc":"This crate provides Rust interfaces for NumPy C APIs, …","t":"FPGIIKFTEHIHIHIHIHIHIHIFPEEEEEEEEEEEEFKEFIIIIIIIIEFFEEEEEEEEEEEEEEEEEEFKEEFNNNNCQMNMNNNNNMNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNNNHHHMNHHQHQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNMNNNNMNNNNNNOOHHNNNNNNNNNNMNNNNNNNNMNNNNNNNNNNNNNNNNNNEMNENNNNCNNNNNNNCQQEOOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNFIKIIIIIIIKNNMNMNNMNMNNNNNNMNNNNNMNMNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNHMNNNNNNNNNNNNNNNNNNMNMNMNNNNNNNNNNMNMNNNNNNMNMNNNNNNNNNNNNFIIIIIIIIFIIIIIIIINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNRRKRRKKKNMNMTFFTKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCCCCPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGJFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPNNNNNNNNNPPPPPPPPNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFIIFIIFFFFFFFIIIFFFIIIFFFFIIIIIIIIIIIIIIIIIFIIIIPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNOOOOOOOOPPPPPPPGGPPPPPPPGPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPTPPPPPPPPTGPPPPGPPGGPPPGPPPPPPGGGPPPPPPPPPPPPPPPPPPPOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOIIFFIFIIIIFIIIIIIIIIIIIIIIIIIFIFIIIIIIIIIIINOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOJFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEEKEKENNNMMMNNNNNNMNNNMNNNNNNNNNMNNNNNNNNNNNNMNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNM","n":["AllowTypeChange","AlreadyBorrowed","BorrowError","Complex32","Complex64","Element","FromVecError","IS_COPY","IntoPyArray","Ix1","Ix1","Ix2","Ix2","Ix3","Ix3","Ix4","Ix4","Ix5","Ix5","Ix6","Ix6","IxDyn","IxDyn","NotContiguousError","NotWriteable","NpyIndex","PY_ARRAY_API","PY_UFUNC_API","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDescr","PyArrayDescrMethods","PyArrayDyn","PyArrayLike","PyArrayLike0","PyArrayLike1","PyArrayLike2","PyArrayLike3","PyArrayLike4","PyArrayLike5","PyArrayLike6","PyArrayLikeDyn","PyArrayMethods","PyFixedString","PyFixedUnicode","PyReadonlyArray","PyReadonlyArray0","PyReadonlyArray1","PyReadonlyArray2","PyReadonlyArray3","PyReadonlyArray4","PyReadonlyArray5","PyReadonlyArray6","PyReadonlyArrayDyn","PyReadwriteArray","PyReadwriteArray0","PyReadwriteArray1","PyReadwriteArray2","PyReadwriteArray3","PyReadwriteArray4","PyReadwriteArray5","PyReadwriteArray6","PyReadwriteArrayDyn","PyUntypedArray","PyUntypedArrayMethods","ToNpyDims","ToPyArray","TypeMustMatch","alignment","arguments","arguments","arguments","array","array","as_array_ptr","as_array_ptr","as_dtype_ptr","as_dtype_ptr","as_ptr","as_ptr","as_ref","as_ref","base","base","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","byteorder","char","clone","clone","clone_into","clone_into","cmp","cmp","convert","datetime","deref","deref","deref","dot","dot_bound","dtype","dtype","dtype","dtype_bound","einsum","einsum","einsum_bound","einsum_bound","eq","eq","extract_bound","extract_bound","extract_bound","flags","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_borrowed_ptr_or_opt","from_borrowed_ptr_or_opt","from_owned_ptr_or_opt","from_owned_ptr_or_opt","from_py_object_bound","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","get_array_module","get_dtype","get_dtype","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_field","get_field","has_fields","has_object","has_subarray","hash","hash","im","im","inner","inner_bound","into","into","into","into","into","into","into","into","into","into","into_dtype_ptr","into_dtype_ptr","into_py","into_py","into_py","is_aligned_struct","is_c_contiguous","is_contiguous","is_empty","is_equiv_to","is_equiv_to","is_fortran_contiguous","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_native_byteorder","is_type_of","is_type_of_bound","itemsize","kind","len","nalgebra","names","names","ndarray","ndim","ndim","new","new_bound","npyffi","num","object","object_bound","of","of_bound","partial_cmp","partial_cmp","prelude","pyarray","pyarray_bound","pyo3","re","re","shape","shape","shape","strides","to_object","to_object","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_exact","try_from_exact","try_from_unchecked","try_from_unchecked","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_check","type_check","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_object_raw","type_object_raw","typeobj","typeobj","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDyn","PyArrayMethods","arange","arange_bound","as_array","as_array","as_array_mut","as_array_mut","as_ptr","as_raw_array","as_raw_array","as_raw_array_mut","as_raw_array_mut","as_ref","as_slice","as_slice","as_slice_mut","as_slice_mut","as_untyped","as_untyped","borrow","borrow_from_array","borrow_from_array_bound","borrow_mut","cast","cast","copy_to","copy_to","data","data","deref","dims","dims","extract_bound","fmt","fmt","from","from_array","from_array_bound","from_borrowed_ptr","from_borrowed_ptr_or_opt","from_iter","from_iter_bound","from_owned_array","from_owned_array_bound","from_owned_object_array","from_owned_object_array_bound","from_owned_ptr","from_owned_ptr_or_opt","from_slice","from_slice_bound","from_subset","from_vec","from_vec2","from_vec2_bound","from_vec3","from_vec3_bound","from_vec_bound","get","get","get_array_module","get_mut","get_mut","get_owned","get_owned","into","into_py","into_py","is_in_subset","is_type_of_bound","item","item","new","new_bound","readonly","readonly","readwrite","readwrite","reshape","reshape","reshape_with_order","reshape_with_order","resize","resize","to_dyn","to_dyn","to_object","to_owned","to_owned_array","to_owned_array","to_string","to_subset","to_subset_unchecked","to_vec","to_vec","try_as_matrix","try_as_matrix","try_as_matrix_mut","try_as_matrix_mut","try_from","try_from","try_from_exact","try_from_unchecked","try_into","try_readonly","try_readonly","try_readwrite","try_readwrite","type_check","type_id","type_object_raw","uget","uget","uget_mut","uget_mut","uget_raw","uget_raw","zeros","zeros_bound","PyReadonlyArray","PyReadonlyArray0","PyReadonlyArray1","PyReadonlyArray2","PyReadonlyArray3","PyReadonlyArray4","PyReadonlyArray5","PyReadonlyArray6","PyReadonlyArrayDyn","PyReadwriteArray","PyReadwriteArray0","PyReadwriteArray1","PyReadwriteArray2","PyReadwriteArray3","PyReadwriteArray4","PyReadwriteArray5","PyReadwriteArray6","PyReadwriteArrayDyn","as_array","as_array_mut","as_matrix","as_matrix","as_matrix_mut","as_matrix_mut","as_slice","as_slice_mut","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deref","deref","drop","drop","extract_bound","extract_bound","fmt","fmt","from","from","from_py_object_bound","from_py_object_bound","from_subset","from_subset","get","get_mut","into","into","is_in_subset","is_in_subset","resize","to_owned","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_as_matrix","try_as_matrix_mut","try_from","try_from","try_into","try_into","type_id","type_id","Dim","Dim","IntoPyArray","Item","Item","NpyIndex","ToNpyDims","ToPyArray","into_pyarray","into_pyarray_bound","to_pyarray","to_pyarray_bound","ABBREV","Datetime","Timedelta","UNIT","Unit","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","eq","eq","fmt","fmt","from","from","from","from","from_subset","from_subset","get_dtype_bound","get_dtype_bound","hash","hash","into","into","is_in_subset","is_in_subset","partial_cmp","partial_cmp","to_owned","to_owned","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_into","try_into","type_id","type_id","units","Attoseconds","Days","Femtoseconds","Hours","Microseconds","Milliseconds","Minutes","Months","Nanoseconds","Picoseconds","Seconds","Weeks","Years","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","array","flags","objects","types","ufunc","NPY_NUMUSERTYPES","NpyIter_AdvancedNew","NpyIter_Copy","NpyIter_CreateCompatibleStrides","NpyIter_Deallocate","NpyIter_DebugPrint","NpyIter_EnableExternalLoop","NpyIter_GetAxisStrideArray","NpyIter_GetBufferSize","NpyIter_GetDataPtrArray","NpyIter_GetDescrArray","NpyIter_GetGetMultiIndex","NpyIter_GetIndexPtr","NpyIter_GetInitialDataPtrArray","NpyIter_GetInnerFixedStrideArray","NpyIter_GetInnerLoopSizePtr","NpyIter_GetInnerStrideArray","NpyIter_GetIterIndex","NpyIter_GetIterIndexRange","NpyIter_GetIterNext","NpyIter_GetIterSize","NpyIter_GetIterView","NpyIter_GetNDim","NpyIter_GetNOp","NpyIter_GetOperandArray","NpyIter_GetReadFlags","NpyIter_GetShape","NpyIter_GetWriteFlags","NpyIter_GotoIndex","NpyIter_GotoIterIndex","NpyIter_GotoMultiIndex","NpyIter_HasDelayedBufAlloc","NpyIter_HasExternalLoop","NpyIter_HasIndex","NpyIter_HasMultiIndex","NpyIter_IsBuffered","NpyIter_IsFirstVisit","NpyIter_IsGrowInner","NpyIter_IterationNeedsAPI","NpyIter_MultiNew","NpyIter_New","NpyIter_RemoveAxis","NpyIter_RemoveMultiIndex","NpyIter_RequiresBuffering","NpyIter_Reset","NpyIter_ResetBasePointers","NpyIter_ResetToIterIndexRange","NpyTypes","PY_ARRAY_API","PyArrayAPI","PyArrayDescr_Type","PyArrayFlags_Type","PyArrayIter_Type","PyArrayMultiIter_Type","PyArray_All","PyArray_Any","PyArray_Arange","PyArray_ArangeObj","PyArray_ArgMax","PyArray_ArgMin","PyArray_ArgPartition","PyArray_ArgSort","PyArray_As1D","PyArray_As2D","PyArray_AsCArray","PyArray_AxisConverter","PyArray_BoolConverter","PyArray_Broadcast","PyArray_BroadcastToShape","PyArray_BufferConverter","PyArray_ByteorderConverter","PyArray_Byteswap","PyArray_CanCastArrayTo","PyArray_CanCastSafely","PyArray_CanCastScalar","PyArray_CanCastTo","PyArray_CanCastTypeTo","PyArray_CanCoerceScalar","PyArray_CastAnyTo","PyArray_CastScalarDirect","PyArray_CastScalarToCtype","PyArray_CastTo","PyArray_CastToType","PyArray_CastingConverter","PyArray_Check","PyArray_CheckAnyScalarExact","PyArray_CheckAxis","PyArray_CheckExact","PyArray_CheckFromAny","PyArray_CheckStrides","PyArray_Choose","PyArray_Clip","PyArray_ClipmodeConverter","PyArray_CompareLists","PyArray_CompareString","PyArray_CompareUCS4","PyArray_Compress","PyArray_Concatenate","PyArray_Conjugate","PyArray_ConvertClipmodeSequence","PyArray_ConvertToCommonType","PyArray_Converter","PyArray_CopyAndTranspose","PyArray_CopyAnyInto","PyArray_CopyInto","PyArray_CopyObject","PyArray_Correlate","PyArray_Correlate2","PyArray_CountNonzero","PyArray_CreateSortedStridePerm","PyArray_CumProd","PyArray_CumSum","PyArray_DatetimeStructToDatetime","PyArray_DatetimeToDatetimeStruct","PyArray_DebugPrint","PyArray_DescrAlignConverter","PyArray_DescrAlignConverter2","PyArray_DescrConverter","PyArray_DescrConverter2","PyArray_DescrFromObject","PyArray_DescrFromScalar","PyArray_DescrFromType","PyArray_DescrFromTypeObject","PyArray_DescrNew","PyArray_DescrNewByteorder","PyArray_DescrNewFromType","PyArray_Diagonal","PyArray_Dump","PyArray_Dumps","PyArray_EinsteinSum","PyArray_ElementFromName","PyArray_ElementStrides","PyArray_Empty","PyArray_EnsureAnyArray","PyArray_EnsureArray","PyArray_EquivTypenums","PyArray_EquivTypes","PyArray_FailUnlessWriteable","PyArray_FieldNames","PyArray_FillObjectArray","PyArray_FillWithScalar","PyArray_Flatten","PyArray_Free","PyArray_FromAny","PyArray_FromArray","PyArray_FromArrayAttr","PyArray_FromBuffer","PyArray_FromDims","PyArray_FromDimsAndDataAndDescr","PyArray_FromFile","PyArray_FromInterface","PyArray_FromIter","PyArray_FromScalar","PyArray_FromString","PyArray_FromStructInterface","PyArray_GetArrayParamsFromObject","PyArray_GetCastFunc","PyArray_GetEndianness","PyArray_GetField","PyArray_GetNDArrayCFeatureVersion","PyArray_GetNDArrayCVersion","PyArray_GetNumericOps","PyArray_GetPriority","PyArray_GetPtr","PyArray_INCREF","PyArray_InitArrFuncs","PyArray_InnerProduct","PyArray_IntTupleFromIntp","PyArray_IntpConverter","PyArray_IntpFromSequence","PyArray_Item_INCREF","PyArray_Item_XDECREF","PyArray_IterAllButAxis","PyArray_IterNew","PyArray_LexSort","PyArray_MapIterArray","PyArray_MapIterArrayCopyIfOverlap","PyArray_MapIterNext","PyArray_MapIterSwapAxes","PyArray_MatrixProduct","PyArray_MatrixProduct2","PyArray_Max","PyArray_Mean","PyArray_Min","PyArray_MinScalarType","PyArray_MoveInto","PyArray_MultiplyIntList","PyArray_MultiplyList","PyArray_NeighborhoodIterNew","PyArray_New","PyArray_NewCopy","PyArray_NewFlagsObject","PyArray_NewFromDescr","PyArray_NewLikeArray","PyArray_Newshape","PyArray_Nonzero","PyArray_ObjectType","PyArray_One","PyArray_OrderConverter","PyArray_OutputConverter","PyArray_OverflowMultiplyList","PyArray_Partition","PyArray_Prod","PyArray_PromoteTypes","PyArray_Ptp","PyArray_PutMask","PyArray_PutTo","PyArray_PyIntAsInt","PyArray_PyIntAsIntp","PyArray_Ravel","PyArray_RegisterCanCast","PyArray_RegisterCastFunc","PyArray_RegisterDataType","PyArray_RemoveAxesInPlace","PyArray_RemoveSmallest","PyArray_Repeat","PyArray_Reshape","PyArray_Resize","PyArray_ResolveWritebackIfCopy","PyArray_ResultType","PyArray_Return","PyArray_Round","PyArray_Scalar","PyArray_ScalarAsCtype","PyArray_ScalarFromObject","PyArray_ScalarKind","PyArray_SearchSorted","PyArray_SearchsideConverter","PyArray_SelectkindConverter","PyArray_SetBaseObject","PyArray_SetDatetimeParseFunction","PyArray_SetField","PyArray_SetNumericOps","PyArray_SetStringFunction","PyArray_SetUpdateIfCopyBase","PyArray_SetWritebackIfCopyBase","PyArray_Size","PyArray_Sort","PyArray_SortkindConverter","PyArray_Squeeze","PyArray_Std","PyArray_Sum","PyArray_SwapAxes","PyArray_TakeFrom","PyArray_TimedeltaStructToTimedelta","PyArray_TimedeltaToTimedeltaStruct","PyArray_ToFile","PyArray_ToList","PyArray_ToString","PyArray_Trace","PyArray_Transpose","PyArray_Type","PyArray_TypeObjectFromType","PyArray_TypestrConvert","PyArray_UpdateFlags","PyArray_ValidType","PyArray_View","PyArray_Where","PyArray_XDECREF","PyArray_Zero","PyArray_Zeros","PyBigArray_Type","PyBoolArrType_Type","PyByteArrType_Type","PyCDoubleArrType_Type","PyCFloatArrType_Type","PyCLongDoubleArrType_Type","PyCharacterArrType_Type","PyComplexFloatingArrType_Type","PyDataMem_FREE","PyDataMem_NEW","PyDataMem_NEW_ZEROED","PyDataMem_RENEW","PyDataMem_SetEventHook","PyDoubleArrType_Type","PyFlexibleArrType_Type","PyFloatArrType_Type","PyFloatingArrType_Type","PyGenericArrType_Type","PyInexactArrType_Type","PyIntArrType_Type","PyIntegerArrType_Type","PyLongArrType_Type","PyLongDoubleArrType_Type","PyLongLongArrType_Type","PyNumberArrType_Type","PyObjectArrType_Type","PyShortArrType_Type","PySignedIntegerArrType_Type","PyStringArrType_Type","PyUByteArrType_Type","PyUIntArrType_Type","PyULongArrType_Type","PyULongLongArrType_Type","PyUShortArrType_Type","PyUnicodeArrType_Type","PyUnsignedIntegerArrType_Type","PyVoidArrType_Type","_PyArrayScalar_BoolValues","_PyArray_GetSigintBuf","_PyArray_SigintHandler","borrow","borrow","borrow_mut","borrow_mut","from","from","from_subset","from_subset","get_type_object","into","into","is_in_subset","is_in_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_into","try_into","type_id","type_id","NPY_ALIGNED_STRUCT","NPY_ARRAY_ALIGNED","NPY_ARRAY_BEHAVED","NPY_ARRAY_BEHAVED_NS","NPY_ARRAY_CARRAY","NPY_ARRAY_CARRAY_RO","NPY_ARRAY_C_CONTIGUOUS","NPY_ARRAY_DEFAULT","NPY_ARRAY_ELEMENTSTRIDES","NPY_ARRAY_ENSUREARRAY","NPY_ARRAY_ENSURECOPY","NPY_ARRAY_FARRAY","NPY_ARRAY_FARRAY_RO","NPY_ARRAY_FORCECAST","NPY_ARRAY_F_CONTIGUOUS","NPY_ARRAY_INOUT_ARRAY","NPY_ARRAY_INOUT_ARRAY2","NPY_ARRAY_INOUT_FARRAY","NPY_ARRAY_INOUT_FARRAY2","NPY_ARRAY_IN_ARRAY","NPY_ARRAY_IN_FARRAY","NPY_ARRAY_NOTSWAPPED","NPY_ARRAY_OUT_ARRAY","NPY_ARRAY_OUT_FARRAY","NPY_ARRAY_OWNDATA","NPY_ARRAY_UPDATEIFCOPY","NPY_ARRAY_UPDATE_ALL","NPY_ARRAY_WRITEABLE","NPY_ARRAY_WRITEBACKIFCOPY","NPY_FROM_FIELDS","NPY_ITEM_HASOBJECT","NPY_ITEM_IS_POINTER","NPY_ITEM_REFCOUNT","NPY_ITER_ALIGNED","NPY_ITER_ALLOCATE","NPY_ITER_ARRAYMASK","NPY_ITER_BUFFERED","NPY_ITER_COMMON_DTYPE","NPY_ITER_CONTIG","NPY_ITER_COPY","NPY_ITER_COPY_IF_OVERLAP","NPY_ITER_C_INDEX","NPY_ITER_DELAY_BUFALLOC","NPY_ITER_DONT_NEGATE_STRIDES","NPY_ITER_EXTERNAL_LOOP","NPY_ITER_F_INDEX","NPY_ITER_GLOBAL_FLAGS","NPY_ITER_GROWINNER","NPY_ITER_MULTI_INDEX","NPY_ITER_NBO","NPY_ITER_NO_BROADCAST","NPY_ITER_NO_SUBTYPE","NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE","NPY_ITER_PER_OP_FLAGS","NPY_ITER_RANGED","NPY_ITER_READONLY","NPY_ITER_READWRITE","NPY_ITER_REDUCE_OK","NPY_ITER_REFS_OK","NPY_ITER_UPDATEIFCOPY","NPY_ITER_VIRTUAL","NPY_ITER_WRITEMASKED","NPY_ITER_WRITEONLY","NPY_ITER_ZEROSIZE_OK","NPY_LIST_PICKLE","NPY_NEEDS_INIT","NPY_NEEDS_PYAPI","NPY_OBJECT_DTYPE_FLAGS","NPY_USE_GETITEM","NPY_USE_SETITEM","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","NpyAuxData","NpyAuxData_CloneFunc","NpyAuxData_FreeFunc","NpyIter","NpyIter_GetMultiIndexFunc","NpyIter_IterNextFunc","PyArrayFlagsObject","PyArrayInterface","PyArrayIterObject","PyArrayMapIterObject","PyArrayMultiIterObject","PyArrayNeighborhoodIterObject","PyArrayObject","PyArray_ArgFunc","PyArray_ArgPartitionFunc","PyArray_ArgSortFunc","PyArray_ArrFuncs","PyArray_ArrayDescr","PyArray_Chunk","PyArray_CompareFunc","PyArray_CopySwapFunc","PyArray_CopySwapNFunc","PyArray_DatetimeDTypeMetaData","PyArray_DatetimeMetaData","PyArray_Descr","PyArray_Dims","PyArray_DotFunc","PyArray_FastClipFunc","PyArray_FastPutmaskFunc","PyArray_FastTakeFunc","PyArray_FillFunc","PyArray_FillWithScalarFunc","PyArray_FromStrFunc","PyArray_GetItemFunc","PyArray_NonzeroFunc","PyArray_PartitionFunc","PyArray_ScalarKindFunc","PyArray_ScanFunc","PyArray_SetItemFunc","PyArray_SortFunc","PyArray_VectorUnaryFunc","PyDataMem_EventHookFunc","PyUFuncGenericFunction","PyUFuncObject","PyUFunc_LegacyInnerLoopSelectionFunc","PyUFunc_MaskedInnerLoopSelectionFunc","PyUFunc_MaskedStridedInnerLoopFunc","PyUFunc_TypeResolutionFunc","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","_internal_iter","ait","alignment","ao","ao","argmax","argmin","argsort","arr","array","backstrides","backstrides","base","base","base","base","base","baseoffset","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bounds","bounds","byteorder","c_metadata","cancastscalarkindto","cancastto","cast","castdict","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","compare","consec","constant","contiguous","contiguous","coordinates","coordinates","copyswap","copyswapn","core_dim_ixs","core_enabled","core_num_dim_ix","core_num_dims","core_offsets","core_signature","data","data","data","dataptr","dataptr","dataptr","descr","descr","dimensions","dimensions","dimensions","dimensions","dims_m1","dims_m1","doc","dotfunc","elsize","extra_op","extra_op_dtype","extra_op_flags","extra_op_iter","extra_op_next","extra_op_ptrs","f","factors","factors","fancy_dims","fancy_strides","fastclip","fastputmask","fasttake","fields","fill","fillwithscalar","flags","flags","flags","flags","flags","fmt","free","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","fromstr","functions","getitem","hash","identity","index","index","index","index","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","itemsize","iter_count","iter_flags","iteraxes","iters","kind","legacy_inner_loop_selector","len","len","limits","limits","limits_sizes","limits_sizes","masked_inner_loop_selector","meta","metadata","mode","name","names","nargs","nd","nd","nd","nd","nd","nd_fancy","nd_m1","nd_m1","needs_api","nin","nonzero","nout","npy_iter_get_dataptr_t","ntypes","num","numiter","numiter","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","obj","op_flags","outer","outer_next","outer_ptrs","outer_strides","ptr","ptr","ptr","reserved","reserved1","reserved2","scalarkind","scanfunc","setitem","shape","shape","size","size","size","size","sort","strides","strides","strides","strides","subarray","subspace","subspace_iter","subspace_next","subspace_ptrs","subspace_strides","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","translate","translate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","two","type_","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_num","type_resolver","typekind","typeobj","types","unused","userloops","weakreflist","NPY_ANYORDER","NPY_BIG","NPY_BOOL","NPY_BOOLLTR","NPY_BOOL_SCALAR","NPY_BYTE","NPY_BYTELTR","NPY_BYTEORDER_CHAR","NPY_CASTING","NPY_CDOUBLE","NPY_CDOUBLELTR","NPY_CFLOAT","NPY_CFLOATLTR","NPY_CHAR","NPY_CHARLTR","NPY_CLIP","NPY_CLIPMODE","NPY_CLONGDOUBLE","NPY_CLONGDOUBLELTR","NPY_COMPLEXLTR","NPY_COMPLEX_SCALAR","NPY_CORDER","NPY_DATETIME","NPY_DATETIMELTR","NPY_DATETIMEUNIT","NPY_DOUBLE","NPY_DOUBLELTR","NPY_EQUIV_CASTING","NPY_FLOAT","NPY_FLOATINGLTR","NPY_FLOATLTR","NPY_FLOAT_SCALAR","NPY_FORTRANORDER","NPY_FR_D","NPY_FR_GENERIC","NPY_FR_M","NPY_FR_W","NPY_FR_Y","NPY_FR_as","NPY_FR_fs","NPY_FR_h","NPY_FR_m","NPY_FR_ms","NPY_FR_ns","NPY_FR_ps","NPY_FR_s","NPY_FR_us","NPY_GENBOOLLTR","NPY_HALF","NPY_HALFLTR","NPY_HEAPSORT","NPY_IGNORE","NPY_INT","NPY_INTLTR","NPY_INTNEG_SCALAR","NPY_INTPLTR","NPY_INTPOS_SCALAR","NPY_INTROSELECT","NPY_KEEPORDER","NPY_LITTLE","NPY_LONG","NPY_LONGDOUBLE","NPY_LONGDOUBLELTR","NPY_LONGLONG","NPY_LONGLONGLTR","NPY_LONGLTR","NPY_MERGESORT","NPY_NATBYTE","NPY_NATIVE","NPY_NOSCALAR","NPY_NOTYPE","NPY_NO_CASTING","NPY_NTYPES","NPY_OBJECT","NPY_OBJECTLTR","NPY_OBJECT_SCALAR","NPY_OPPBYTE","NPY_ORDER","NPY_QUICKSORT","NPY_RAISE","NPY_SAFE_CASTING","NPY_SAME_KIND_CASTING","NPY_SCALARKIND","NPY_SEARCHLEFT","NPY_SEARCHRIGHT","NPY_SEARCHSIDE","NPY_SELECTKIND","NPY_SHORT","NPY_SHORTLTR","NPY_SIGNEDLTR","NPY_SORTKIND","NPY_STRING","NPY_STRINGLTR","NPY_STRINGLTR2","NPY_SWAP","NPY_TIMEDELTA","NPY_TIMEDELTALTR","NPY_TYPECHAR","NPY_TYPEKINDCHAR","NPY_TYPES","NPY_UBYTE","NPY_UBYTELTR","NPY_UINT","NPY_UINTLTR","NPY_UINTPLTR","NPY_ULONG","NPY_ULONGLONG","NPY_ULONGLONGLTR","NPY_ULONGLTR","NPY_UNICODE","NPY_UNICODELTR","NPY_UNSAFE_CASTING","NPY_UNSIGNEDLTR","NPY_USERDEF","NPY_USHORT","NPY_USHORTLTR","NPY_VOID","NPY_VOIDLTR","NPY_WRAP","as_","as_","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","day","day","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hour","imag","imag","imag","imag","imag","imag","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","min","month","npy_bool","npy_byte","npy_cdouble","npy_cfloat","npy_char","npy_clongdouble","npy_complex128","npy_complex256","npy_complex64","npy_datetime","npy_datetimestruct","npy_double","npy_float","npy_float128","npy_float16","npy_float32","npy_float64","npy_half","npy_hash_t","npy_int","npy_int16","npy_int32","npy_int64","npy_int8","npy_intp","npy_long","npy_longdouble","npy_longlong","npy_short","npy_stride_sort_item","npy_timedelta","npy_timedeltastruct","npy_ubyte","npy_ucs4","npy_uint","npy_uint16","npy_uint32","npy_uint64","npy_uint8","npy_uintp","npy_ulong","npy_ulonglong","npy_ushort","partial_cmp","perm","ps","ps","real","real","real","real","real","real","sec","sec","stride","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","us","us","year","PY_UFUNC_API","PyUFuncAPI","PyUFunc_DD_D","PyUFunc_D_D","PyUFunc_DefaultTypeResolver","PyUFunc_FF_F","PyUFunc_FF_F_As_DD_D","PyUFunc_F_F","PyUFunc_F_F_As_D_D","PyUFunc_FromFuncAndData","PyUFunc_FromFuncAndDataAndSignature","PyUFunc_FromFuncAndDataAndSignatureAndIdentity","PyUFunc_GG_G","PyUFunc_G_G","PyUFunc_GenericFunction","PyUFunc_GetPyValues","PyUFunc_OO_O","PyUFunc_OO_O_method","PyUFunc_O_O","PyUFunc_O_O_method","PyUFunc_On_Om","PyUFunc_RegisterLoopForDescr","PyUFunc_RegisterLoopForType","PyUFunc_ReplaceLoopBySignature","PyUFunc_SetUsesArraysAsData","PyUFunc_ValidateCasting","PyUFunc_checkfperr","PyUFunc_clearfperr","PyUFunc_d_d","PyUFunc_dd_d","PyUFunc_e_e","PyUFunc_e_e_As_d_d","PyUFunc_e_e_As_f_f","PyUFunc_ee_e","PyUFunc_ee_e_As_dd_d","PyUFunc_ee_e_As_ff_f","PyUFunc_f_f","PyUFunc_f_f_As_d_d","PyUFunc_ff_f","PyUFunc_ff_f_As_dd_d","PyUFunc_g_g","PyUFunc_getfperr","PyUFunc_gg_g","PyUFunc_handlefperr","borrow","borrow_mut","from","from_subset","into","is_in_subset","to_subset","to_subset_unchecked","try_from","try_into","type_id","IntoPyArray","PyArray0Methods","PyArrayDescrMethods","PyArrayMethods","PyUntypedArrayMethods","ToPyArray","alignment","alignment","alignment","as_array_ptr","as_dtype_ptr","base","byteorder","byteorder","byteorder","char","char","char","dtype","flags","flags","flags","get_field","has_fields","has_fields","has_fields","has_object","has_object","has_object","has_subarray","has_subarray","has_subarray","into_dtype_ptr","is_aligned_struct","is_aligned_struct","is_aligned_struct","is_c_contiguous","is_c_contiguous","is_c_contiguous","is_contiguous","is_contiguous","is_contiguous","is_empty","is_empty","is_empty","is_equiv_to","is_fortran_contiguous","is_fortran_contiguous","is_fortran_contiguous","is_native_byteorder","is_native_byteorder","is_native_byteorder","itemsize","itemsize","itemsize","kind","kind","kind","len","len","len","names","ndim","ndim","ndim","ndim","ndim","ndim","num","num","num","shape","shape","shape","shape","strides","strides","strides","typeobj"],"q":[[0,"numpy"],[341,"numpy::array"],[469,"numpy::borrow"],[535,"numpy::convert"],[547,"numpy::datetime"],[595,"numpy::datetime::units"],[855,"numpy::npyffi"],[860,"numpy::npyffi::array"],[1184,"numpy::npyffi::flags"],[1254,"numpy::npyffi::objects"],[1786,"numpy::npyffi::types"],[2267,"numpy::npyffi::ufunc"],[2322,"numpy::prelude"],[2401,"ndarray::dimension::dim"],[2402,"ndarray::dimension::dynindeximpl"],[2403,"pyo3::marker"],[2404,"pyo3::instance"],[2405,"pyo3_ffi::object"],[2406,"pyo3::types::any"],[2407,"pyo3::instance"],[2408,"ndarray::dimension::dimension_trait"],[2409,"pyo3::err"],[2410,"pyo3::instance"],[2411,"core::fmt"],[2412,"core::fmt"],[2413,"core::fmt"],[2414,"pyo3_ffi::unicodeobject"],[2415,"pyo3::err"],[2416,"pyo3::instance"],[2417,"alloc::vec"],[2418,"pyo3::conversion"],[2419,"core::marker"],[2420,"std::os::raw"],[2421,"core::any"],[2422,"pyo3_ffi::cpython::object"],[2423,"pyo3::types::typeobject"],[2424,"num_traits::cast"],[2425,"ndarray"],[2426,"ndarray"],[2427,"core::iter::traits::collect"],[2428,"ndarray"],[2429,"ndarray::aliases"],[2430,"core::marker"],[2431,"nalgebra::base::matrix_view"],[2432,"nalgebra::base::scalar"],[2433,"nalgebra::base::dimension"],[2434,"nalgebra::base::matrix_view"],[2435,"nalgebra::base::alias_view"],[2436,"core::cmp"],[2437,"std::os::raw"]],"d":["Marker type to indicate that the element type received via …","The given array is already borrowed","Inidcates why borrowing an array failed.","","","Represents that a type can be an element of PyArray.","Represents that given Vec cannot be treated as an array.","Flag that indicates whether this type is trivially …","","Create a one-dimensional index","one-dimensional","Create a two-dimensional index","two-dimensional","Create a three-dimensional index","three-dimensional","Create a four-dimensional index","four-dimensional","Create a five-dimensional index","five-dimensional","Create a six-dimensional index","six-dimensional","Create a dynamic-dimensional index","dynamic-dimensional","Represents that the given array is not contiguous.","The given array is not writeable","","","","","","","","","","","","","Binding of numpy.dtype.","Implementation of functionality for PyArrayDescr.","","Receiver for arrays or array-like types.","Receiver for zero-dimensional arrays or array-like types.","Receiver for one-dimensional arrays or array-like types.","Receiver for two-dimensional arrays or array-like types.","Receiver for three-dimensional arrays or array-like types.","Receiver for four-dimensional arrays or array-like types.","Receiver for five-dimensional arrays or array-like types.","Receiver for six-dimensional arrays or array-like types.","Receiver for arrays or array-like types whose …","","A newtype wrapper around [u8; N] to handle byte scalars …","A newtype wrapper around [PyUCS4; N] to handle str_ scalars…","","","","","","","","","","","","","","","","","","","A safe, untyped wrapper for NumPy’s ndarray class.","Implementation of functionality for PyUntypedArray.","","","Marker type to indicate that the element type received via …","Returns the required alignment (bytes) of this type …","","","","Safe interface for NumPy’s N-dimensional arrays","Create an Array with one, two or three dimensions.","Returns a raw pointer to the underlying PyArrayObject.","Returns a raw pointer to the underlying PyArrayObject.","Returns self as *mut PyArray_Descr.","Returns self as *mut PyArray_Descr.","Gets the underlying FFI pointer, returns a borrowed …","Gets the underlying FFI pointer, returns a borrowed …","","","Returns the type descriptor for the base element of …","Returns the type descriptor for the base element of …","Types to safely create references into NumPy arrays","","","","","","","","","","","","","","","","","","","","","Returns an ASCII character indicating the byte-order of …","Returns a unique ASCII character for each of the 21 …","","","","","","","Defines conversion traits between Rust types and NumPy …","Support datetimes and timedeltas","","","","Deprecated form of dot_bound","Return the dot product of two arrays.","Returns the type descriptor (“dtype”) for a registered …","Returns the dtype of the array.","Returns the dtype of the array.","Returns the type descriptor (“dtype”) for a registered …","Deprecated form of einsum_bound","Deprecated form of einsum_bound!","Return the Einstein summation convention of given tensors.","Return the Einstein summation convention of given tensors.","","","","","","Returns bit-flags describing how this type descriptor is …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Returns the associated type descriptor (“dtype”) for …","Returns the associated type descriptor (“dtype”) for …","Returns the associated type descriptor (“dtype”) for …","","","","","Returns the type descriptor and offset of the field with …","Returns the type descriptor and offset of the field with …","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor contains any …","Returns true if the type descriptor is a sub-array.","","","Imaginary portion of the complex number","Imaginary portion of the complex number","Deprecated form of inner_bound","Return the inner product of two arrays.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns self as *mut PyArray_Descr while increasing the …","Returns self as *mut PyArray_Descr while increasing the …","","","","Returns true if the type descriptor is a struct which …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the there are no elements in the array.","Returns true if two type descriptors are equivalent.","Returns true if two type descriptors are equivalent.","Returns true if the internal data of the array is …","","","","","","","","","","","Returns true if type descriptor byteorder is native, or …","","","Returns the element size of this type descriptor.","Returns an ASCII character (one of biufcmMOSUV) …","Calculates the total number of elements in the array.","","Returns an ordered list of field names, or None if there …","Returns an ordered list of field names, or None if there …","","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions of the array.","Creates a new type descriptor (“dtype”) object from an …","Creates a new type descriptor (“dtype”) object from an …","Low-Level bindings for NumPy C API.","Returns a unique number for each of the 21 different …","Shortcut for creating a type descriptor of object type.","Shortcut for creating a type descriptor of object type.","Returns the type descriptor for a registered type.","Returns the type descriptor for a registered type.","","","A prelude","Deprecated form of pyarray_bound","Create a PyArray with one, two or three dimensions.","","Real portion of the complex number","Real portion of the complex number","Returns the shape of the sub-array.","Returns the shape of the sub-array.","Returns a slice which contains dimmensions of the array.","Returns a slice indicating how many bytes to advance when …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the array scalar corresponding to this type …","Returns the array scalar corresponding to this type …","A safe, statically-typed wrapper for NumPy’s ndarray …","Zero-dimensional array.","Implementation of functionality for PyArray0<T>.","One-dimensional array.","Two-dimensional array.","Three-dimensional array.","Four-dimensional array.","Five-dimensional array.","Six-dimensional array.","Dynamic-dimensional array.","Implementation of functionality for PyArray<T, D>.","Deprecated form of PyArray<T, Ix1>::arange_bound","Return evenly spaced values within a given interval.","Returns an ArrayView of the internal array.","Returns an ArrayView of the internal array.","Returns an ArrayViewMut of the internal array.","Returns an ArrayViewMut of the internal array.","","Returns the internal array as RawArrayView enabling …","Returns the internal array as RawArrayView enabling …","Returns the internal array as RawArrayViewMut enabling …","Returns the internal array as RawArrayViewMut enabling …","","Returns an immutable view of the internal data as a slice.","Returns an immutable view of the internal data as a slice.","Returns a mutable view of the internal data as a slice.","Returns a mutable view of the internal data as a slice.","Access an untyped representation of this array.","Access an untyped representation of this array.","","Deprecated form of PyArray<T, D>::borrow_from_array_bound","Creates a NumPy array backed by array and ties its …","","Cast the PyArray<T> to PyArray<U>, by allocating a new …","Cast the PyArray<T> to PyArray<U>, by allocating a new …","Copies self into other, performing a data type conversion …","Copies self into other, performing a data type conversion …","Returns a pointer to the first element of the array.","Returns a pointer to the first element of the array.","","Same as shape, but returns D instead of &[usize].","Same as shape, but returns D instead of &[usize].","","","","Returns the argument unchanged.","Deprecated form of PyArray<T, D>::from_array_bound","Construct a NumPy array from a ndarray::ArrayBase.","Constructs a reference to a PyArray from a raw point to a …","","Deprecated form of PyArray<T, Ix1>::from_iter_bound","Construct a one-dimensional array from an Iterator.","Deprecated form of PyArray<T, D>::from_owned_array_bound","Constructs a NumPy from an ndarray::Array","Deprecated form of …","Construct a NumPy array containing objects stored in a …","Constructs a reference to a PyArray from a raw pointer to …","","Deprecated form of PyArray<T, Ix1>::from_slice_bound","Construct a one-dimensional array from a slice.","","Deprecated form of PyArray<T, Ix1>::from_vec_bound","Deprecated form of PyArray<T, Ix2>::from_vec2_bound","Construct a two-dimension array from a Vec<Vec<T>>.","Deprecated form of PyArray<T, Ix3>::from_vec3_bound","Construct a three-dimensional array from a Vec<Vec<Vec<T>>>…","Construct a one-dimensional array from a Vec<T>.","Get a reference of the specified element if the given …","Get a reference of the specified element if the given …","Returns a handle to NumPy’s multiarray module.","Same as get, but returns Option<&mut T>.","Same as get, but returns Option<&mut T>.","Get a copy of the specified element in the array.","Get a copy of the specified element in the array.","Calls U::from(self).","","","","","Get the single element of a zero-dimensional array.","Get the single element of a zero-dimensional array.","Deprecated form of PyArray<T, D>::new_bound","Creates a new uninitialized NumPy array.","Get an immutable borrow of the NumPy array","Get an immutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Special case of reshape_with_order which keeps the memory …","Special case of reshape_with_order which keeps the memory …","Construct a new array which has same values as self, but …","Construct a new array which has same values as self, but …","Extends or truncates the dimensions of an array.","Extends or truncates the dimensions of an array.","Turn an array with fixed dimensionality into one with …","Turn an array with fixed dimensionality into one with …","","Turn &PyArray<T,D> into Py<PyArray<T,D>>, i.e. a pointer …","Get a copy of the array as an ndarray::Array.","Get a copy of the array as an ndarray::Array.","","","","Returns a copy of the internal data of the array as a Vec.","Returns a copy of the internal data of the array as a Vec.","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixViewMut …","Try to convert this array into a nalgebra::MatrixViewMut …","","","","","","Get an immutable borrow of the NumPy array","Get an immutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","","","","Get an immutable reference of the specified element, …","Get an immutable reference of the specified element, …","Same as uget, but returns &mut T.","Same as uget, but returns &mut T.","Same as uget, but returns *mut T.","Same as uget, but returns *mut T.","Deprecated form of PyArray<T, D>::zeros_bound","Construct a new NumPy array filled with zeros.","Read-only borrow of an array.","Read-only borrow of a zero-dimensional array.","Read-only borrow of a one-dimensional array.","Read-only borrow of a two-dimensional array.","Read-only borrow of a three-dimensional array.","Read-only borrow of a four-dimensional array.","Read-only borrow of a five-dimensional array.","Read-only borrow of a six-dimensional array.","Read-only borrow of an array whose dimensionality is …","Read-write borrow of an array.","Read-write borrow of a zero-dimensional array.","Read-write borrow of a one-dimensional array.","Read-write borrow of a two-dimensional array.","Read-write borrow of a three-dimensional array.","Read-write borrow of a four-dimensional array.","Read-write borrow of a five-dimensional array.","Read-write borrow of a six-dimensional array.","Read-write borrow of an array whose dimensionality is …","Provides an immutable array view of the interior of the …","Provides a mutable array view of the interior of the NumPy …","Convert this two-dimensional array into a …","Convert this one-dimensional array into a …","Convert this one-dimensional array into a …","Convert this two-dimensional array into a …","Provide an immutable slice view of the interior of the …","Provide a mutable slice view of the interior of the NumPy …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Provide an immutable reference to an element of the NumPy …","Provide a mutable reference to an element of the NumPy …","Calls U::from(self).","Calls U::from(self).","","","Extends or truncates the dimensions of an array.","","","","","","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixViewMut …","","","","","","","The dimension type of the resulting array.","The dimension type of the resulting array.","Conversion trait from owning Rust types into PyArray.","The element type of resulting array.","The element type of resulting array.","Trait implemented by types that can be used to index an …","Utility trait to specify the dimensions of an array.","Conversion trait from borrowing Rust types to PyArray.","Deprecated form of IntoPyArray::into_pyarray_bound","Consumes self and moves its data into a NumPy array.","Deprecated form of ToPyArray::to_pyarray_bound","Copies the content pointed to by &self into a newly …","The abbrevation used for debug formatting","Corresponds to the datetime64 scalar type","Corresponds to the [timedelta64][scalars-datetime64] …","The matching NumPy datetime unit code","Represents the datetime units supported by NumPy","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Predefined implementors of the Unit trait","Attoseconds, i.e. 10^-18 seconds","Days, i.e. 24 hours","Femtoseconds, i.e. 10^-15 seconds","Hours, i.e. 60 minutes","Microseconds, i.e. 10^-6 seconds","Milliseconds, i.e. 10^-3 seconds","Minutes, i.e. 60 seconds","Months, i.e. 30 days","Nanoseconds, i.e. 10^-9 seconds","Picoseconds, i.e. 10^-12 seconds","Seconds","Weeks, i.e. 7 days","Years, i.e. 12 months","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Low-Level binding for Array API","","Low-Lebel binding for NumPy C API C-objects","","Low-Level binding for UFunc API","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","All type objects exported by the NumPy API.","A global variable which stores a ‘capsule’ pointer to …","See PY_ARRAY_API for more.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Checks that op is an instance of PyArray or not.","","","Checks that op is an exact instance of PyArray or not.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Get a pointer of the type object assocaited with ty.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A global variable which stores a ‘capsule’ pointer to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","Implementation of functionality for PyArrayDescr.","","Implementation of functionality for PyUntypedArray.","","Returns the required alignment (bytes) of this type …","Returns the required alignment (bytes) of this type …","Returns the required alignment (bytes) of this type …","Returns a raw pointer to the underlying PyArrayObject.","Returns self as *mut PyArray_Descr.","Returns the type descriptor for the base element of …","Returns an ASCII character indicating the byte-order of …","Returns an ASCII character indicating the byte-order of …","Returns an ASCII character indicating the byte-order of …","Returns a unique ASCII character for each of the 21 …","Returns a unique ASCII character for each of the 21 …","Returns a unique ASCII character for each of the 21 …","Returns the dtype of the array.","Returns bit-flags describing how this type descriptor is …","Returns bit-flags describing how this type descriptor is …","Returns bit-flags describing how this type descriptor is …","Returns the type descriptor and offset of the field with …","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor contains any …","Returns true if the type descriptor contains any …","Returns true if the type descriptor contains any …","Returns true if the type descriptor is a sub-array.","Returns true if the type descriptor is a sub-array.","Returns true if the type descriptor is a sub-array.","Returns self as *mut PyArray_Descr while increasing the …","Returns true if the type descriptor is a struct which …","Returns true if the type descriptor is a struct which …","Returns true if the type descriptor is a struct which …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the there are no elements in the array.","Returns true if the there are no elements in the array.","Returns true if the there are no elements in the array.","Returns true if two type descriptors are equivalent.","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if type descriptor byteorder is native, or …","Returns true if type descriptor byteorder is native, or …","Returns true if type descriptor byteorder is native, or …","Returns the element size of this type descriptor.","Returns the element size of this type descriptor.","Returns the element size of this type descriptor.","Returns an ASCII character (one of biufcmMOSUV) …","Returns an ASCII character (one of biufcmMOSUV) …","Returns an ASCII character (one of biufcmMOSUV) …","Calculates the total number of elements in the array.","Calculates the total number of elements in the array.","Calculates the total number of elements in the array.","Returns an ordered list of field names, or None if there …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions of the array.","Returns the number of dimensions of the array.","Returns the number of dimensions of the array.","Returns a unique number for each of the 21 different …","Returns a unique number for each of the 21 different …","Returns a unique number for each of the 21 different …","Returns the shape of the sub-array.","Returns a slice which contains dimmensions of the array.","Returns a slice which contains dimmensions of the array.","Returns a slice which contains dimmensions of the array.","Returns a slice indicating how many bytes to advance when …","Returns a slice indicating how many bytes to advance when …","Returns a slice indicating how many bytes to advance when …","Returns the array scalar corresponding to this type …"],"i":[0,11,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,10,11,0,0,12,14,15,6,6,14,6,14,15,6,0,6,14,38,40,25,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,6,21,22,21,22,21,22,0,0,6,14,25,0,0,0,12,14,0,0,0,0,0,21,22,6,14,25,6,6,6,14,14,38,40,25,7,7,10,10,11,11,21,21,22,22,6,14,38,40,25,7,10,11,21,21,22,22,6,14,6,14,25,6,14,38,40,25,7,10,11,21,22,0,26,26,26,167,168,21,22,15,6,6,6,6,21,22,167,168,0,0,6,14,38,40,25,7,10,11,21,22,15,6,6,14,14,6,14,14,14,15,6,14,6,14,38,40,25,7,10,11,21,22,6,6,14,6,6,14,0,15,6,0,6,14,6,6,0,6,6,6,6,6,21,22,0,0,0,0,167,168,15,6,14,14,6,14,21,22,6,14,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,6,14,14,38,40,25,7,10,11,21,22,6,14,6,14,6,14,38,40,25,7,10,11,21,22,6,14,6,14,38,40,25,7,10,11,21,22,6,14,15,6,0,0,0,0,0,0,0,0,0,0,0,28,28,63,28,63,28,28,63,28,63,28,28,28,63,28,63,63,28,28,28,28,28,63,28,63,28,63,28,28,28,63,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,63,28,0,63,28,28,63,28,28,28,28,28,28,81,28,28,28,63,28,63,28,63,63,28,63,28,63,28,28,28,28,63,28,28,28,28,63,63,28,63,28,28,28,28,28,28,63,28,63,28,28,28,28,28,63,28,63,28,63,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,83,84,83,83,84,84,83,84,83,84,83,84,83,83,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,84,83,83,84,83,84,83,84,83,84,83,84,83,84,93,94,0,93,94,0,0,0,93,93,94,94,97,0,0,97,0,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,95,98,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,0,0,0,0,0,149,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,0,0,0,149,149,149,149,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,0,117,117,0,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,149,117,117,117,117,117,117,117,117,117,149,149,149,149,149,149,149,149,117,117,117,117,117,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,117,117,117,149,117,149,117,149,117,149,117,117,149,117,149,117,149,117,149,117,149,117,149,117,149,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,169,170,171,172,173,174,175,176,139,177,178,179,180,181,182,183,184,185,186,187,188,166,189,190,191,192,123,122,148,193,194,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,169,170,171,172,173,174,175,176,139,177,178,179,180,181,182,183,184,185,186,187,188,166,189,190,191,192,123,122,148,193,194,195,154,143,16,144,154,141,141,141,151,143,144,154,13,150,129,156,157,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,144,154,16,16,141,141,141,141,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,155,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,141,143,154,144,154,144,154,141,141,153,153,153,153,153,153,13,152,153,144,154,143,13,152,13,128,154,143,144,154,153,141,16,143,143,143,143,143,143,16,144,154,143,143,141,141,141,16,141,141,13,16,151,129,152,121,155,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,141,153,141,16,153,144,128,154,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,152,143,153,143,128,16,153,142,129,144,154,144,154,153,157,16,154,153,16,153,13,152,128,154,143,143,144,154,143,153,141,153,0,153,156,128,143,13,16,151,129,153,144,128,154,143,153,153,143,143,143,143,142,129,153,155,153,153,141,141,141,150,152,144,128,154,143,141,13,152,144,154,16,143,143,143,143,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,144,154,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,152,16,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,16,153,152,16,153,143,153,13,85,164,161,162,130,161,162,0,0,161,162,161,162,161,162,131,0,161,162,163,130,85,161,162,0,161,162,119,161,163,162,130,85,134,134,134,134,134,134,134,134,134,134,134,134,134,134,163,161,162,126,164,161,162,130,162,130,125,85,164,161,161,162,161,162,162,126,164,164,130,161,119,161,161,162,130,164,0,126,131,119,119,0,145,145,0,0,161,162,163,0,161,162,162,164,161,162,0,0,0,161,162,161,162,162,161,161,162,162,161,162,119,163,161,161,162,161,162,131,135,146,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,161,135,146,85,130,126,145,134,161,125,119,131,164,158,159,160,85,130,126,145,134,161,125,119,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,85,130,126,145,134,161,125,119,131,164,135,196,197,198,158,159,160,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,135,135,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,161,133,135,146,196,197,198,158,159,160,135,146,133,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,135,146,135,0,0,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,0,0,0,0,0,0,15,15,15,12,15,15,15,15,15,15,15,15,12,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,12,12,12,12,12,12,12,12,12,15,12,12,12,15,15,15,15,15,15,15,15,15,12,12,12,15,15,15,15,12,12,12,15,15,15,15,12,12,12,12,12,12,15],"f":"`````````{b{{f{{d{b}}}}}}`{{bb}{{f{{d{b}}}}}}`{{bbb}{{f{{d{b}}}}}}`{{bbbb}{{f{{d{b}}}}}}`{{bbbbb}{{f{{d{b}}}}}}`{{bbbbbb}{{f{{d{b}}}}}}`{{{h{b}}}{{f{j}}}}`````````````````````````````````````````````````````{lb}{{nA`}Ab}{{AdA`}Ab}{{AfA`}Ab}``{AhAj}{AlAj}{AnB`}{lB`}{lBb}{AlBb}{lBd}{AlBd}{An{{Bf{l}}}}{ll}`{ce{}{}}0000000000000000000{lBh}0{BjBj}{BlBl}{{ce}Bn{}{}}0{{BjBj}C`}{{BlBl}C`}``:9{{{Cb{ceg}}}iCdCf`{}}{{{Ch{ce}}{Ch{cg}}}{{Cj{i}}}CdCfCf{{`{c}}}}{{{Bf{{Ch{ce}}}}{Bf{{Ch{cg}}}}}{{Cj{i}}}CdCfCf{{`{c}}}}{A`l}{Ah{{Bf{l}}}}{All}{A`{{Bf{l}}}}{{Cl{h{{Ch{cCn}}}}}{{Cj{e}}}Cd{{`{c}}}}`{{Cl{h{{D`{{Ch{cCn}}}}}}}{{Cj{e}}}Cd{{`{c}}}}`{{BjBj}Db}{{BlBl}Db}{{{Bf{Bd}}}{{Cj{l}}}}{{{Bf{Bd}}}{{Cj{Al}}}}{{{Bf{Bd}}}{{Cj{{Cb{ceg}}}}}CdCf`}{lDd}{{lDf}{{Dj{BnDh}}}}0{{AlDf}{{Dj{BnDh}}}}0{{DlDf}Dn}{{E`Df}Dn}{{{Cb{ceg}}Df}Dn{CdEb}{CfEb}{`Eb}}{{nDf}Dn}0{{AdDf}Dn}0{{AfDf}Dn}0{{BjDf}Dn}0{{BlDf}Dn}0{cc{}}0000000{{{d{Ed}}}Bj}1{{{d{Ef}}}Bl}2{{A`Bb}{{Eh{c}}}{}}000{{{D`{Bd}}}{{Dj{cEj}}}{}}{ce{}{}}000000000`{A`l}0{A`{{Bf{l}}}}0000{{AnCl}{{Cj{{El{{Bf{l}}b}}}}}}{{lCl}{{Cj{{El{lb}}}}}}{lDb}00{{Bjc}BnEn}{{Blc}BnEn}``{{{Ch{ce}}{Ch{cg}}}{{Cj{i}}}CdCfCf{{`{c}}}}{{{Bf{{Ch{ce}}}}{Bf{{Ch{cg}}}}}{{Cj{i}}}CdCfCf{{`{c}}}}9999999999{AnB`}{lB`}{{lA`}{{F`{l}}}}{{AlA`}Ab}{{AlA`}{{F`{Al}}}}9{AlDb}00{{AnAn}Db}{{ll}Db}2{cDb{}}000000000{l{{Eh{Db}}}}{BdDb}{{{Bf{Bd}}}Db}{lb}{lBh}{Alb}`{An{{Eh{{Fd{Fb}}}}}}{l{{Eh{{Fd{Fb}}}}}}`42{{A`c}{{Cj{l}}}{FfFh}}{{A`c}{{Cj{{Bf{l}}}}}{FfFh}}`{lFj}{A`l}{A`{{Bf{l}}}}10{{BjBj}{{Eh{C`}}}}{{BlBl}{{Eh{C`}}}}``````{An{{Fd{b}}}}{l{{Fd{b}}}}{Al{{h{b}}}}{Al{{h{Fl}}}}{{lA`}Ab}{{AlA`}Ab}{ce{}{}}0{cFb{}}000000{c{{Eh{e}}}{}{}}0000000002222222222{c{{Dj{eFn}}}{{G`{Bd}}}{}}{c{{Dj{e}}}{}{}}010000000011{ce{{G`{Bd}}}{}}01111111111{{{Bf{Bd}}}Db}0{cGb{}}000000000{A`Gd}0{An{{Bf{Gf}}}}{lGf}```````````{{A`ccc}{{Ch{cGh}}}{Cd{Gl{Gj}}}}{{A`ccc}{{Bf{{Ch{cGh}}}}}{Cd{Gl{Gj}}}}{Gn{{H`{ce}}}CdCf}{{{Ch{ce}}}{{H`{ce}}}CdCf}{Gn{{Hb{ce}}}CdCf}{{{Ch{ce}}}{{Hb{ce}}}CdCf}{{{Ch{ce}}}Bb{}{}}{Gn{{Hd{ce}}}CdCf}{{{Ch{ce}}}{{Hd{ce}}}CdCf}{Gn{{Hf{ce}}}CdCf}{{{Ch{ce}}}{{Hf{ce}}}CdCf}{{{Ch{ce}}}Bd{}{}}{{{Ch{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{Gn{{Dj{{h{c}}Ad}}}Cd}10{Gn{{Bf{Al}}}}{{{Ch{ce}}}Al{}{}}{ce{}{}}{{{Hh{eg}}Bd}{{Ch{cg}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{{Hh{eg}}{Bf{Bd}}}{{Bf{{Ch{cg}}}}}Cd{{Hl{}{{Hj{c}}}}}Cf}2{{GnDb}{{Cj{{Bf{{Ch{ce}}}}}}}Cd{}}{{{Ch{ce}}Db}{{Cj{{Ch{ge}}}}}Cd{}Cd}{{Gn{Bf{{Ch{ce}}}}}{{Cj{Bn}}}Cd{}}{{{Ch{ce}}{Ch{ge}}}{{Cj{Bn}}}Cd{}Cd}{Gn}{{{Ch{ce}}}{}{}{}}{{{Ch{ce}}}g{}{}{}}{{{Ch{ce}}}eCdCf}{GncCf}{{{Bf{Bd}}}{{Cj{{Ch{ce}}}}}CdCf}{{{Ch{ce}}Df}{{Dj{BnDh}}}{}{}}0{cc{}}{{A`{Hh{eg}}}{{Ch{cg}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{A`{Hh{eg}}}{{Bf{{Ch{cg}}}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{A`Bb}{{Ch{ce}}}{}{}}{{A`Bb}{{Eh{c}}}{}}{{A`e}{{Ch{cGh}}}Cd{{I`{}{{Hn{c}}}}}}{{A`e}{{Bf{{Ch{cGh}}}}}Cd{{I`{}{{Hn{c}}}}}}{{A`{Ib{ce}}}{{Ch{ce}}}CdCf}{{A`{Ib{ce}}}{{Bf{{Ch{ce}}}}}CdCf}{{A`{Ib{{F`{c}}e}}}{{Ch{Abe}}}{}Cf}{{A`{Ib{{F`{c}}e}}}{{Bf{{Ch{Abe}}}}}{}Cf}76{{A`{h{c}}}{{Ch{cGh}}}Cd}{{A`{h{c}}}{{Bf{{Ch{cGh}}}}}Cd}{ce{}{}}{{A`{Fd{c}}}{{Ch{cGh}}}Cd}{{A`{h{{Fd{c}}}}}{{Dj{{Ch{cId}}n}}}Cd}{{A`{h{{Fd{c}}}}}{{Dj{{Bf{{Ch{cId}}}}n}}}Cd}{{A`{h{{Fd{{Fd{c}}}}}}}{{Dj{{Ch{cIf}}n}}}Cd}{{A`{h{{Fd{{Fd{c}}}}}}}{{Dj{{Bf{{Ch{cIf}}}}n}}}Cd}{{A`{Fd{c}}}{{Bf{{Ch{cGh}}}}}Cd}{{Gne}{{Eh{g}}}Cf{{Ij{}{{Ih{c}}}}}Cd}{{{Ch{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}{A`{{Cj{{Bf{Il}}}}}}21129{{{Ch{ce}}A`}Ab{}{}}{{{Ch{ce}}A`}{{F`{{Ch{ce}}}}}{}{}}{cDb{}}{{{Bf{Bd}}}Db}{{{Ch{cIn}}}c{J`Cd}}{Jbc{CdJ`}}{{A`eDb}{{Ch{gc}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{A`eDb}{{Bf{{Ch{gc}}}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{{Ch{ce}}}{{Jf{ce}}}CdCf}{Gn{{Jf{ce}}}CdCf}{{{Ch{ce}}}{{Jh{ce}}}CdCf}{Gn{{Jh{ce}}}CdCf}{{{Ch{ce}}g}{{Cj{{Ch{c}}}}}Cd{}Jd}{{Gnc}{{Cj{{Bf{{Ch{e}}}}}}}JdCd}{{GncJj}{{Cj{{Bf{{Ch{e}}}}}}}JdCd}{{{Ch{ce}}gJj}{{Cj{{Ch{c}}}}}Cd{}Jd}{{Gnc}{{Cj{Bn}}}Jd}{{{Ch{ce}}g}{{Cj{Bn}}}Cd{}Jd}{Gn{{Bf{{Ch{cCn}}}}}Cd}{{{Ch{ce}}}{{Ch{cCn}}}CdCf}{{{Ch{ce}}A`}Ab{}{}}{{{Ch{ce}}}{{F`{{Ch{ce}}}}}{}{}}{{{Ch{ce}}}{{Ib{ce}}}CdCf}{Gn{{Ib{ce}}}CdCf}{cFb{}}{c{{Eh{e}}}{}{}}{ce{}{}}{{{Ch{ce}}}{{Dj{{Fd{c}}Ad}}}CdCf}{Gn{{Dj{{Fd{c}}Ad}}}Cd}{Gn{{Eh{{Jl{cegik}}}}}{JnCd}K`K`K`K`}{{{Ch{ce}}}{{Eh{{Jl{cgikm}}}}}{JnCd}CfK`K`K`K`}{Gn{{Eh{{Kb{cegik}}}}}{JnCd}K`K`K`K`}{{{Ch{ce}}}{{Eh{{Kb{cgikm}}}}}{JnCd}CfK`K`K`K`}{c{{Dj{eFn}}}{{G`{Bd}}}{}}{c{{Dj{e}}}{}{}}1{ce{{G`{Bd}}}{}}1{Gn{{Dj{{Jf{ce}}Af}}}CdCf}{{{Ch{ce}}}{{Dj{{Jf{ce}}Af}}}CdCf}{Gn{{Dj{{Jh{ce}}Af}}}CdCf}{{{Ch{ce}}}{{Dj{{Jh{ce}}Af}}}CdCf}{{{Bf{Bd}}}Db}{cGb{}}{A`Gd}{{{Ch{ce}}g}cCdCf{{Ij{}{{Ih{e}}}}}}{{Gne}gCf{{Ij{}{{Ih{c}}}}}Cd}10{{{Ch{ce}}g}{}CdCf{{Ij{}{{Ih{e}}}}}}{{Gne}{}Cf{{Ij{}{{Ih{c}}}}}}{{A`eDb}{{Ch{gc}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{A`eDb}{{Bf{{Ch{gc}}}}}Cf{{Jd{}{{Ih{c}}}}}Cd}``````````````````{{{Jf{ce}}}{{H`{ce}}}CdCf}{{{Jh{ce}}}{{Hb{ce}}}CdCf}{{{Jf{cId}}}{{Kf{cKdKd}}}{JnCd}}{{{Jf{cGh}}}{{Kf{cKdKd}}}{JnCd}}{{{Jh{cGh}}}{{Kh{cKdKd}}}{JnCd}}{{{Jh{cId}}}{{Kh{cKdKd}}}{JnCd}}{{{Jf{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{{{Jh{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{ce{}{}}000{{{Jf{ce}}}{{Jf{ce}}}CdCf}{{ce}Bn{}{}}{{{Jf{ce}}}gCdCf{}}{{{Jh{ce}}}gCdCf{}}{{{Jf{ce}}}BnCdCf}{{{Jh{ce}}}BnCdCf}{{{Bf{Bd}}}{{Cj{{Jf{ce}}}}}CdCf}{{{Bf{Bd}}}{{Cj{{Jh{ce}}}}}CdCf}{{{Jf{ce}}Df}DnCdCf}{{{Jh{ce}}Df}DnCdCf}{cc{}}0{{{D`{Bd}}}{{Dj{cEj}}}{}}0<<{{{Jf{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}{{{Jh{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}>>{cDb{}}0{{{Jh{cGh}}e}{{Cj{{Jh{cGh}}}}}CdJd}{ce{}{}}{c{{Eh{e}}}{}{}}011{{{Jf{ce}}}{{Eh{{Jl{cgikm}}}}}{JnCd}CfK`K`K`K`}{{{Jh{ce}}}{{Eh{{Kb{cgikm}}}}}{JnCd}CfK`K`K`K`}{c{{Dj{e}}}{}{}}000{cGb{}}0````````{{{Kj{}{{Hn{c}}{Ih{e}}}}A`}{{Ch{ce}}}CdCf}{{{Kj{}{{Hn{c}}{Ih{e}}}}A`}{{Bf{{Ch{ce}}}}}CdCf}{{{Kl{}{{Hn{c}}{Ih{e}}}}A`}{{Ch{ce}}}CdCf}{{{Kl{}{{Hn{c}}{Ih{e}}}}A`}{{Bf{{Ch{ce}}}}}CdCf}`````9999{{{Kn{c}}}{{Kn{c}}}{L`Lb}}{{{Ld{c}}}{{Ld{c}}}{L`Lb}}{{ce}Bn{}{}}0{{{Kn{c}}{Kn{c}}}C`{LfLb}}{{{Ld{c}}{Ld{c}}}C`{LfLb}}{{{Kn{c}}{Kn{c}}}Db{LhLb}}{{{Ld{c}}{Ld{c}}}Db{LhLb}}{{{Kn{c}}Df}DnLb}{{{Ld{c}}Df}DnLb}{Lj{{Kn{c}}}Lb}{cc{}}{Lj{{Ld{c}}}Lb}1{ce{}{}}0{A`{{Bf{l}}}}0{{{Kn{c}}e}Bn{LlLb}En}{{{Ld{c}}e}Bn{LlLb}En}33{cDb{}}0{{{Kn{c}}{Kn{c}}}{{Eh{C`}}}{LnLb}}{{{Ld{c}}{Ld{c}}}{{Eh{C`}}}{LnLb}}66{c{{Eh{e}}}{}{}}077{c{{Dj{e}}}{}{}}000{cGb{}}0``````````````99999999999999999999999999{M`M`}{MbMb}{MdMd}{MfMf}{MhMh}{MjMj}{MlMl}{MnMn}{N`N`}{NbNb}{NdNd}{NfNf}{NhNh}{{ce}Bn{}{}}000000000000{{M`M`}C`}{{MbMb}C`}{{MdMd}C`}{{MfMf}C`}{{MhMh}C`}{{MjMj}C`}{{MlMl}C`}{{MnMn}C`}{{N`N`}C`}{{NbNb}C`}{{NdNd}C`}{{NfNf}C`}{{NhNh}C`}{{M`M`}Db}{{MbMb}Db}{{MdMd}Db}{{MfMf}Db}{{MhMh}Db}{{MjMj}Db}{{MlMl}Db}{{MnMn}Db}{{N`N`}Db}{{NbNb}Db}{{NdNd}Db}{{NfNf}Db}{{NhNh}Db}{{M`Df}Dn}{{MbDf}Dn}{{MdDf}Dn}{{MfDf}Dn}{{MhDf}Dn}{{MjDf}Dn}{{MlDf}Dn}{{MnDf}Dn}{{N`Df}Dn}{{NbDf}Dn}{{NdDf}Dn}{{NfDf}Dn}{{NhDf}Dn}{cc{}}000000000000{ce{}{}}000000000000{{M`c}BnEn}{{Mbc}BnEn}{{Mdc}BnEn}{{Mfc}BnEn}{{Mhc}BnEn}{{Mjc}BnEn}{{Mlc}BnEn}{{Mnc}BnEn}{{N`c}BnEn}{{Nbc}BnEn}{{Ndc}BnEn}{{Nfc}BnEn}{{Nhc}BnEn}============={cDb{}}000000000000{{M`M`}{{Eh{C`}}}}{{MbMb}{{Eh{C`}}}}{{MdMd}{{Eh{C`}}}}{{MfMf}{{Eh{C`}}}}{{MhMh}{{Eh{C`}}}}{{MjMj}{{Eh{C`}}}}{{MlMl}{{Eh{C`}}}}{{MnMn}{{Eh{C`}}}}{{N`N`}{{Eh{C`}}}}{{NbNb}{{Eh{C`}}}}{{NdNd}{{Eh{C`}}}}{{NfNf}{{Eh{C`}}}}{{NhNh}{{Eh{C`}}}}{ce{}{}}000000000000{c{{Eh{e}}}{}{}}0000000000001111111111111{c{{Dj{e}}}{}{}}0000000000000000000000000{cGb{}}000000000000``````{{NjA`FjAjNlJjNnNlB`FjFjO`O`}Ob}{{NjA`Ob}Ob}{{NjA`ObO`O`}Fj}{{NjA`Ob}Fj}{{NjA`Ob}Bn}1{{NjA`ObFj}O`}{{NjA`Ob}O`}{{NjA`Ob}Dd}{{NjA`Ob}B`}{{NjA`ObDd}Od}32{{NjA`ObO`}Bn}444{{NjA`ObO`O`}Bn}{{NjA`ObDd}Of}6{{NjA`ObO`}Aj}::{{NjA`Ob}Aj}{{NjA`ObDd}Bn}{{NjA`ObO`}Fj}1000{{NjA`Ob}Oh}0000{{NjA`ObFj}Oh}11{{NjA`FjAjNlJjNnNlB`}Ob}{{NjA`AjNlJjNnB`}Ob}{{NjA`ObFj}Fj}{{NjA`Ob}Fj}5{{NjA`ObDd}Fj}{{NjA`ObDdDd}Fj}{{NjA`ObO`O`Dd}Fj}```````{{NjA`AjFjAj}Bb}0{{NjA`GjGjGjFj}Bb}{{NjA`BbBbBbB`}Bb}22{{NjA`AjAjFjOj}Bb}{{NjA`AjFjOl}Bb}{{NjA`BbDdFjFj}Fj}{{NjA`BbDdFjFjFj}Fj}{{NjA`BbOnO`FjB`}Fj}{{NjA`BbFj}Fj}{{NjA`BbOh}Fj}{{NjA`A`}Fj}{{NjA`BbO`Fj}Bb}{{NjA`BbAb}Fj}{{NjA`BbDd}Fj}{{NjA`AjOh}Bb}{{NjA`AjB`Nn}Oh}{{NjA`FjFj}Fj}{{NjA`GdGd}Oh}{{NjA`B`B`}Oh}{{NjA`B`B`Nn}Oh}{{NjA`FjFjAd}Fj}{{NjA`AjAj}Fj}{{NjA`BbB`OnFj}Fj}{{NjA`BbOnB`}Fj}2{{NjA`AjB`Fj}Bb}{{NjA`BbNn}Fj}{{A`Bb}Fj}{{NjA`Bb}Fj}{{NjA`AjFjFj}Bb}2{{NjA`BbB`FjFjFjBb}Bb}{{NjA`FjFjO`O`O`O`}Oh}{{NjA`AjBbAjAf}Bb}{{NjA`AjBbBbAj}Bb}{{NjA`BbAf}Fj}{{NjA`O`O`Fj}Fj}{{NjA`DdDdb}Fj}{{NjA`AhAhb}Fj}{{NjA`AjBbFjAj}Bb}{{NjA`BbFj}Bb}{{NjA`AjAj}Bb}{{NjA`BbAfFj}Fj}{{NjA`BbFj}Aj}{{NjA`BbBb}Fj}{{NjA`Bb}Bb}{{NjA`AjAj}Fj}0{{NjA`AjBb}Fj}{{NjA`BbBbFj}Bb}0{{NjA`Aj}O`}{{NjA`FjO`Aj}Bn}{{NjA`AjFjFjAj}Bb}0{{NjA`AlAn}AA`}{{NjA`AA`AlAn}Bn}{{NjA`Aj}Bn}{{NjA`BbB`}Fj}000{{NjA`BbB`}B`}{{NjA`Bb}B`}{{NjA`Fj}B`}1{{NjA`B`}B`}{{NjA`B`Dd}B`}2{{NjA`AjFjFjFj}Bb}{{NjA`BbBbFj}Fj}{{NjA`BbFj}Bb}{{NjA`DdO`AjB`JjNnAj}Bb}{{NjA`Dd}Fj}{{NjA`Bb}Fj}{{NjA`FjO`B`Fj}Bb}{{NjA`Bb}Bb}0{{NjA`FjFj}AAb}{{NjA`B`B`}AAb}{{NjA`AjDd}Fj}3{{NjA`AjBb}Bn}{{NjA`AjBb}Fj}{{NjA`AjJj}Bb}{{NjA`BbOn}Fj}{{NjA`BbB`FjFjFjBb}Bb}{{NjA`AjB`Fj}Bb}{{NjA`BbB`Bb}Bb}{{NjA`BbB`O`O`}Bb}{{NjA`FjFjFj}Bb}{{NjA`FjFjB`Dd}Bb}{{NjA`AAdB`O`Dd}Bb}>{{NjA`BbB`O`}Bb}{{NjA`BbB`}Bb}{{NjA`DdO`B`O`Dd}Bb}{{NjA`Bb}Bb}{{NjA`BbB`OhB`FjO`AjBb}Fj}{{NjA`B`Fj}AAf}{{NjA`}Fj}<{{NjA`}AAh}0{{NjA`}Bb}{{NjA`BbGj}Gj}{{NjA`AjO`}On}{{NjA`Aj}Fj}{{NjA`AAj}Bn}{{NjA`BbBb}Bb}{{NjA`FjO`}Bb}{{NjA`BbAAl}Fj}{{NjA`BbO`Fj}Fj}{{NjA`DdB`}Bn}0{{NjA`BbFj}Bb}?0{{NjA`AjBb}Bb}{{NjA`AjBbFjAj}Bb}{{NjA`AAn}Bn}{{NjA`AAnAjFj}Bn}9{{NjA`BbBbAj}Bb}{{NjA`AjFjAj}Bb}{{NjA`AjFjFjAj}Bb}1{{NjA`Aj}B`}{{NjA`AjAj}Fj}{{NjA`FjFj}Fj}{{NjA`O`Fj}O`}{{NjA`AB`O`FjAj}Bb}{{NjA`GdFjO`FjO`OnFjFjBb}Bb}{{NjA`AjJj}Bb}{{NjA`Bb}Bb}{{NjA`GdB`FjO`O`OnFjBb}Bb}{{NjA`AjJjB`Fj}Bb}{{NjA`AjAAlJj}Bb}{{NjA`Aj}Bb}{{NjA`BbFj}Fj}{{NjA`Aj}Dd}{{NjA`BbJj}Fj}{{NjA`BbAj}Fj}<{{NjA`AjAjFjOj}Fj}{{NjA`AjFjFjAj}Bb}{{NjA`B`B`}B`}{{NjA`AjFjAj}Bb}{{NjA`AjBbBb}Bb}{{NjA`AjBbBbAf}Bb}{{NjA`Bb}Fj}{{NjA`Bb}O`}{{NjA`AjJj}Bb}{{NjA`B`FjAd}Fj}{{NjA`B`FjAAf}Fj}{{NjA`B`}Fj}{{NjA`AjOh}Bn}{{NjA`A`}Fj}{{NjA`AjBbFj}Bb}{{NjA`AjBb}Bb}{{NjA`AjAAlFjJj}Bb}{{NjA`Aj}Fj}{{NjA`O`AjO`B`}B`}{{NjA`Aj}Bb}{{NjA`AjFjAj}Bb}{{NjA`OnB`Bb}Bb}{{NjA`BbOn}Bn}{{NjA`Bb}Bb}{{NjA`FjAj}Ad}{{NjA`AjBbABbBb}Bb}{{NjA`BbOn}Fj}{{NjA`BbOj}Fj}{{NjA`AjBb}Fj}{{NjA`Bb}Bn}{{NjA`AjB`FjBb}Fj}{{NjA`Bb}Fj}{{NjA`BbFj}Bn}{{NjA`AjAj}Fj}0{{NjA`Bb}O`}{{NjA`AjFjOl}Fj}{{NjA`BbOl}Fj}{{NjA`Aj}Bb}{{NjA`AjFjFjAjFj}Bb}{{NjA`AjFjFjAj}Bb}{{NjA`AjFjFj}Bb}{{NjA`AjBbFjAjAf}Bb}{{NjA`AlABd}AA`}{{NjA`ABfAlABd}Bn}{{NjA`AjAAdDdDd}Fj}7{{NjA`AjJj}Bb}{{NjA`AjFjFjFjFjAj}Bb}{{NjA`AjAAl}Bb}`{{NjA`Fj}Bb}{{NjA`FjFj}Fj}{{NjA`AjFj}Bn}{{NjA`Fj}Fj}{{NjA`AjB`Gd}Bb}{{NjA`BbBbBb}Bb}{{NjA`Aj}Fj}{{NjA`Aj}Dd}{{NjA`FjO`B`Fj}Bb}````````{{NjA`On}Bn}{{NjA`b}On}{{NjA`bb}On}{{NjA`Onb}On}{{NjA`ABhOnOn}ABh}`````````````````````````{{NjA`}On}{{NjA`Fj}Bn}{ce{}{}}000{cc{}}011{{NjA`ABj}Gd}22{cDb{}}0{c{{Eh{e}}}{}{}}044{c{{Dj{e}}}{}{}}000{cGb{}}0````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````6666666666666666666666666666666666````````{AjAj}{B`B`}{ABlABl}{AAjAAj}{ABnABn}{AAlAAl}{AbAb}{AC`AC`}{ACbACb}{ObOb}{AB`AB`}{A`A`}{ACdACd}{AAnAAn}{ACfACf}{AChACh}{ACjACj}`{{ce}Bn{}{}}0000000000000000``````````````````````````````````````````````````````{{ObDf}Dn}`{cc{}}0000000000000000{ce{}{}}0000000000000000`````````00000000000000000{cDb{}}0000000000000000``````````````````````````````````````````````````````````````````````````````11111111111111111{c{{Eh{e}}}{}{}}000000000000000022222222222222222``{c{{Dj{e}}}{}{}}000000000000000000000000000000000``{cGb{}}0000000000000000`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````444444444444444444444444444444444444{AClACl}{ACnACn}{AD`AD`}{JjJj}{AdAd}{OlOl}{ABbABb}{AlAl}{ADbADb}{OjOj}{NnNn}{AfAf}{AnAn}{ABdABd}{AjAj}{ADdADd}{ADfADf}{ADhADh}{{ce}Bn{}{}}00000000000000000{{ADbADb}C`}``{{JjJj}Db}{{AdAd}Db}{{OlOl}Db}{{ABbABb}Db}{{AlAl}Db}{{ADbADb}Db}{{OjOj}Db}{{NnNn}Db}{{AfAf}Db}{{ADhADh}Db}{{AClDf}Dn}{{ACnDf}Dn}{{AD`Df}Dn}{{JjDf}Dn}{{AdDf}Dn}{{OlDf}Dn}{{ABbDf}Dn}{{AlDf}Dn}{{ADbDf}Dn}{{OjDf}Dn}{{NnDf}Dn}{{AnDf}Dn}{{ABdDf}Dn}{{AjDf}Dn}{{ADdDf}Dn}{{ADfDf}Dn}{{ADhDf}Dn}{cc{}}00000000000000000{ce{}{}}00000000000000000{{Jjc}BnEn}{{Adc}BnEn}{{Olc}BnEn}{{ABbc}BnEn}{{Alc}BnEn}{{ADbc}BnEn}{{Ojc}BnEn}{{Nnc}BnEn}{{Afc}BnEn}{{ADhc}BnEn}```````::::::::::::::::::{cDb{}}00000000000000000`````````````````````````````````````````````{{ADbADb}{{Eh{C`}}}}````````````<<<<<<<<<<<<<<<<<<{c{{Eh{e}}}{}{}}00000000000000000=================={c{{Dj{e}}}{}{}}00000000000000000000000000000000000{cGb{}}00000000000000000`````{{ADjA`DdO`O`On}Bn}0{{ADjA`ACbNnAjBbB`}Fj}1111{{ADjA`ADlOnDdFjFjFjFjDdDdFj}Bb}{{ADjA`ADlOnDdFjFjFjFjDdDdFjDd}Bb}{{ADjA`ACbOnDdFjFjFjFjDdDdFjDdDd}Fj}44{{ADjA`ACbBbBbAj}Fj}{{ADjA`DdFjFjBb}Fj}66666{{ADjA`ACbB`ADlB`On}Fj}{{ADjA`ACbFjADlFjOn}Fj}{{ADjA`ACbADlFjADl}Fj}{{ADjA`Onb}Fj}{{ADjA`ACbNnAjB`}Fj}{{ADjA`FjBbFj}Fj}{{ADjA`}Bn}============={{ADjA`}Fj}>{{ADjA`FjBbFjFj}Fj}{ce{}{}}0{cc{}}11{cDb{}}{c{{Eh{e}}}{}{}}3{c{{Dj{e}}}{}{}}0{cGb{}}``````{Anb}00{AhAj}{AnB`}{An{{Bf{l}}}}{AnBh}00000{Ah{{Bf{l}}}}{AnDd}00{{AnCl}{{Cj{{El{{Bf{l}}b}}}}}}{AnDb}000000006000{AhDb}00000000{{AnAn}Db}111{An{{Eh{Db}}}}00;;;777{Ahb}00{An{{Eh{{Fd{Fb}}}}}}===111{AnFj}00{An{{Fd{b}}}}{Ah{{h{b}}}}00{Ah{{h{Fl}}}}00{An{{Bf{Gf}}}}","c":[125,127,131,132,186,187,202,248,252,254,259,352,371,387,389,391,393,395,397,399,402,403,405,422,437,467,543,545],"p":[[1,"usize"],[1,"array"],[5,"Dim",2401],[1,"slice"],[5,"IxDynImpl",2402],[5,"PyArrayDescr",0],[5,"FromVecError",0],[5,"Python",2403],[8,"PyObject",2404],[5,"NotContiguousError",0],[6,"BorrowError",0],[10,"PyUntypedArrayMethods",2322],[5,"PyArrayObject",1254],[5,"PyUntypedArray",0],[10,"PyArrayDescrMethods",2322],[5,"PyArray_Descr",1254],[5,"PyObject",2405],[5,"PyAny",2406],[5,"Bound",2404],[1,"u8"],[5,"PyFixedString",0],[5,"PyFixedUnicode",0],[1,"unit"],[6,"Ordering",2407],[5,"PyArrayLike",0],[10,"Element",0],[10,"Dimension",2408],[5,"PyArray",341],[8,"PyResult",2409],[1,"str"],[8,"IxDyn",0],[5,"Borrowed",2404],[1,"bool"],[8,"c_char",2410],[5,"Formatter",2411],[5,"Error",2411],[6,"Result",2412],[5,"TypeMustMatch",0],[8,"Result",2411],[5,"AllowTypeChange",0],[10,"Debug",2411],[8,"Py_UCS1",2413],[8,"Py_UCS4",2413],[6,"Option",2414],[5,"PyErr",2409],[1,"tuple"],[10,"Hasher",2415],[5,"Py",2404],[5,"String",2416],[5,"Vec",2417],[10,"ToPyObject",2418],[10,"Sized",2419],[8,"c_int",2410],[1,"isize"],[5,"PyDowncastError",2409],[10,"Into",2420],[5,"TypeId",2421],[5,"PyTypeObject",2422],[5,"PyType",2423],[8,"Ix1",0],[1,"f64"],[10,"AsPrimitive",2424],[10,"PyArrayMethods",341],[8,"ArrayView",2425],[8,"ArrayViewMut",2425],[8,"RawArrayView",2425],[8,"RawArrayViewMut",2425],[5,"ArrayBase",2425],[17,"Elem"],[10,"Data",2426],[17,"Item"],[10,"IntoIterator",2427],[8,"Array",2425],[8,"Ix2",0],[8,"Ix3",0],[17,"Dim"],[10,"NpyIndex",535],[5,"PyModule",2428],[8,"Ix0",2429],[10,"Copy",2419],[10,"PyArray0Methods",341],[10,"IntoDimension",2430],[5,"PyReadonlyArray",469],[5,"PyReadwriteArray",469],[6,"NPY_ORDER",1786],[8,"MatrixView",2431],[10,"Scalar",2432],[10,"Dim",2433],[8,"MatrixViewMut",2431],[5,"Dyn",2433],[8,"DMatrixView",2434],[8,"DMatrixViewMut",2434],[10,"IntoPyArray",535],[10,"ToPyArray",535],[5,"Datetime",547],[10,"Clone",2435],[10,"Unit",547],[5,"Timedelta",547],[10,"Ord",2407],[10,"PartialEq",2407],[1,"i64"],[10,"Hash",2415],[10,"PartialOrd",2407],[5,"Years",595],[5,"Months",595],[5,"Weeks",595],[5,"Days",595],[5,"Hours",595],[5,"Minutes",595],[5,"Seconds",595],[5,"Milliseconds",595],[5,"Microseconds",595],[5,"Nanoseconds",595],[5,"Picoseconds",595],[5,"Femtoseconds",595],[5,"Attoseconds",595],[5,"PyArrayAPI",860],[8,"npy_uint32",1786],[6,"NPY_CASTING",1786],[8,"npy_intp",1786],[5,"NpyIter",1254],[8,"NpyIter_GetMultiIndexFunc",1254],[8,"NpyIter_IterNextFunc",1254],[8,"npy_bool",1786],[6,"NPY_SELECTKIND",1786],[6,"NPY_SORTKIND",1786],[8,"c_void",2410],[5,"PyArrayMultiIterObject",1254],[5,"PyArray_Chunk",1254],[6,"NPY_SCALARKIND",1786],[6,"NPY_CLIPMODE",1786],[8,"npy_ucs4",1786],[5,"npy_stride_sort_item",1786],[6,"NPY_DATETIMEUNIT",1786],[5,"npy_datetimestruct",1786],[8,"npy_datetime",1786],[8,"c_uchar",2410],[6,"FILE",2436],[8,"PyArray_VectorUnaryFunc",1254],[8,"c_uint",2410],[5,"PyArray_ArrFuncs",1254],[5,"PyArray_Dims",1254],[5,"PyArrayMapIterObject",1254],[5,"PyArrayIterObject",1254],[6,"NPY_SEARCHSIDE",1786],[5,"npy_timedeltastruct",1786],[8,"npy_timedelta",1786],[8,"PyDataMem_EventHookFunc",1254],[6,"NpyTypes",860],[5,"PyArray_ArrayDescr",1254],[5,"PyArrayFlagsObject",1254],[5,"PyArrayInterface",1254],[5,"PyUFuncObject",1254],[5,"PyArrayNeighborhoodIterObject",1254],[5,"NpyAuxData",1254],[5,"PyArray_DatetimeMetaData",1254],[5,"PyArray_DatetimeDTypeMetaData",1254],[5,"npy_cdouble",1786],[5,"npy_cfloat",1786],[5,"npy_clongdouble",1786],[6,"NPY_TYPES",1786],[6,"NPY_TYPECHAR",1786],[6,"NPY_TYPEKINDCHAR",1786],[6,"NPY_BYTEORDER_CHAR",1786],[5,"PyUFuncAPI",2267],[8,"PyUFuncGenericFunction",1254],[8,"Complex32",0],[8,"Complex64",0],[8,"PyArray_GetItemFunc",1254],[8,"PyArray_SetItemFunc",1254],[8,"PyArray_CopySwapNFunc",1254],[8,"PyArray_CopySwapFunc",1254],[8,"PyArray_NonzeroFunc",1254],[8,"PyArray_CompareFunc",1254],[8,"PyArray_ArgFunc",1254],[8,"PyArray_DotFunc",1254],[8,"PyArray_ScanFunc",1254],[8,"PyArray_FromStrFunc",1254],[8,"PyArray_FillFunc",1254],[8,"PyArray_SortFunc",1254],[8,"PyArray_ArgSortFunc",1254],[8,"PyArray_PartitionFunc",1254],[8,"PyArray_ArgPartitionFunc",1254],[8,"PyArray_FillWithScalarFunc",1254],[8,"PyArray_ScalarKindFunc",1254],[8,"PyArray_FastClipFunc",1254],[8,"PyArray_FastPutmaskFunc",1254],[8,"PyArray_FastTakeFunc",1254],[8,"PyUFunc_MaskedStridedInnerLoopFunc",1254],[8,"PyUFunc_TypeResolutionFunc",1254],[8,"PyUFunc_LegacyInnerLoopSelectionFunc",1254],[8,"PyUFunc_MaskedInnerLoopSelectionFunc",1254],[8,"npy_iter_get_dataptr_t",1254],[8,"NpyAuxData_FreeFunc",1254],[8,"NpyAuxData_CloneFunc",1254],[8,"npy_complex128",1786],[8,"npy_complex64",1786],[8,"npy_complex256",1786]],"b":[[141,"impl-Display-for-PyArrayDescr"],[142,"impl-Debug-for-PyArrayDescr"],[143,"impl-Debug-for-PyUntypedArray"],[144,"impl-Display-for-PyUntypedArray"],[148,"impl-Display-for-FromVecError"],[149,"impl-Debug-for-FromVecError"],[150,"impl-Debug-for-NotContiguousError"],[151,"impl-Display-for-NotContiguousError"],[152,"impl-Debug-for-BorrowError"],[153,"impl-Display-for-BorrowError"],[154,"impl-Debug-for-PyFixedString%3CN%3E"],[155,"impl-Display-for-PyFixedString%3CN%3E"],[156,"impl-Debug-for-PyFixedUnicode%3CN%3E"],[157,"impl-Display-for-PyFixedUnicode%3CN%3E"],[217,"impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyUntypedArray"],[218,"impl-IntoPy%3CPy%3CPyUntypedArray%3E%3E-for-%26PyUntypedArray"],[384,"impl-Debug-for-PyArray%3CT,+D%3E"],[385,"impl-Display-for-PyArray%3CT,+D%3E"],[416,"impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyArray%3CT,+D%3E"],[417,"impl-IntoPy%3CPy%3CPyArray%3CT,+D%3E%3E%3E-for-%26PyArray%3CT,+D%3E"],[489,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[490,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[491,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[492,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"]],"a":{"nalgebra":[445,446,447,448,489,490,491,492,527,528],"pyarray":[343,351],"pyarray0":[343],"pyarraydescr":[38,2324],"pyuntypedarray":[71,2326]}}]\ +["numpy",{"doc":"This crate provides Rust interfaces for NumPy C APIs, …","t":"FPGIIKFTEHIHIHIHIHIHIHIFPEEEEEEEEEEEEFKEFIIIIIIIIEFFEEEEEEEEEEEEEEEEEEFKEEFNNNNCQMNMNNNNNMNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCNNNHHHMNHHQHQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNMNNNNMNNNNNNOOHHNNNNNNNNNNMNNNNNNNNMNNNNNNNNNNNNNNNNNNEMNENNNNCNNNNNNNCQQEOOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNFIKIIIIIIIKNNMNMNNMNMNNNNNNMNNNNNMNMNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNHMNNNNNNNNNNNNNNNNNNMNMNMNNNNNNNNNNMNMNNNNNNMNMNNNNNNNNNNNNFIIIIIIIIFIIIIIIIINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNRRKRRKKKNMNMTFFTKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCCCCCPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGJFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPNNNNNNNNNPPPPPPPPNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFIIFIIFFFFFFFIIIFFFIIIFFFFIIIIIIIIIIIIIIIIIFIIIIPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNOOOOOOOOPPPPPPPGGPPPPPPPGPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPTPPPPPPPPTGPPPPGPPGGPPPGPPPPPPGGGPPPPPPPPPPPPPPPPPPPOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOIIFFIFIIIIFIIIIIIIIIIIIIIIIIIFIFIIIIIIIIIIINOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOJFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEEKEKENNNMMMNNNNNNMNNNMNNNNNNNNNMNNNNNNNNNNNNMNNNNNNNNNNNNNNNMNNNNNNNNNMNNNNNNM","n":["AllowTypeChange","AlreadyBorrowed","BorrowError","Complex32","Complex64","Element","FromVecError","IS_COPY","IntoPyArray","Ix1","Ix1","Ix2","Ix2","Ix3","Ix3","Ix4","Ix4","Ix5","Ix5","Ix6","Ix6","IxDyn","IxDyn","NotContiguousError","NotWriteable","NpyIndex","PY_ARRAY_API","PY_UFUNC_API","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDescr","PyArrayDescrMethods","PyArrayDyn","PyArrayLike","PyArrayLike0","PyArrayLike1","PyArrayLike2","PyArrayLike3","PyArrayLike4","PyArrayLike5","PyArrayLike6","PyArrayLikeDyn","PyArrayMethods","PyFixedString","PyFixedUnicode","PyReadonlyArray","PyReadonlyArray0","PyReadonlyArray1","PyReadonlyArray2","PyReadonlyArray3","PyReadonlyArray4","PyReadonlyArray5","PyReadonlyArray6","PyReadonlyArrayDyn","PyReadwriteArray","PyReadwriteArray0","PyReadwriteArray1","PyReadwriteArray2","PyReadwriteArray3","PyReadwriteArray4","PyReadwriteArray5","PyReadwriteArray6","PyReadwriteArrayDyn","PyUntypedArray","PyUntypedArrayMethods","ToNpyDims","ToPyArray","TypeMustMatch","alignment","arguments","arguments","arguments","array","array","as_array_ptr","as_array_ptr","as_dtype_ptr","as_dtype_ptr","as_ptr","as_ptr","as_ref","as_ref","base","base","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","byteorder","char","clone","clone","clone_into","clone_into","cmp","cmp","convert","datetime","deref","deref","deref","dot","dot_bound","dtype","dtype","dtype","dtype_bound","einsum","einsum","einsum_bound","einsum_bound","eq","eq","extract_bound","extract_bound","extract_bound","flags","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_borrowed_ptr_or_opt","from_borrowed_ptr_or_opt","from_owned_ptr_or_opt","from_owned_ptr_or_opt","from_py_object_bound","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","get_array_module","get_dtype","get_dtype","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_dtype_bound","get_field","get_field","has_fields","has_object","has_subarray","hash","hash","im","im","inner","inner_bound","into","into","into","into","into","into","into","into","into","into","into_dtype_ptr","into_dtype_ptr","into_py","into_py","into_py","is_aligned_struct","is_c_contiguous","is_contiguous","is_empty","is_equiv_to","is_equiv_to","is_fortran_contiguous","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_native_byteorder","is_type_of","is_type_of_bound","itemsize","kind","len","nalgebra","names","names","ndarray","ndim","ndim","new","new_bound","npyffi","num","object","object_bound","of","of_bound","partial_cmp","partial_cmp","prelude","pyarray","pyarray_bound","pyo3","re","re","shape","shape","shape","strides","to_object","to_object","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from_exact","try_from_exact","try_from_unchecked","try_from_unchecked","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_check","type_check","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_object_raw","type_object_raw","typeobj","typeobj","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDyn","PyArrayMethods","arange","arange_bound","as_array","as_array","as_array_mut","as_array_mut","as_ptr","as_raw_array","as_raw_array","as_raw_array_mut","as_raw_array_mut","as_ref","as_slice","as_slice","as_slice_mut","as_slice_mut","as_untyped","as_untyped","borrow","borrow_from_array","borrow_from_array_bound","borrow_mut","cast","cast","copy_to","copy_to","data","data","deref","dims","dims","extract_bound","fmt","fmt","from","from_array","from_array_bound","from_borrowed_ptr","from_borrowed_ptr_or_opt","from_iter","from_iter_bound","from_owned_array","from_owned_array_bound","from_owned_object_array","from_owned_object_array_bound","from_owned_ptr","from_owned_ptr_or_opt","from_slice","from_slice_bound","from_subset","from_vec","from_vec2","from_vec2_bound","from_vec3","from_vec3_bound","from_vec_bound","get","get","get_array_module","get_mut","get_mut","get_owned","get_owned","into","into_py","into_py","is_in_subset","is_type_of_bound","item","item","new","new_bound","readonly","readonly","readwrite","readwrite","reshape","reshape","reshape_with_order","reshape_with_order","resize","resize","to_dyn","to_dyn","to_object","to_owned","to_owned_array","to_owned_array","to_string","to_subset","to_subset_unchecked","to_vec","to_vec","try_as_matrix","try_as_matrix","try_as_matrix_mut","try_as_matrix_mut","try_from","try_from","try_from_exact","try_from_unchecked","try_into","try_readonly","try_readonly","try_readwrite","try_readwrite","type_check","type_id","type_object_raw","uget","uget","uget_mut","uget_mut","uget_raw","uget_raw","zeros","zeros_bound","PyReadonlyArray","PyReadonlyArray0","PyReadonlyArray1","PyReadonlyArray2","PyReadonlyArray3","PyReadonlyArray4","PyReadonlyArray5","PyReadonlyArray6","PyReadonlyArrayDyn","PyReadwriteArray","PyReadwriteArray0","PyReadwriteArray1","PyReadwriteArray2","PyReadwriteArray3","PyReadwriteArray4","PyReadwriteArray5","PyReadwriteArray6","PyReadwriteArrayDyn","as_array","as_array_mut","as_matrix","as_matrix","as_matrix_mut","as_matrix_mut","as_slice","as_slice_mut","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","deref","deref","drop","drop","extract_bound","extract_bound","fmt","fmt","from","from","from_py_object_bound","from_py_object_bound","from_subset","from_subset","get","get_mut","into","into","is_in_subset","is_in_subset","resize","to_owned","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_as_matrix","try_as_matrix_mut","try_from","try_from","try_into","try_into","type_id","type_id","Dim","Dim","IntoPyArray","Item","Item","NpyIndex","ToNpyDims","ToPyArray","into_pyarray","into_pyarray_bound","to_pyarray","to_pyarray_bound","ABBREV","Datetime","Timedelta","UNIT","Unit","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","eq","eq","fmt","fmt","from","from","from","from","from_subset","from_subset","get_dtype_bound","get_dtype_bound","hash","hash","into","into","is_in_subset","is_in_subset","partial_cmp","partial_cmp","to_owned","to_owned","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_into","try_into","type_id","type_id","units","Attoseconds","Days","Femtoseconds","Hours","Microseconds","Milliseconds","Minutes","Months","Nanoseconds","Picoseconds","Seconds","Weeks","Years","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","array","flags","objects","types","ufunc","NPY_NUMUSERTYPES","NpyIter_AdvancedNew","NpyIter_Copy","NpyIter_CreateCompatibleStrides","NpyIter_Deallocate","NpyIter_DebugPrint","NpyIter_EnableExternalLoop","NpyIter_GetAxisStrideArray","NpyIter_GetBufferSize","NpyIter_GetDataPtrArray","NpyIter_GetDescrArray","NpyIter_GetGetMultiIndex","NpyIter_GetIndexPtr","NpyIter_GetInitialDataPtrArray","NpyIter_GetInnerFixedStrideArray","NpyIter_GetInnerLoopSizePtr","NpyIter_GetInnerStrideArray","NpyIter_GetIterIndex","NpyIter_GetIterIndexRange","NpyIter_GetIterNext","NpyIter_GetIterSize","NpyIter_GetIterView","NpyIter_GetNDim","NpyIter_GetNOp","NpyIter_GetOperandArray","NpyIter_GetReadFlags","NpyIter_GetShape","NpyIter_GetWriteFlags","NpyIter_GotoIndex","NpyIter_GotoIterIndex","NpyIter_GotoMultiIndex","NpyIter_HasDelayedBufAlloc","NpyIter_HasExternalLoop","NpyIter_HasIndex","NpyIter_HasMultiIndex","NpyIter_IsBuffered","NpyIter_IsFirstVisit","NpyIter_IsGrowInner","NpyIter_IterationNeedsAPI","NpyIter_MultiNew","NpyIter_New","NpyIter_RemoveAxis","NpyIter_RemoveMultiIndex","NpyIter_RequiresBuffering","NpyIter_Reset","NpyIter_ResetBasePointers","NpyIter_ResetToIterIndexRange","NpyTypes","PY_ARRAY_API","PyArrayAPI","PyArrayDescr_Type","PyArrayFlags_Type","PyArrayIter_Type","PyArrayMultiIter_Type","PyArray_All","PyArray_Any","PyArray_Arange","PyArray_ArangeObj","PyArray_ArgMax","PyArray_ArgMin","PyArray_ArgPartition","PyArray_ArgSort","PyArray_As1D","PyArray_As2D","PyArray_AsCArray","PyArray_AxisConverter","PyArray_BoolConverter","PyArray_Broadcast","PyArray_BroadcastToShape","PyArray_BufferConverter","PyArray_ByteorderConverter","PyArray_Byteswap","PyArray_CanCastArrayTo","PyArray_CanCastSafely","PyArray_CanCastScalar","PyArray_CanCastTo","PyArray_CanCastTypeTo","PyArray_CanCoerceScalar","PyArray_CastAnyTo","PyArray_CastScalarDirect","PyArray_CastScalarToCtype","PyArray_CastTo","PyArray_CastToType","PyArray_CastingConverter","PyArray_Check","PyArray_CheckAnyScalarExact","PyArray_CheckAxis","PyArray_CheckExact","PyArray_CheckFromAny","PyArray_CheckStrides","PyArray_Choose","PyArray_Clip","PyArray_ClipmodeConverter","PyArray_CompareLists","PyArray_CompareString","PyArray_CompareUCS4","PyArray_Compress","PyArray_Concatenate","PyArray_Conjugate","PyArray_ConvertClipmodeSequence","PyArray_ConvertToCommonType","PyArray_Converter","PyArray_CopyAndTranspose","PyArray_CopyAnyInto","PyArray_CopyInto","PyArray_CopyObject","PyArray_Correlate","PyArray_Correlate2","PyArray_CountNonzero","PyArray_CreateSortedStridePerm","PyArray_CumProd","PyArray_CumSum","PyArray_DatetimeStructToDatetime","PyArray_DatetimeToDatetimeStruct","PyArray_DebugPrint","PyArray_DescrAlignConverter","PyArray_DescrAlignConverter2","PyArray_DescrConverter","PyArray_DescrConverter2","PyArray_DescrFromObject","PyArray_DescrFromScalar","PyArray_DescrFromType","PyArray_DescrFromTypeObject","PyArray_DescrNew","PyArray_DescrNewByteorder","PyArray_DescrNewFromType","PyArray_Diagonal","PyArray_Dump","PyArray_Dumps","PyArray_EinsteinSum","PyArray_ElementFromName","PyArray_ElementStrides","PyArray_Empty","PyArray_EnsureAnyArray","PyArray_EnsureArray","PyArray_EquivTypenums","PyArray_EquivTypes","PyArray_FailUnlessWriteable","PyArray_FieldNames","PyArray_FillObjectArray","PyArray_FillWithScalar","PyArray_Flatten","PyArray_Free","PyArray_FromAny","PyArray_FromArray","PyArray_FromArrayAttr","PyArray_FromBuffer","PyArray_FromDims","PyArray_FromDimsAndDataAndDescr","PyArray_FromFile","PyArray_FromInterface","PyArray_FromIter","PyArray_FromScalar","PyArray_FromString","PyArray_FromStructInterface","PyArray_GetArrayParamsFromObject","PyArray_GetCastFunc","PyArray_GetEndianness","PyArray_GetField","PyArray_GetNDArrayCFeatureVersion","PyArray_GetNDArrayCVersion","PyArray_GetNumericOps","PyArray_GetPriority","PyArray_GetPtr","PyArray_INCREF","PyArray_InitArrFuncs","PyArray_InnerProduct","PyArray_IntTupleFromIntp","PyArray_IntpConverter","PyArray_IntpFromSequence","PyArray_Item_INCREF","PyArray_Item_XDECREF","PyArray_IterAllButAxis","PyArray_IterNew","PyArray_LexSort","PyArray_MapIterArray","PyArray_MapIterArrayCopyIfOverlap","PyArray_MapIterNext","PyArray_MapIterSwapAxes","PyArray_MatrixProduct","PyArray_MatrixProduct2","PyArray_Max","PyArray_Mean","PyArray_Min","PyArray_MinScalarType","PyArray_MoveInto","PyArray_MultiplyIntList","PyArray_MultiplyList","PyArray_NeighborhoodIterNew","PyArray_New","PyArray_NewCopy","PyArray_NewFlagsObject","PyArray_NewFromDescr","PyArray_NewLikeArray","PyArray_Newshape","PyArray_Nonzero","PyArray_ObjectType","PyArray_One","PyArray_OrderConverter","PyArray_OutputConverter","PyArray_OverflowMultiplyList","PyArray_Partition","PyArray_Prod","PyArray_PromoteTypes","PyArray_Ptp","PyArray_PutMask","PyArray_PutTo","PyArray_PyIntAsInt","PyArray_PyIntAsIntp","PyArray_Ravel","PyArray_RegisterCanCast","PyArray_RegisterCastFunc","PyArray_RegisterDataType","PyArray_RemoveAxesInPlace","PyArray_RemoveSmallest","PyArray_Repeat","PyArray_Reshape","PyArray_Resize","PyArray_ResolveWritebackIfCopy","PyArray_ResultType","PyArray_Return","PyArray_Round","PyArray_Scalar","PyArray_ScalarAsCtype","PyArray_ScalarFromObject","PyArray_ScalarKind","PyArray_SearchSorted","PyArray_SearchsideConverter","PyArray_SelectkindConverter","PyArray_SetBaseObject","PyArray_SetDatetimeParseFunction","PyArray_SetField","PyArray_SetNumericOps","PyArray_SetStringFunction","PyArray_SetUpdateIfCopyBase","PyArray_SetWritebackIfCopyBase","PyArray_Size","PyArray_Sort","PyArray_SortkindConverter","PyArray_Squeeze","PyArray_Std","PyArray_Sum","PyArray_SwapAxes","PyArray_TakeFrom","PyArray_TimedeltaStructToTimedelta","PyArray_TimedeltaToTimedeltaStruct","PyArray_ToFile","PyArray_ToList","PyArray_ToString","PyArray_Trace","PyArray_Transpose","PyArray_Type","PyArray_TypeObjectFromType","PyArray_TypestrConvert","PyArray_UpdateFlags","PyArray_ValidType","PyArray_View","PyArray_Where","PyArray_XDECREF","PyArray_Zero","PyArray_Zeros","PyBigArray_Type","PyBoolArrType_Type","PyByteArrType_Type","PyCDoubleArrType_Type","PyCFloatArrType_Type","PyCLongDoubleArrType_Type","PyCharacterArrType_Type","PyComplexFloatingArrType_Type","PyDataMem_FREE","PyDataMem_NEW","PyDataMem_NEW_ZEROED","PyDataMem_RENEW","PyDataMem_SetEventHook","PyDoubleArrType_Type","PyFlexibleArrType_Type","PyFloatArrType_Type","PyFloatingArrType_Type","PyGenericArrType_Type","PyInexactArrType_Type","PyIntArrType_Type","PyIntegerArrType_Type","PyLongArrType_Type","PyLongDoubleArrType_Type","PyLongLongArrType_Type","PyNumberArrType_Type","PyObjectArrType_Type","PyShortArrType_Type","PySignedIntegerArrType_Type","PyStringArrType_Type","PyUByteArrType_Type","PyUIntArrType_Type","PyULongArrType_Type","PyULongLongArrType_Type","PyUShortArrType_Type","PyUnicodeArrType_Type","PyUnsignedIntegerArrType_Type","PyVoidArrType_Type","_PyArrayScalar_BoolValues","_PyArray_GetSigintBuf","_PyArray_SigintHandler","borrow","borrow","borrow_mut","borrow_mut","from","from","from_subset","from_subset","get_type_object","into","into","is_in_subset","is_in_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_into","try_into","type_id","type_id","NPY_ALIGNED_STRUCT","NPY_ARRAY_ALIGNED","NPY_ARRAY_BEHAVED","NPY_ARRAY_BEHAVED_NS","NPY_ARRAY_CARRAY","NPY_ARRAY_CARRAY_RO","NPY_ARRAY_C_CONTIGUOUS","NPY_ARRAY_DEFAULT","NPY_ARRAY_ELEMENTSTRIDES","NPY_ARRAY_ENSUREARRAY","NPY_ARRAY_ENSURECOPY","NPY_ARRAY_FARRAY","NPY_ARRAY_FARRAY_RO","NPY_ARRAY_FORCECAST","NPY_ARRAY_F_CONTIGUOUS","NPY_ARRAY_INOUT_ARRAY","NPY_ARRAY_INOUT_ARRAY2","NPY_ARRAY_INOUT_FARRAY","NPY_ARRAY_INOUT_FARRAY2","NPY_ARRAY_IN_ARRAY","NPY_ARRAY_IN_FARRAY","NPY_ARRAY_NOTSWAPPED","NPY_ARRAY_OUT_ARRAY","NPY_ARRAY_OUT_FARRAY","NPY_ARRAY_OWNDATA","NPY_ARRAY_UPDATEIFCOPY","NPY_ARRAY_UPDATE_ALL","NPY_ARRAY_WRITEABLE","NPY_ARRAY_WRITEBACKIFCOPY","NPY_FROM_FIELDS","NPY_ITEM_HASOBJECT","NPY_ITEM_IS_POINTER","NPY_ITEM_REFCOUNT","NPY_ITER_ALIGNED","NPY_ITER_ALLOCATE","NPY_ITER_ARRAYMASK","NPY_ITER_BUFFERED","NPY_ITER_COMMON_DTYPE","NPY_ITER_CONTIG","NPY_ITER_COPY","NPY_ITER_COPY_IF_OVERLAP","NPY_ITER_C_INDEX","NPY_ITER_DELAY_BUFALLOC","NPY_ITER_DONT_NEGATE_STRIDES","NPY_ITER_EXTERNAL_LOOP","NPY_ITER_F_INDEX","NPY_ITER_GLOBAL_FLAGS","NPY_ITER_GROWINNER","NPY_ITER_MULTI_INDEX","NPY_ITER_NBO","NPY_ITER_NO_BROADCAST","NPY_ITER_NO_SUBTYPE","NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE","NPY_ITER_PER_OP_FLAGS","NPY_ITER_RANGED","NPY_ITER_READONLY","NPY_ITER_READWRITE","NPY_ITER_REDUCE_OK","NPY_ITER_REFS_OK","NPY_ITER_UPDATEIFCOPY","NPY_ITER_VIRTUAL","NPY_ITER_WRITEMASKED","NPY_ITER_WRITEONLY","NPY_ITER_ZEROSIZE_OK","NPY_LIST_PICKLE","NPY_NEEDS_INIT","NPY_NEEDS_PYAPI","NPY_OBJECT_DTYPE_FLAGS","NPY_USE_GETITEM","NPY_USE_SETITEM","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","None","NpyAuxData","NpyAuxData_CloneFunc","NpyAuxData_FreeFunc","NpyIter","NpyIter_GetMultiIndexFunc","NpyIter_IterNextFunc","PyArrayFlagsObject","PyArrayInterface","PyArrayIterObject","PyArrayMapIterObject","PyArrayMultiIterObject","PyArrayNeighborhoodIterObject","PyArrayObject","PyArray_ArgFunc","PyArray_ArgPartitionFunc","PyArray_ArgSortFunc","PyArray_ArrFuncs","PyArray_ArrayDescr","PyArray_Chunk","PyArray_CompareFunc","PyArray_CopySwapFunc","PyArray_CopySwapNFunc","PyArray_DatetimeDTypeMetaData","PyArray_DatetimeMetaData","PyArray_Descr","PyArray_Dims","PyArray_DotFunc","PyArray_FastClipFunc","PyArray_FastPutmaskFunc","PyArray_FastTakeFunc","PyArray_FillFunc","PyArray_FillWithScalarFunc","PyArray_FromStrFunc","PyArray_GetItemFunc","PyArray_NonzeroFunc","PyArray_PartitionFunc","PyArray_ScalarKindFunc","PyArray_ScanFunc","PyArray_SetItemFunc","PyArray_SortFunc","PyArray_VectorUnaryFunc","PyDataMem_EventHookFunc","PyUFuncGenericFunction","PyUFuncObject","PyUFunc_LegacyInnerLoopSelectionFunc","PyUFunc_MaskedInnerLoopSelectionFunc","PyUFunc_MaskedStridedInnerLoopFunc","PyUFunc_TypeResolutionFunc","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","Some","_internal_iter","ait","alignment","ao","ao","argmax","argmin","argsort","arr","array","backstrides","backstrides","base","base","base","base","base","baseoffset","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bounds","bounds","byteorder","c_metadata","cancastscalarkindto","cancastto","cast","castdict","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","compare","consec","constant","contiguous","contiguous","coordinates","coordinates","copyswap","copyswapn","core_dim_ixs","core_enabled","core_num_dim_ix","core_num_dims","core_offsets","core_signature","data","data","data","dataptr","dataptr","dataptr","descr","descr","dimensions","dimensions","dimensions","dimensions","dims_m1","dims_m1","doc","dotfunc","elsize","extra_op","extra_op_dtype","extra_op_flags","extra_op_iter","extra_op_next","extra_op_ptrs","f","factors","factors","fancy_dims","fancy_strides","fastclip","fastputmask","fasttake","fields","fill","fillwithscalar","flags","flags","flags","flags","flags","fmt","free","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","fromstr","functions","getitem","hash","identity","index","index","index","index","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","itemsize","iter_count","iter_flags","iteraxes","iters","kind","legacy_inner_loop_selector","len","len","limits","limits","limits_sizes","limits_sizes","masked_inner_loop_selector","meta","metadata","mode","name","names","nargs","nd","nd","nd","nd","nd","nd_fancy","nd_m1","nd_m1","needs_api","nin","nonzero","nout","npy_iter_get_dataptr_t","ntypes","num","numiter","numiter","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","ob_base","obj","op_flags","outer","outer_next","outer_ptrs","outer_strides","ptr","ptr","ptr","reserved","reserved1","reserved2","scalarkind","scanfunc","setitem","shape","shape","size","size","size","size","sort","strides","strides","strides","strides","subarray","subspace","subspace_iter","subspace_next","subspace_ptrs","subspace_strides","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","translate","translate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","two","type_","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_num","type_resolver","typekind","typeobj","types","unused","userloops","weakreflist","NPY_ANYORDER","NPY_BIG","NPY_BOOL","NPY_BOOLLTR","NPY_BOOL_SCALAR","NPY_BYTE","NPY_BYTELTR","NPY_BYTEORDER_CHAR","NPY_CASTING","NPY_CDOUBLE","NPY_CDOUBLELTR","NPY_CFLOAT","NPY_CFLOATLTR","NPY_CHAR","NPY_CHARLTR","NPY_CLIP","NPY_CLIPMODE","NPY_CLONGDOUBLE","NPY_CLONGDOUBLELTR","NPY_COMPLEXLTR","NPY_COMPLEX_SCALAR","NPY_CORDER","NPY_DATETIME","NPY_DATETIMELTR","NPY_DATETIMEUNIT","NPY_DOUBLE","NPY_DOUBLELTR","NPY_EQUIV_CASTING","NPY_FLOAT","NPY_FLOATINGLTR","NPY_FLOATLTR","NPY_FLOAT_SCALAR","NPY_FORTRANORDER","NPY_FR_D","NPY_FR_GENERIC","NPY_FR_M","NPY_FR_W","NPY_FR_Y","NPY_FR_as","NPY_FR_fs","NPY_FR_h","NPY_FR_m","NPY_FR_ms","NPY_FR_ns","NPY_FR_ps","NPY_FR_s","NPY_FR_us","NPY_GENBOOLLTR","NPY_HALF","NPY_HALFLTR","NPY_HEAPSORT","NPY_IGNORE","NPY_INT","NPY_INTLTR","NPY_INTNEG_SCALAR","NPY_INTPLTR","NPY_INTPOS_SCALAR","NPY_INTROSELECT","NPY_KEEPORDER","NPY_LITTLE","NPY_LONG","NPY_LONGDOUBLE","NPY_LONGDOUBLELTR","NPY_LONGLONG","NPY_LONGLONGLTR","NPY_LONGLTR","NPY_MERGESORT","NPY_NATBYTE","NPY_NATIVE","NPY_NOSCALAR","NPY_NOTYPE","NPY_NO_CASTING","NPY_NTYPES","NPY_OBJECT","NPY_OBJECTLTR","NPY_OBJECT_SCALAR","NPY_OPPBYTE","NPY_ORDER","NPY_QUICKSORT","NPY_RAISE","NPY_SAFE_CASTING","NPY_SAME_KIND_CASTING","NPY_SCALARKIND","NPY_SEARCHLEFT","NPY_SEARCHRIGHT","NPY_SEARCHSIDE","NPY_SELECTKIND","NPY_SHORT","NPY_SHORTLTR","NPY_SIGNEDLTR","NPY_SORTKIND","NPY_STRING","NPY_STRINGLTR","NPY_STRINGLTR2","NPY_SWAP","NPY_TIMEDELTA","NPY_TIMEDELTALTR","NPY_TYPECHAR","NPY_TYPEKINDCHAR","NPY_TYPES","NPY_UBYTE","NPY_UBYTELTR","NPY_UINT","NPY_UINTLTR","NPY_UINTPLTR","NPY_ULONG","NPY_ULONGLONG","NPY_ULONGLONGLTR","NPY_ULONGLTR","NPY_UNICODE","NPY_UNICODELTR","NPY_UNSAFE_CASTING","NPY_UNSIGNEDLTR","NPY_USERDEF","NPY_USHORT","NPY_USHORTLTR","NPY_VOID","NPY_VOIDLTR","NPY_WRAP","as_","as_","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","day","day","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","from_subset","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hour","imag","imag","imag","imag","imag","imag","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","is_in_subset","min","month","npy_bool","npy_byte","npy_cdouble","npy_cfloat","npy_char","npy_clongdouble","npy_complex128","npy_complex256","npy_complex64","npy_datetime","npy_datetimestruct","npy_double","npy_float","npy_float128","npy_float16","npy_float32","npy_float64","npy_half","npy_hash_t","npy_int","npy_int16","npy_int32","npy_int64","npy_int8","npy_intp","npy_long","npy_longdouble","npy_longlong","npy_short","npy_stride_sort_item","npy_timedelta","npy_timedeltastruct","npy_ubyte","npy_ucs4","npy_uint","npy_uint16","npy_uint32","npy_uint64","npy_uint8","npy_uintp","npy_ulong","npy_ulonglong","npy_ushort","partial_cmp","perm","ps","ps","real","real","real","real","real","real","sec","sec","stride","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","to_subset_unchecked","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","us","us","year","PY_UFUNC_API","PyUFuncAPI","PyUFunc_DD_D","PyUFunc_D_D","PyUFunc_DefaultTypeResolver","PyUFunc_FF_F","PyUFunc_FF_F_As_DD_D","PyUFunc_F_F","PyUFunc_F_F_As_D_D","PyUFunc_FromFuncAndData","PyUFunc_FromFuncAndDataAndSignature","PyUFunc_FromFuncAndDataAndSignatureAndIdentity","PyUFunc_GG_G","PyUFunc_G_G","PyUFunc_GenericFunction","PyUFunc_GetPyValues","PyUFunc_OO_O","PyUFunc_OO_O_method","PyUFunc_O_O","PyUFunc_O_O_method","PyUFunc_On_Om","PyUFunc_RegisterLoopForDescr","PyUFunc_RegisterLoopForType","PyUFunc_ReplaceLoopBySignature","PyUFunc_SetUsesArraysAsData","PyUFunc_ValidateCasting","PyUFunc_checkfperr","PyUFunc_clearfperr","PyUFunc_d_d","PyUFunc_dd_d","PyUFunc_e_e","PyUFunc_e_e_As_d_d","PyUFunc_e_e_As_f_f","PyUFunc_ee_e","PyUFunc_ee_e_As_dd_d","PyUFunc_ee_e_As_ff_f","PyUFunc_f_f","PyUFunc_f_f_As_d_d","PyUFunc_ff_f","PyUFunc_ff_f_As_dd_d","PyUFunc_g_g","PyUFunc_getfperr","PyUFunc_gg_g","PyUFunc_handlefperr","borrow","borrow_mut","from","from_subset","into","is_in_subset","to_subset","to_subset_unchecked","try_from","try_into","type_id","IntoPyArray","PyArray0Methods","PyArrayDescrMethods","PyArrayMethods","PyUntypedArrayMethods","ToPyArray","alignment","alignment","alignment","as_array_ptr","as_dtype_ptr","base","byteorder","byteorder","byteorder","char","char","char","dtype","flags","flags","flags","get_field","has_fields","has_fields","has_fields","has_object","has_object","has_object","has_subarray","has_subarray","has_subarray","into_dtype_ptr","is_aligned_struct","is_aligned_struct","is_aligned_struct","is_c_contiguous","is_c_contiguous","is_c_contiguous","is_contiguous","is_contiguous","is_contiguous","is_empty","is_empty","is_empty","is_equiv_to","is_fortran_contiguous","is_fortran_contiguous","is_fortran_contiguous","is_native_byteorder","is_native_byteorder","is_native_byteorder","itemsize","itemsize","itemsize","kind","kind","kind","len","len","len","names","ndim","ndim","ndim","ndim","ndim","ndim","num","num","num","shape","shape","shape","shape","strides","strides","strides","typeobj"],"q":[[0,"numpy"],[341,"numpy::array"],[469,"numpy::borrow"],[535,"numpy::convert"],[547,"numpy::datetime"],[595,"numpy::datetime::units"],[855,"numpy::npyffi"],[860,"numpy::npyffi::array"],[1184,"numpy::npyffi::flags"],[1254,"numpy::npyffi::objects"],[1786,"numpy::npyffi::types"],[2267,"numpy::npyffi::ufunc"],[2322,"numpy::prelude"],[2401,"ndarray::dimension::dim"],[2402,"ndarray::dimension::dynindeximpl"],[2403,"pyo3::marker"],[2404,"pyo3::instance"],[2405,"pyo3_ffi::object"],[2406,"pyo3::types::any"],[2407,"pyo3::instance"],[2408,"ndarray::dimension::dimension_trait"],[2409,"pyo3::err"],[2410,"pyo3::instance"],[2411,"core::fmt"],[2412,"core::fmt"],[2413,"core::fmt"],[2414,"pyo3_ffi::unicodeobject"],[2415,"pyo3::err"],[2416,"pyo3::instance"],[2417,"alloc::vec"],[2418,"pyo3::conversion"],[2419,"core::marker"],[2420,"std::os::raw"],[2421,"core::any"],[2422,"pyo3_ffi::cpython::object"],[2423,"pyo3::types::typeobject"],[2424,"num_traits::cast"],[2425,"ndarray"],[2426,"ndarray"],[2427,"core::iter::traits::collect"],[2428,"ndarray"],[2429,"ndarray::aliases"],[2430,"core::marker"],[2431,"nalgebra::base::matrix_view"],[2432,"nalgebra::base::scalar"],[2433,"nalgebra::base::dimension"],[2434,"nalgebra::base::matrix_view"],[2435,"nalgebra::base::alias_view"],[2436,"core::cmp"],[2437,"std::os::raw"]],"d":["Marker type to indicate that the element type received via …","The given array is already borrowed","Inidcates why borrowing an array failed.","","","Represents that a type can be an element of PyArray.","Represents that given Vec cannot be treated as an array.","Flag that indicates whether this type is trivially …","","Create a one-dimensional index","one-dimensional","Create a two-dimensional index","two-dimensional","Create a three-dimensional index","three-dimensional","Create a four-dimensional index","four-dimensional","Create a five-dimensional index","five-dimensional","Create a six-dimensional index","six-dimensional","Create a dynamic-dimensional index","dynamic-dimensional","Represents that the given array is not contiguous.","The given array is not writeable","","","","","","","","","","","","","Binding of numpy.dtype.","Implementation of functionality for PyArrayDescr.","","Receiver for arrays or array-like types.","Receiver for zero-dimensional arrays or array-like types.","Receiver for one-dimensional arrays or array-like types.","Receiver for two-dimensional arrays or array-like types.","Receiver for three-dimensional arrays or array-like types.","Receiver for four-dimensional arrays or array-like types.","Receiver for five-dimensional arrays or array-like types.","Receiver for six-dimensional arrays or array-like types.","Receiver for arrays or array-like types whose …","","A newtype wrapper around [u8; N] to handle byte scalars …","A newtype wrapper around [PyUCS4; N] to handle str_ scalars…","","","","","","","","","","","","","","","","","","","A safe, untyped wrapper for NumPy’s ndarray class.","Implementation of functionality for PyUntypedArray.","","","Marker type to indicate that the element type received via …","Returns the required alignment (bytes) of this type …","","","","Safe interface for NumPy’s N-dimensional arrays","Create an Array with one, two or three dimensions.","Returns a raw pointer to the underlying PyArrayObject.","Returns a raw pointer to the underlying PyArrayObject.","Returns self as *mut PyArray_Descr.","Returns self as *mut PyArray_Descr.","Gets the underlying FFI pointer, returns a borrowed …","Gets the underlying FFI pointer, returns a borrowed …","","","Returns the type descriptor for the base element of …","Returns the type descriptor for the base element of …","Types to safely create references into NumPy arrays","","","","","","","","","","","","","","","","","","","","","Returns an ASCII character indicating the byte-order of …","Returns a unique ASCII character for each of the 21 …","","","","","","","Defines conversion traits between Rust types and NumPy …","Support datetimes and timedeltas","","","","Deprecated form of dot_bound","Return the dot product of two arrays.","Returns the type descriptor (“dtype”) for a registered …","Returns the dtype of the array.","Returns the dtype of the array.","Returns the type descriptor (“dtype”) for a registered …","Deprecated form of einsum_bound","Deprecated form of einsum_bound!","Return the Einstein summation convention of given tensors.","Return the Einstein summation convention of given tensors.","","","","","","Returns bit-flags describing how this type descriptor is …","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Returns the associated type descriptor (“dtype”) for …","Returns the associated type descriptor (“dtype”) for …","Returns the associated type descriptor (“dtype”) for …","","","","","Returns the type descriptor and offset of the field with …","Returns the type descriptor and offset of the field with …","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor contains any …","Returns true if the type descriptor is a sub-array.","","","Imaginary portion of the complex number","Imaginary portion of the complex number","Deprecated form of inner_bound","Return the inner product of two arrays.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns self as *mut PyArray_Descr while increasing the …","Returns self as *mut PyArray_Descr while increasing the …","","","","Returns true if the type descriptor is a struct which …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the there are no elements in the array.","Returns true if two type descriptors are equivalent.","Returns true if two type descriptors are equivalent.","Returns true if the internal data of the array is …","","","","","","","","","","","Returns true if type descriptor byteorder is native, or …","","","Returns the element size of this type descriptor.","Returns an ASCII character (one of biufcmMOSUV) …","Calculates the total number of elements in the array.","","Returns an ordered list of field names, or None if there …","Returns an ordered list of field names, or None if there …","","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions of the array.","Creates a new type descriptor (“dtype”) object from an …","Creates a new type descriptor (“dtype”) object from an …","Low-Level bindings for NumPy C API.","Returns a unique number for each of the 21 different …","Shortcut for creating a type descriptor of object type.","Shortcut for creating a type descriptor of object type.","Returns the type descriptor for a registered type.","Returns the type descriptor for a registered type.","","","A prelude","Deprecated form of pyarray_bound","Create a PyArray with one, two or three dimensions.","","Real portion of the complex number","Real portion of the complex number","Returns the shape of the sub-array.","Returns the shape of the sub-array.","Returns a slice which contains dimmensions of the array.","Returns a slice indicating how many bytes to advance when …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the array scalar corresponding to this type …","Returns the array scalar corresponding to this type …","A safe, statically-typed wrapper for NumPy’s ndarray …","Zero-dimensional array.","Implementation of functionality for PyArray0<T>.","One-dimensional array.","Two-dimensional array.","Three-dimensional array.","Four-dimensional array.","Five-dimensional array.","Six-dimensional array.","Dynamic-dimensional array.","Implementation of functionality for PyArray<T, D>.","Deprecated form of PyArray<T, Ix1>::arange_bound","Return evenly spaced values within a given interval.","Returns an ArrayView of the internal array.","Returns an ArrayView of the internal array.","Returns an ArrayViewMut of the internal array.","Returns an ArrayViewMut of the internal array.","","Returns the internal array as RawArrayView enabling …","Returns the internal array as RawArrayView enabling …","Returns the internal array as RawArrayViewMut enabling …","Returns the internal array as RawArrayViewMut enabling …","","Returns an immutable view of the internal data as a slice.","Returns an immutable view of the internal data as a slice.","Returns a mutable view of the internal data as a slice.","Returns a mutable view of the internal data as a slice.","Access an untyped representation of this array.","Access an untyped representation of this array.","","Deprecated form of PyArray<T, D>::borrow_from_array_bound","Creates a NumPy array backed by array and ties its …","","Cast the PyArray<T> to PyArray<U>, by allocating a new …","Cast the PyArray<T> to PyArray<U>, by allocating a new …","Copies self into other, performing a data type conversion …","Copies self into other, performing a data type conversion …","Returns a pointer to the first element of the array.","Returns a pointer to the first element of the array.","","Same as shape, but returns D instead of &[usize].","Same as shape, but returns D instead of &[usize].","","","","Returns the argument unchanged.","Deprecated form of PyArray<T, D>::from_array_bound","Construct a NumPy array from a ndarray::ArrayBase.","Constructs a reference to a PyArray from a raw point to a …","","Deprecated form of PyArray<T, Ix1>::from_iter_bound","Construct a one-dimensional array from an Iterator.","Deprecated form of PyArray<T, D>::from_owned_array_bound","Constructs a NumPy from an ndarray::Array","Deprecated form of …","Construct a NumPy array containing objects stored in a …","Constructs a reference to a PyArray from a raw pointer to …","","Deprecated form of PyArray<T, Ix1>::from_slice_bound","Construct a one-dimensional array from a slice.","","Deprecated form of PyArray<T, Ix1>::from_vec_bound","Deprecated form of PyArray<T, Ix2>::from_vec2_bound","Construct a two-dimension array from a Vec<Vec<T>>.","Deprecated form of PyArray<T, Ix3>::from_vec3_bound","Construct a three-dimensional array from a Vec<Vec<Vec<T>>>…","Construct a one-dimensional array from a Vec<T>.","Get a reference of the specified element if the given …","Get a reference of the specified element if the given …","Returns a handle to NumPy’s multiarray module.","Same as get, but returns Option<&mut T>.","Same as get, but returns Option<&mut T>.","Get a copy of the specified element in the array.","Get a copy of the specified element in the array.","Calls U::from(self).","","","","","Get the single element of a zero-dimensional array.","Get the single element of a zero-dimensional array.","Deprecated form of PyArray<T, D>::new_bound","Creates a new uninitialized NumPy array.","Get an immutable borrow of the NumPy array","Get an immutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Special case of reshape_with_order which keeps the memory …","Special case of reshape_with_order which keeps the memory …","Construct a new array which has same values as self, but …","Construct a new array which has same values as self, but …","Extends or truncates the dimensions of an array.","Extends or truncates the dimensions of an array.","Turn an array with fixed dimensionality into one with …","Turn an array with fixed dimensionality into one with …","","Turn &PyArray<T,D> into Py<PyArray<T,D>>, i.e. a pointer …","Get a copy of the array as an ndarray::Array.","Get a copy of the array as an ndarray::Array.","","","","Returns a copy of the internal data of the array as a Vec.","Returns a copy of the internal data of the array as a Vec.","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixViewMut …","Try to convert this array into a nalgebra::MatrixViewMut …","","","","","","Get an immutable borrow of the NumPy array","Get an immutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","Get a mutable borrow of the NumPy array","","","","Get an immutable reference of the specified element, …","Get an immutable reference of the specified element, …","Same as uget, but returns &mut T.","Same as uget, but returns &mut T.","Same as uget, but returns *mut T.","Same as uget, but returns *mut T.","Deprecated form of PyArray<T, D>::zeros_bound","Construct a new NumPy array filled with zeros.","Read-only borrow of an array.","Read-only borrow of a zero-dimensional array.","Read-only borrow of a one-dimensional array.","Read-only borrow of a two-dimensional array.","Read-only borrow of a three-dimensional array.","Read-only borrow of a four-dimensional array.","Read-only borrow of a five-dimensional array.","Read-only borrow of a six-dimensional array.","Read-only borrow of an array whose dimensionality is …","Read-write borrow of an array.","Read-write borrow of a zero-dimensional array.","Read-write borrow of a one-dimensional array.","Read-write borrow of a two-dimensional array.","Read-write borrow of a three-dimensional array.","Read-write borrow of a four-dimensional array.","Read-write borrow of a five-dimensional array.","Read-write borrow of a six-dimensional array.","Read-write borrow of an array whose dimensionality is …","Provides an immutable array view of the interior of the …","Provides a mutable array view of the interior of the NumPy …","Convert this one-dimensional array into a …","Convert this two-dimensional array into a …","Convert this one-dimensional array into a …","Convert this two-dimensional array into a …","Provide an immutable slice view of the interior of the …","Provide a mutable slice view of the interior of the NumPy …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Provide an immutable reference to an element of the NumPy …","Provide a mutable reference to an element of the NumPy …","Calls U::from(self).","Calls U::from(self).","","","Extends or truncates the dimensions of an array.","","","","","","Try to convert this array into a nalgebra::MatrixView …","Try to convert this array into a nalgebra::MatrixViewMut …","","","","","","","The dimension type of the resulting array.","The dimension type of the resulting array.","Conversion trait from owning Rust types into PyArray.","The element type of resulting array.","The element type of resulting array.","Trait implemented by types that can be used to index an …","Utility trait to specify the dimensions of an array.","Conversion trait from borrowing Rust types to PyArray.","Deprecated form of IntoPyArray::into_pyarray_bound","Consumes self and moves its data into a NumPy array.","Deprecated form of ToPyArray::to_pyarray_bound","Copies the content pointed to by &self into a newly …","The abbrevation used for debug formatting","Corresponds to the datetime64 scalar type","Corresponds to the [timedelta64][scalars-datetime64] …","The matching NumPy datetime unit code","Represents the datetime units supported by NumPy","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","Predefined implementors of the Unit trait","Attoseconds, i.e. 10^-18 seconds","Days, i.e. 24 hours","Femtoseconds, i.e. 10^-15 seconds","Hours, i.e. 60 minutes","Microseconds, i.e. 10^-6 seconds","Milliseconds, i.e. 10^-3 seconds","Minutes, i.e. 60 seconds","Months, i.e. 30 days","Nanoseconds, i.e. 10^-9 seconds","Picoseconds, i.e. 10^-12 seconds","Seconds","Weeks, i.e. 7 days","Years, i.e. 12 months","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Low-Level binding for Array API","","Low-Lebel binding for NumPy C API C-objects","","Low-Level binding for UFunc API","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","All type objects exported by the NumPy API.","A global variable which stores a ‘capsule’ pointer to …","See PY_ARRAY_API for more.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Checks that op is an instance of PyArray or not.","","","Checks that op is an exact instance of PyArray or not.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Get a pointer of the type object assocaited with ty.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","No value.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","Some value of type T.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A global variable which stores a ‘capsule’ pointer to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","Implementation of functionality for PyArrayDescr.","","Implementation of functionality for PyUntypedArray.","","Returns the required alignment (bytes) of this type …","Returns the required alignment (bytes) of this type …","Returns the required alignment (bytes) of this type …","Returns a raw pointer to the underlying PyArrayObject.","Returns self as *mut PyArray_Descr.","Returns the type descriptor for the base element of …","Returns an ASCII character indicating the byte-order of …","Returns an ASCII character indicating the byte-order of …","Returns an ASCII character indicating the byte-order of …","Returns a unique ASCII character for each of the 21 …","Returns a unique ASCII character for each of the 21 …","Returns a unique ASCII character for each of the 21 …","Returns the dtype of the array.","Returns bit-flags describing how this type descriptor is …","Returns bit-flags describing how this type descriptor is …","Returns bit-flags describing how this type descriptor is …","Returns the type descriptor and offset of the field with …","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor is a structured type.","Returns true if the type descriptor contains any …","Returns true if the type descriptor contains any …","Returns true if the type descriptor contains any …","Returns true if the type descriptor is a sub-array.","Returns true if the type descriptor is a sub-array.","Returns true if the type descriptor is a sub-array.","Returns self as *mut PyArray_Descr while increasing the …","Returns true if the type descriptor is a struct which …","Returns true if the type descriptor is a struct which …","Returns true if the type descriptor is a struct which …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the there are no elements in the array.","Returns true if the there are no elements in the array.","Returns true if the there are no elements in the array.","Returns true if two type descriptors are equivalent.","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if the internal data of the array is …","Returns true if type descriptor byteorder is native, or …","Returns true if type descriptor byteorder is native, or …","Returns true if type descriptor byteorder is native, or …","Returns the element size of this type descriptor.","Returns the element size of this type descriptor.","Returns the element size of this type descriptor.","Returns an ASCII character (one of biufcmMOSUV) …","Returns an ASCII character (one of biufcmMOSUV) …","Returns an ASCII character (one of biufcmMOSUV) …","Calculates the total number of elements in the array.","Calculates the total number of elements in the array.","Calculates the total number of elements in the array.","Returns an ordered list of field names, or None if there …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions if this type descriptor …","Returns the number of dimensions of the array.","Returns the number of dimensions of the array.","Returns the number of dimensions of the array.","Returns a unique number for each of the 21 different …","Returns a unique number for each of the 21 different …","Returns a unique number for each of the 21 different …","Returns the shape of the sub-array.","Returns a slice which contains dimmensions of the array.","Returns a slice which contains dimmensions of the array.","Returns a slice which contains dimmensions of the array.","Returns a slice indicating how many bytes to advance when …","Returns a slice indicating how many bytes to advance when …","Returns a slice indicating how many bytes to advance when …","Returns the array scalar corresponding to this type …"],"i":[0,11,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,10,11,0,0,12,14,15,6,6,14,6,14,15,6,0,6,14,38,40,25,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,6,21,22,21,22,21,22,0,0,6,14,25,0,0,0,12,14,0,0,0,0,0,21,22,6,14,25,6,6,6,14,14,38,40,25,7,7,10,10,11,11,21,21,22,22,6,14,38,40,25,7,10,11,21,21,22,22,6,14,6,14,25,6,14,38,40,25,7,10,11,21,22,0,26,26,26,167,168,21,22,15,6,6,6,6,21,22,167,168,0,0,6,14,38,40,25,7,10,11,21,22,15,6,6,14,14,6,14,14,14,15,6,14,6,14,38,40,25,7,10,11,21,22,6,6,14,6,6,14,0,15,6,0,6,14,6,6,0,6,6,6,6,6,21,22,0,0,0,0,167,168,15,6,14,14,6,14,21,22,6,14,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,14,38,40,25,7,10,11,21,22,6,6,14,14,38,40,25,7,10,11,21,22,6,14,6,14,6,14,38,40,25,7,10,11,21,22,6,14,6,14,38,40,25,7,10,11,21,22,6,14,15,6,0,0,0,0,0,0,0,0,0,0,0,28,28,63,28,63,28,28,63,28,63,28,28,28,63,28,63,63,28,28,28,28,28,63,28,63,28,63,28,28,28,63,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,63,28,0,63,28,28,63,28,28,28,28,28,28,81,28,28,28,63,28,63,28,63,63,28,63,28,63,28,28,28,28,63,28,28,28,28,63,63,28,63,28,28,28,28,28,28,63,28,63,28,28,28,28,28,63,28,63,28,63,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,83,84,83,83,84,84,83,84,83,84,83,84,83,83,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,83,84,84,83,83,84,83,84,83,84,83,84,83,84,83,84,93,94,0,93,94,0,0,0,93,93,94,94,97,0,0,97,0,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,95,98,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,95,98,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,104,105,106,107,108,109,110,111,112,113,114,115,116,0,0,0,0,0,149,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,0,0,0,149,149,149,149,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,0,117,117,0,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,149,117,117,117,117,117,117,117,117,117,149,149,149,149,149,149,149,149,117,117,117,117,117,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,117,117,117,149,117,149,117,149,117,149,117,117,149,117,149,117,149,117,149,117,149,117,149,117,149,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,169,170,171,172,173,174,175,176,139,177,178,179,180,181,182,183,184,185,186,187,188,166,189,190,191,192,123,122,148,193,194,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,169,170,171,172,173,174,175,176,139,177,178,179,180,181,182,183,184,185,186,187,188,166,189,190,191,192,123,122,148,193,194,195,154,143,16,144,154,141,141,141,151,143,144,154,13,150,129,156,157,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,144,154,16,16,141,141,141,141,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,155,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,141,143,154,144,154,144,154,141,141,153,153,153,153,153,153,13,152,153,144,154,143,13,152,13,128,154,143,144,154,153,141,16,143,143,143,143,143,143,16,144,154,143,143,141,141,141,16,141,141,13,16,151,129,152,121,155,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,141,153,141,16,153,144,128,154,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,152,143,153,143,128,16,153,142,129,144,154,144,154,153,157,16,154,153,16,153,13,152,128,154,143,143,144,154,143,153,141,153,0,153,156,128,143,13,16,151,129,153,144,128,154,143,153,153,143,143,143,143,142,129,153,155,153,153,141,141,141,150,152,144,128,154,143,141,13,152,144,154,16,143,143,143,143,143,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,144,154,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,152,16,13,16,150,141,151,142,129,152,153,121,144,128,154,143,155,156,157,16,153,152,16,153,143,153,13,85,164,161,162,130,161,162,0,0,161,162,161,162,161,162,131,0,161,162,163,130,85,161,162,0,161,162,119,161,163,162,130,85,134,134,134,134,134,134,134,134,134,134,134,134,134,134,163,161,162,126,164,161,162,130,162,130,125,85,164,161,161,162,161,162,162,126,164,164,130,161,119,161,161,162,130,164,0,126,131,119,119,0,145,145,0,0,161,162,163,0,161,162,162,164,161,162,0,0,0,161,162,161,162,162,161,161,162,162,161,162,119,163,161,161,162,161,162,131,135,146,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,161,135,146,85,130,126,145,134,161,125,119,131,164,158,159,160,85,130,126,145,134,161,125,119,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,85,130,126,145,134,161,125,119,131,164,135,196,197,198,158,159,160,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,135,135,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,161,133,135,146,196,197,198,158,159,160,135,146,133,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,158,159,160,85,130,126,145,134,161,125,119,131,135,146,133,162,163,164,135,146,135,0,0,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,165,0,0,0,0,0,0,15,15,15,12,15,15,15,15,15,15,15,15,12,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,12,12,12,12,12,12,12,12,12,15,12,12,12,15,15,15,15,15,15,15,15,15,12,12,12,15,15,15,15,12,12,12,15,15,15,15,12,12,12,12,12,12,15],"f":"`````````{b{{f{{d{b}}}}}}`{{bb}{{f{{d{b}}}}}}`{{bbb}{{f{{d{b}}}}}}`{{bbbb}{{f{{d{b}}}}}}`{{bbbbb}{{f{{d{b}}}}}}`{{bbbbbb}{{f{{d{b}}}}}}`{{{h{b}}}{{f{j}}}}`````````````````````````````````````````````````````{lb}{{nA`}Ab}{{AdA`}Ab}{{AfA`}Ab}``{AhAj}{AlAj}{AnB`}{lB`}{lBb}{AlBb}{lBd}{AlBd}{An{{Bf{l}}}}{ll}`{ce{}{}}0000000000000000000{lBh}0{BjBj}{BlBl}{{ce}Bn{}{}}0{{BjBj}C`}{{BlBl}C`}``:9{{{Cb{ceg}}}iCdCf`{}}{{{Ch{ce}}{Ch{cg}}}{{Cj{i}}}CdCfCf{{`{c}}}}{{{Bf{{Ch{ce}}}}{Bf{{Ch{cg}}}}}{{Cj{i}}}CdCfCf{{`{c}}}}{A`l}{Ah{{Bf{l}}}}{All}{A`{{Bf{l}}}}{{Cl{h{{Ch{cCn}}}}}{{Cj{e}}}Cd{{`{c}}}}`{{Cl{h{{D`{{Ch{cCn}}}}}}}{{Cj{e}}}Cd{{`{c}}}}`{{BjBj}Db}{{BlBl}Db}{{{Bf{Bd}}}{{Cj{l}}}}{{{Bf{Bd}}}{{Cj{Al}}}}{{{Bf{Bd}}}{{Cj{{Cb{ceg}}}}}CdCf`}{lDd}{{lDf}{{Dj{BnDh}}}}0{{AlDf}{{Dj{BnDh}}}}0{{DlDf}Dn}{{E`Df}Dn}{{{Cb{ceg}}Df}Dn{CdEb}{CfEb}{`Eb}}{{nDf}Dn}0{{AdDf}Dn}0{{AfDf}Dn}0{{BjDf}Dn}0{{BlDf}Dn}0{cc{}}00000000{{{d{Ed}}}Bj}{{{d{Ef}}}Bl}2{{A`Bb}{{Eh{c}}}{}}000{{{D`{Bd}}}{{Dj{cEj}}}{}}{ce{}{}}000000000`{A`l}0{A`{{Bf{l}}}}0000{{AnCl}{{Cj{{El{{Bf{l}}b}}}}}}{{lCl}{{Cj{{El{lb}}}}}}{lDb}00{{Bjc}BnEn}{{Blc}BnEn}``{{{Ch{ce}}{Ch{cg}}}{{Cj{i}}}CdCfCf{{`{c}}}}{{{Bf{{Ch{ce}}}}{Bf{{Ch{cg}}}}}{{Cj{i}}}CdCfCf{{`{c}}}}9999999999{AnB`}{lB`}{{lA`}{{F`{l}}}}{{AlA`}Ab}{{AlA`}{{F`{Al}}}}9{AlDb}00{{AnAn}Db}{{ll}Db}2{cDb{}}000000000{l{{Eh{Db}}}}{BdDb}{{{Bf{Bd}}}Db}{lb}{lBh}{Alb}`{An{{Eh{{Fd{Fb}}}}}}{l{{Eh{{Fd{Fb}}}}}}`42{{A`c}{{Cj{l}}}{FfFh}}{{A`c}{{Cj{{Bf{l}}}}}{FfFh}}`{lFj}{A`l}{A`{{Bf{l}}}}10{{BjBj}{{Eh{C`}}}}{{BlBl}{{Eh{C`}}}}``````{An{{Fd{b}}}}{l{{Fd{b}}}}{Al{{h{b}}}}{Al{{h{Fl}}}}{{lA`}Ab}{{AlA`}Ab}{ce{}{}}0{cFb{}}000000{c{{Eh{e}}}{}{}}0000000002222222222{c{{Dj{e}}}{}{}}{c{{Dj{eFn}}}{{G`{Bd}}}{}}101111111100{ce{{G`{Bd}}}{}}02222222222{{{Bf{Bd}}}Db}0{cGb{}}000000000{A`Gd}0{An{{Bf{Gf}}}}{lGf}```````````{{A`ccc}{{Ch{cGh}}}{Cd{Gl{Gj}}}}{{A`ccc}{{Bf{{Ch{cGh}}}}}{Cd{Gl{Gj}}}}{Gn{{H`{ce}}}CdCf}{{{Ch{ce}}}{{H`{ce}}}CdCf}{Gn{{Hb{ce}}}CdCf}{{{Ch{ce}}}{{Hb{ce}}}CdCf}{{{Ch{ce}}}Bb{}{}}{Gn{{Hd{ce}}}CdCf}{{{Ch{ce}}}{{Hd{ce}}}CdCf}{Gn{{Hf{ce}}}CdCf}{{{Ch{ce}}}{{Hf{ce}}}CdCf}{{{Ch{ce}}}Bd{}{}}{{{Ch{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{Gn{{Dj{{h{c}}Ad}}}Cd}10{Gn{{Bf{Al}}}}{{{Ch{ce}}}Al{}{}}{ce{}{}}{{{Hh{eg}}Bd}{{Ch{cg}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{{Hh{eg}}{Bf{Bd}}}{{Bf{{Ch{cg}}}}}Cd{{Hl{}{{Hj{c}}}}}Cf}2{{GnDb}{{Cj{{Bf{{Ch{ce}}}}}}}Cd{}}{{{Ch{ce}}Db}{{Cj{{Ch{ge}}}}}Cd{}Cd}{{Gn{Bf{{Ch{ce}}}}}{{Cj{Bn}}}Cd{}}{{{Ch{ce}}{Ch{ge}}}{{Cj{Bn}}}Cd{}Cd}{Gn}{{{Ch{ce}}}{}{}{}}{{{Ch{ce}}}g{}{}{}}{{{Ch{ce}}}eCdCf}{GncCf}{{{Bf{Bd}}}{{Cj{{Ch{ce}}}}}CdCf}{{{Ch{ce}}Df}{{Dj{BnDh}}}{}{}}0{cc{}}{{A`{Hh{eg}}}{{Ch{cg}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{A`{Hh{eg}}}{{Bf{{Ch{cg}}}}}Cd{{Hl{}{{Hj{c}}}}}Cf}{{A`Bb}{{Ch{ce}}}{}{}}{{A`Bb}{{Eh{c}}}{}}{{A`e}{{Ch{cGh}}}Cd{{I`{}{{Hn{c}}}}}}{{A`e}{{Bf{{Ch{cGh}}}}}Cd{{I`{}{{Hn{c}}}}}}{{A`{Ib{ce}}}{{Ch{ce}}}CdCf}{{A`{Ib{ce}}}{{Bf{{Ch{ce}}}}}CdCf}{{A`{Ib{{F`{c}}e}}}{{Ch{Abe}}}{}Cf}{{A`{Ib{{F`{c}}e}}}{{Bf{{Ch{Abe}}}}}{}Cf}76{{A`{h{c}}}{{Ch{cGh}}}Cd}{{A`{h{c}}}{{Bf{{Ch{cGh}}}}}Cd}{ce{}{}}{{A`{Fd{c}}}{{Ch{cGh}}}Cd}{{A`{h{{Fd{c}}}}}{{Dj{{Ch{cId}}n}}}Cd}{{A`{h{{Fd{c}}}}}{{Dj{{Bf{{Ch{cId}}}}n}}}Cd}{{A`{h{{Fd{{Fd{c}}}}}}}{{Dj{{Ch{cIf}}n}}}Cd}{{A`{h{{Fd{{Fd{c}}}}}}}{{Dj{{Bf{{Ch{cIf}}}}n}}}Cd}{{A`{Fd{c}}}{{Bf{{Ch{cGh}}}}}Cd}{{Gne}{{Eh{g}}}Cf{{Ij{}{{Ih{c}}}}}Cd}{{{Ch{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}{A`{{Cj{{Bf{Il}}}}}}21129{{{Ch{ce}}A`}Ab{}{}}{{{Ch{ce}}A`}{{F`{{Ch{ce}}}}}{}{}}{cDb{}}{{{Bf{Bd}}}Db}{{{Ch{cIn}}}c{J`Cd}}{Jbc{CdJ`}}{{A`eDb}{{Ch{gc}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{A`eDb}{{Bf{{Ch{gc}}}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{{Ch{ce}}}{{Jf{ce}}}CdCf}{Gn{{Jf{ce}}}CdCf}{{{Ch{ce}}}{{Jh{ce}}}CdCf}{Gn{{Jh{ce}}}CdCf}{{{Ch{ce}}g}{{Cj{{Ch{c}}}}}Cd{}Jd}{{Gnc}{{Cj{{Bf{{Ch{e}}}}}}}JdCd}{{GncJj}{{Cj{{Bf{{Ch{e}}}}}}}JdCd}{{{Ch{ce}}gJj}{{Cj{{Ch{c}}}}}Cd{}Jd}{{Gnc}{{Cj{Bn}}}Jd}{{{Ch{ce}}g}{{Cj{Bn}}}Cd{}Jd}{Gn{{Bf{{Ch{cCn}}}}}Cd}{{{Ch{ce}}}{{Ch{cCn}}}CdCf}{{{Ch{ce}}A`}Ab{}{}}{{{Ch{ce}}}{{F`{{Ch{ce}}}}}{}{}}{{{Ch{ce}}}{{Ib{ce}}}CdCf}{Gn{{Ib{ce}}}CdCf}{cFb{}}{c{{Eh{e}}}{}{}}{ce{}{}}{{{Ch{ce}}}{{Dj{{Fd{c}}Ad}}}CdCf}{Gn{{Dj{{Fd{c}}Ad}}}Cd}{Gn{{Eh{{Jl{cegik}}}}}{JnCd}K`K`K`K`}{{{Ch{ce}}}{{Eh{{Jl{cgikm}}}}}{JnCd}CfK`K`K`K`}{Gn{{Eh{{Kb{cegik}}}}}{JnCd}K`K`K`K`}{{{Ch{ce}}}{{Eh{{Kb{cgikm}}}}}{JnCd}CfK`K`K`K`}{c{{Dj{e}}}{}{}}{c{{Dj{eFn}}}{{G`{Bd}}}{}}0{ce{{G`{Bd}}}{}}2{Gn{{Dj{{Jf{ce}}Af}}}CdCf}{{{Ch{ce}}}{{Dj{{Jf{ce}}Af}}}CdCf}{Gn{{Dj{{Jh{ce}}Af}}}CdCf}{{{Ch{ce}}}{{Dj{{Jh{ce}}Af}}}CdCf}{{{Bf{Bd}}}Db}{cGb{}}{A`Gd}{{{Ch{ce}}g}cCdCf{{Ij{}{{Ih{e}}}}}}{{Gne}gCf{{Ij{}{{Ih{c}}}}}Cd}10{{{Ch{ce}}g}{}CdCf{{Ij{}{{Ih{e}}}}}}{{Gne}{}Cf{{Ij{}{{Ih{c}}}}}}{{A`eDb}{{Ch{gc}}}Cf{{Jd{}{{Ih{c}}}}}Cd}{{A`eDb}{{Bf{{Ch{gc}}}}}Cf{{Jd{}{{Ih{c}}}}}Cd}``````````````````{{{Jf{ce}}}{{H`{ce}}}CdCf}{{{Jh{ce}}}{{Hb{ce}}}CdCf}{{{Jf{cGh}}}{{Kf{cKdKd}}}{JnCd}}{{{Jf{cId}}}{{Kf{cKdKd}}}{JnCd}}{{{Jh{cGh}}}{{Kh{cKdKd}}}{JnCd}}{{{Jh{cId}}}{{Kh{cKdKd}}}{JnCd}}{{{Jf{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{{{Jh{ce}}}{{Dj{{h{c}}Ad}}}CdCf}{ce{}{}}000{{{Jf{ce}}}{{Jf{ce}}}CdCf}{{ce}Bn{}{}}{{{Jf{ce}}}gCdCf{}}{{{Jh{ce}}}gCdCf{}}{{{Jf{ce}}}BnCdCf}{{{Jh{ce}}}BnCdCf}{{{Bf{Bd}}}{{Cj{{Jf{ce}}}}}CdCf}{{{Bf{Bd}}}{{Cj{{Jh{ce}}}}}CdCf}{{{Jf{ce}}Df}DnCdCf}{{{Jh{ce}}Df}DnCdCf}{cc{}}0{{{D`{Bd}}}{{Dj{cEj}}}{}}0<<{{{Jf{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}{{{Jh{ce}}g}{{Eh{c}}}CdCf{{Ij{}{{Ih{e}}}}}}>>{cDb{}}0{{{Jh{cGh}}e}{{Cj{{Jh{cGh}}}}}CdJd}{ce{}{}}{c{{Eh{e}}}{}{}}011{{{Jf{ce}}}{{Eh{{Jl{cgikm}}}}}{JnCd}CfK`K`K`K`}{{{Jh{ce}}}{{Eh{{Kb{cgikm}}}}}{JnCd}CfK`K`K`K`}{c{{Dj{e}}}{}{}}000{cGb{}}0````````{{{Kj{}{{Hn{c}}{Ih{e}}}}A`}{{Ch{ce}}}CdCf}{{{Kj{}{{Hn{c}}{Ih{e}}}}A`}{{Bf{{Ch{ce}}}}}CdCf}{{{Kl{}{{Hn{c}}{Ih{e}}}}A`}{{Ch{ce}}}CdCf}{{{Kl{}{{Hn{c}}{Ih{e}}}}A`}{{Bf{{Ch{ce}}}}}CdCf}`````9999{{{Kn{c}}}{{Kn{c}}}{L`Lb}}{{{Ld{c}}}{{Ld{c}}}{L`Lb}}{{ce}Bn{}{}}0{{{Kn{c}}{Kn{c}}}C`{LfLb}}{{{Ld{c}}{Ld{c}}}C`{LfLb}}{{{Kn{c}}{Kn{c}}}Db{LhLb}}{{{Ld{c}}{Ld{c}}}Db{LhLb}}{{{Kn{c}}Df}DnLb}{{{Ld{c}}Df}DnLb}{cc{}}{Lj{{Kn{c}}}Lb}1{Lj{{Ld{c}}}Lb}{ce{}{}}0{A`{{Bf{l}}}}0{{{Kn{c}}e}Bn{LlLb}En}{{{Ld{c}}e}Bn{LlLb}En}33{cDb{}}0{{{Kn{c}}{Kn{c}}}{{Eh{C`}}}{LnLb}}{{{Ld{c}}{Ld{c}}}{{Eh{C`}}}{LnLb}}66{c{{Eh{e}}}{}{}}077{c{{Dj{e}}}{}{}}000{cGb{}}0``````````````99999999999999999999999999{M`M`}{MbMb}{MdMd}{MfMf}{MhMh}{MjMj}{MlMl}{MnMn}{N`N`}{NbNb}{NdNd}{NfNf}{NhNh}{{ce}Bn{}{}}000000000000{{M`M`}C`}{{MbMb}C`}{{MdMd}C`}{{MfMf}C`}{{MhMh}C`}{{MjMj}C`}{{MlMl}C`}{{MnMn}C`}{{N`N`}C`}{{NbNb}C`}{{NdNd}C`}{{NfNf}C`}{{NhNh}C`}{{M`M`}Db}{{MbMb}Db}{{MdMd}Db}{{MfMf}Db}{{MhMh}Db}{{MjMj}Db}{{MlMl}Db}{{MnMn}Db}{{N`N`}Db}{{NbNb}Db}{{NdNd}Db}{{NfNf}Db}{{NhNh}Db}{{M`Df}Dn}{{MbDf}Dn}{{MdDf}Dn}{{MfDf}Dn}{{MhDf}Dn}{{MjDf}Dn}{{MlDf}Dn}{{MnDf}Dn}{{N`Df}Dn}{{NbDf}Dn}{{NdDf}Dn}{{NfDf}Dn}{{NhDf}Dn}{cc{}}000000000000{ce{}{}}000000000000{{M`c}BnEn}{{Mbc}BnEn}{{Mdc}BnEn}{{Mfc}BnEn}{{Mhc}BnEn}{{Mjc}BnEn}{{Mlc}BnEn}{{Mnc}BnEn}{{N`c}BnEn}{{Nbc}BnEn}{{Ndc}BnEn}{{Nfc}BnEn}{{Nhc}BnEn}============={cDb{}}000000000000{{M`M`}{{Eh{C`}}}}{{MbMb}{{Eh{C`}}}}{{MdMd}{{Eh{C`}}}}{{MfMf}{{Eh{C`}}}}{{MhMh}{{Eh{C`}}}}{{MjMj}{{Eh{C`}}}}{{MlMl}{{Eh{C`}}}}{{MnMn}{{Eh{C`}}}}{{N`N`}{{Eh{C`}}}}{{NbNb}{{Eh{C`}}}}{{NdNd}{{Eh{C`}}}}{{NfNf}{{Eh{C`}}}}{{NhNh}{{Eh{C`}}}}{ce{}{}}000000000000{c{{Eh{e}}}{}{}}0000000000001111111111111{c{{Dj{e}}}{}{}}0000000000000000000000000{cGb{}}000000000000``````{{NjA`FjAjNlJjNnNlB`FjFjO`O`}Ob}{{NjA`Ob}Ob}{{NjA`ObO`O`}Fj}{{NjA`Ob}Fj}{{NjA`Ob}Bn}1{{NjA`ObFj}O`}{{NjA`Ob}O`}{{NjA`Ob}Dd}{{NjA`Ob}B`}{{NjA`ObDd}Od}32{{NjA`ObO`}Bn}444{{NjA`ObO`O`}Bn}{{NjA`ObDd}Of}6{{NjA`ObO`}Aj}::{{NjA`Ob}Aj}{{NjA`ObDd}Bn}{{NjA`ObO`}Fj}1000{{NjA`Ob}Oh}0000{{NjA`ObFj}Oh}11{{NjA`FjAjNlJjNnNlB`}Ob}{{NjA`AjNlJjNnB`}Ob}{{NjA`ObFj}Fj}{{NjA`Ob}Fj}5{{NjA`ObDd}Fj}{{NjA`ObDdDd}Fj}{{NjA`ObO`O`Dd}Fj}```````{{NjA`AjFjAj}Bb}0{{NjA`GjGjGjFj}Bb}{{NjA`BbBbBbB`}Bb}22{{NjA`AjAjFjOj}Bb}{{NjA`AjFjOl}Bb}{{NjA`BbDdFjFj}Fj}{{NjA`BbDdFjFjFj}Fj}{{NjA`BbOnO`FjB`}Fj}{{NjA`BbFj}Fj}{{NjA`BbOh}Fj}{{NjA`A`}Fj}{{NjA`BbO`Fj}Bb}{{NjA`BbAb}Fj}{{NjA`BbDd}Fj}{{NjA`AjOh}Bb}{{NjA`AjB`Nn}Oh}{{NjA`FjFj}Fj}{{NjA`GdGd}Oh}{{NjA`B`B`}Oh}{{NjA`B`B`Nn}Oh}{{NjA`FjFjAd}Fj}{{NjA`AjAj}Fj}{{NjA`BbB`OnFj}Fj}{{NjA`BbOnB`}Fj}2{{NjA`AjB`Fj}Bb}{{NjA`BbNn}Fj}{{A`Bb}Fj}{{NjA`Bb}Fj}{{NjA`AjFjFj}Bb}2{{NjA`BbB`FjFjFjBb}Bb}{{NjA`FjFjO`O`O`O`}Oh}{{NjA`AjBbAjAf}Bb}{{NjA`AjBbBbAj}Bb}{{NjA`BbAf}Fj}{{NjA`O`O`Fj}Fj}{{NjA`DdDdb}Fj}{{NjA`AhAhb}Fj}{{NjA`AjBbFjAj}Bb}{{NjA`BbFj}Bb}{{NjA`AjAj}Bb}{{NjA`BbAfFj}Fj}{{NjA`BbFj}Aj}{{NjA`BbBb}Fj}{{NjA`Bb}Bb}{{NjA`AjAj}Fj}0{{NjA`AjBb}Fj}{{NjA`BbBbFj}Bb}0{{NjA`Aj}O`}{{NjA`FjO`Aj}Bn}{{NjA`AjFjFjAj}Bb}0{{NjA`AlAn}AA`}{{NjA`AA`AlAn}Bn}{{NjA`Aj}Bn}{{NjA`BbB`}Fj}000{{NjA`BbB`}B`}{{NjA`Bb}B`}{{NjA`Fj}B`}1{{NjA`B`}B`}{{NjA`B`Dd}B`}2{{NjA`AjFjFjFj}Bb}{{NjA`BbBbFj}Fj}{{NjA`BbFj}Bb}{{NjA`DdO`AjB`JjNnAj}Bb}{{NjA`Dd}Fj}{{NjA`Bb}Fj}{{NjA`FjO`B`Fj}Bb}{{NjA`Bb}Bb}0{{NjA`FjFj}AAb}{{NjA`B`B`}AAb}{{NjA`AjDd}Fj}3{{NjA`AjBb}Bn}{{NjA`AjBb}Fj}{{NjA`AjJj}Bb}{{NjA`BbOn}Fj}{{NjA`BbB`FjFjFjBb}Bb}{{NjA`AjB`Fj}Bb}{{NjA`BbB`Bb}Bb}{{NjA`BbB`O`O`}Bb}{{NjA`FjFjFj}Bb}{{NjA`FjFjB`Dd}Bb}{{NjA`AAdB`O`Dd}Bb}>{{NjA`BbB`O`}Bb}{{NjA`BbB`}Bb}{{NjA`DdO`B`O`Dd}Bb}{{NjA`Bb}Bb}{{NjA`BbB`OhB`FjO`AjBb}Fj}{{NjA`B`Fj}AAf}{{NjA`}Fj}<{{NjA`}AAh}0{{NjA`}Bb}{{NjA`BbGj}Gj}{{NjA`AjO`}On}{{NjA`Aj}Fj}{{NjA`AAj}Bn}{{NjA`BbBb}Bb}{{NjA`FjO`}Bb}{{NjA`BbAAl}Fj}{{NjA`BbO`Fj}Fj}{{NjA`DdB`}Bn}0{{NjA`BbFj}Bb}?0{{NjA`AjBb}Bb}{{NjA`AjBbFjAj}Bb}{{NjA`AAn}Bn}{{NjA`AAnAjFj}Bn}9{{NjA`BbBbAj}Bb}{{NjA`AjFjAj}Bb}{{NjA`AjFjFjAj}Bb}1{{NjA`Aj}B`}{{NjA`AjAj}Fj}{{NjA`FjFj}Fj}{{NjA`O`Fj}O`}{{NjA`AB`O`FjAj}Bb}{{NjA`GdFjO`FjO`OnFjFjBb}Bb}{{NjA`AjJj}Bb}{{NjA`Bb}Bb}{{NjA`GdB`FjO`O`OnFjBb}Bb}{{NjA`AjJjB`Fj}Bb}{{NjA`AjAAlJj}Bb}{{NjA`Aj}Bb}{{NjA`BbFj}Fj}{{NjA`Aj}Dd}{{NjA`BbJj}Fj}{{NjA`BbAj}Fj}<{{NjA`AjAjFjOj}Fj}{{NjA`AjFjFjAj}Bb}{{NjA`B`B`}B`}{{NjA`AjFjAj}Bb}{{NjA`AjBbBb}Bb}{{NjA`AjBbBbAf}Bb}{{NjA`Bb}Fj}{{NjA`Bb}O`}{{NjA`AjJj}Bb}{{NjA`B`FjAd}Fj}{{NjA`B`FjAAf}Fj}{{NjA`B`}Fj}{{NjA`AjOh}Bn}{{NjA`A`}Fj}{{NjA`AjBbFj}Bb}{{NjA`AjBb}Bb}{{NjA`AjAAlFjJj}Bb}{{NjA`Aj}Fj}{{NjA`O`AjO`B`}B`}{{NjA`Aj}Bb}{{NjA`AjFjAj}Bb}{{NjA`OnB`Bb}Bb}{{NjA`BbOn}Bn}{{NjA`Bb}Bb}{{NjA`FjAj}Ad}{{NjA`AjBbABbBb}Bb}{{NjA`BbOn}Fj}{{NjA`BbOj}Fj}{{NjA`AjBb}Fj}{{NjA`Bb}Bn}{{NjA`AjB`FjBb}Fj}{{NjA`Bb}Fj}{{NjA`BbFj}Bn}{{NjA`AjAj}Fj}0{{NjA`Bb}O`}{{NjA`AjFjOl}Fj}{{NjA`BbOl}Fj}{{NjA`Aj}Bb}{{NjA`AjFjFjAjFj}Bb}{{NjA`AjFjFjAj}Bb}{{NjA`AjFjFj}Bb}{{NjA`AjBbFjAjAf}Bb}{{NjA`AlABd}AA`}{{NjA`ABfAlABd}Bn}{{NjA`AjAAdDdDd}Fj}7{{NjA`AjJj}Bb}{{NjA`AjFjFjFjFjAj}Bb}{{NjA`AjAAl}Bb}`{{NjA`Fj}Bb}{{NjA`FjFj}Fj}{{NjA`AjFj}Bn}{{NjA`Fj}Fj}{{NjA`AjB`Gd}Bb}{{NjA`BbBbBb}Bb}{{NjA`Aj}Fj}{{NjA`Aj}Dd}{{NjA`FjO`B`Fj}Bb}````````{{NjA`On}Bn}{{NjA`b}On}{{NjA`bb}On}{{NjA`Onb}On}{{NjA`ABhOnOn}ABh}`````````````````````````{{NjA`}On}{{NjA`Fj}Bn}{ce{}{}}000{cc{}}011{{NjA`ABj}Gd}22{cDb{}}0{c{{Eh{e}}}{}{}}044{c{{Dj{e}}}{}{}}000{cGb{}}0````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````6666666666666666666666666666666666````````{AjAj}{B`B`}{ABlABl}{AAjAAj}{ABnABn}{AAlAAl}{AbAb}{AC`AC`}{ACbACb}{ObOb}{AB`AB`}{A`A`}{ACdACd}{AAnAAn}{ACfACf}{AChACh}{ACjACj}`{{ce}Bn{}{}}0000000000000000``````````````````````````````````````````````````````{{ObDf}Dn}`{cc{}}0000000000000000{ce{}{}}0000000000000000`````````00000000000000000{cDb{}}0000000000000000``````````````````````````````````````````````````````````````````````````````11111111111111111{c{{Eh{e}}}{}{}}000000000000000022222222222222222``{c{{Dj{e}}}{}{}}000000000000000000000000000000000``{cGb{}}0000000000000000`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````444444444444444444444444444444444444{AClACl}{ACnACn}{AD`AD`}{JjJj}{AdAd}{OlOl}{ABbABb}{AlAl}{ADbADb}{OjOj}{NnNn}{AfAf}{AnAn}{ABdABd}{AjAj}{ADdADd}{ADfADf}{ADhADh}{{ce}Bn{}{}}00000000000000000{{ADbADb}C`}``{{JjJj}Db}{{AdAd}Db}{{OlOl}Db}{{ABbABb}Db}{{AlAl}Db}{{ADbADb}Db}{{OjOj}Db}{{NnNn}Db}{{AfAf}Db}{{ADhADh}Db}{{AClDf}Dn}{{ACnDf}Dn}{{AD`Df}Dn}{{JjDf}Dn}{{AdDf}Dn}{{OlDf}Dn}{{ABbDf}Dn}{{AlDf}Dn}{{ADbDf}Dn}{{OjDf}Dn}{{NnDf}Dn}{{AnDf}Dn}{{ABdDf}Dn}{{AjDf}Dn}{{ADdDf}Dn}{{ADfDf}Dn}{{ADhDf}Dn}{cc{}}00000000000000000{ce{}{}}00000000000000000{{Jjc}BnEn}{{Adc}BnEn}{{Olc}BnEn}{{ABbc}BnEn}{{Alc}BnEn}{{ADbc}BnEn}{{Ojc}BnEn}{{Nnc}BnEn}{{Afc}BnEn}{{ADhc}BnEn}```````::::::::::::::::::{cDb{}}00000000000000000`````````````````````````````````````````````{{ADbADb}{{Eh{C`}}}}````````````<<<<<<<<<<<<<<<<<<{c{{Eh{e}}}{}{}}00000000000000000=================={c{{Dj{e}}}{}{}}00000000000000000000000000000000000{cGb{}}00000000000000000`````{{ADjA`DdO`O`On}Bn}0{{ADjA`ACbNnAjBbB`}Fj}1111{{ADjA`ADlOnDdFjFjFjFjDdDdFj}Bb}{{ADjA`ADlOnDdFjFjFjFjDdDdFjDd}Bb}{{ADjA`ACbOnDdFjFjFjFjDdDdFjDdDd}Fj}44{{ADjA`ACbBbBbAj}Fj}{{ADjA`DdFjFjBb}Fj}66666{{ADjA`ACbB`ADlB`On}Fj}{{ADjA`ACbFjADlFjOn}Fj}{{ADjA`ACbADlFjADl}Fj}{{ADjA`Onb}Fj}{{ADjA`ACbNnAjB`}Fj}{{ADjA`FjBbFj}Fj}{{ADjA`}Bn}============={{ADjA`}Fj}>{{ADjA`FjBbFjFj}Fj}{ce{}{}}0{cc{}}11{cDb{}}{c{{Eh{e}}}{}{}}3{c{{Dj{e}}}{}{}}0{cGb{}}``````{Anb}00{AhAj}{AnB`}{An{{Bf{l}}}}{AnBh}00000{Ah{{Bf{l}}}}{AnDd}00{{AnCl}{{Cj{{El{{Bf{l}}b}}}}}}{AnDb}000000006000{AhDb}00000000{{AnAn}Db}111{An{{Eh{Db}}}}00;;;777{Ahb}00{An{{Eh{{Fd{Fb}}}}}}===111{AnFj}00{An{{Fd{b}}}}{Ah{{h{b}}}}00{Ah{{h{Fl}}}}00{An{{Bf{Gf}}}}","c":[125,127,131,132,186,187,202,248,252,254,259,352,371,387,389,391,393,395,397,399,402,403,405,422,437,467,543,545],"p":[[1,"usize"],[1,"array"],[5,"Dim",2401],[1,"slice"],[5,"IxDynImpl",2402],[5,"PyArrayDescr",0],[5,"FromVecError",0],[5,"Python",2403],[8,"PyObject",2404],[5,"NotContiguousError",0],[6,"BorrowError",0],[10,"PyUntypedArrayMethods",2322],[5,"PyArrayObject",1254],[5,"PyUntypedArray",0],[10,"PyArrayDescrMethods",2322],[5,"PyArray_Descr",1254],[5,"PyObject",2405],[5,"PyAny",2406],[5,"Bound",2404],[1,"u8"],[5,"PyFixedString",0],[5,"PyFixedUnicode",0],[1,"unit"],[6,"Ordering",2407],[5,"PyArrayLike",0],[10,"Element",0],[10,"Dimension",2408],[5,"PyArray",341],[8,"PyResult",2409],[1,"str"],[8,"IxDyn",0],[5,"Borrowed",2404],[1,"bool"],[8,"c_char",2410],[5,"Formatter",2411],[5,"Error",2411],[6,"Result",2412],[5,"TypeMustMatch",0],[8,"Result",2411],[5,"AllowTypeChange",0],[10,"Debug",2411],[8,"Py_UCS1",2413],[8,"Py_UCS4",2413],[6,"Option",2414],[5,"PyErr",2409],[1,"tuple"],[10,"Hasher",2415],[5,"Py",2404],[5,"String",2416],[5,"Vec",2417],[10,"ToPyObject",2418],[10,"Sized",2419],[8,"c_int",2410],[1,"isize"],[5,"PyDowncastError",2409],[10,"Into",2420],[5,"TypeId",2421],[5,"PyTypeObject",2422],[5,"PyType",2423],[8,"Ix1",0],[1,"f64"],[10,"AsPrimitive",2424],[10,"PyArrayMethods",341],[8,"ArrayView",2425],[8,"ArrayViewMut",2425],[8,"RawArrayView",2425],[8,"RawArrayViewMut",2425],[5,"ArrayBase",2425],[17,"Elem"],[10,"Data",2426],[17,"Item"],[10,"IntoIterator",2427],[8,"Array",2425],[8,"Ix2",0],[8,"Ix3",0],[17,"Dim"],[10,"NpyIndex",535],[5,"PyModule",2428],[8,"Ix0",2429],[10,"Copy",2419],[10,"PyArray0Methods",341],[10,"IntoDimension",2430],[5,"PyReadonlyArray",469],[5,"PyReadwriteArray",469],[6,"NPY_ORDER",1786],[8,"MatrixView",2431],[10,"Scalar",2432],[10,"Dim",2433],[8,"MatrixViewMut",2431],[5,"Dyn",2433],[8,"DMatrixView",2434],[8,"DMatrixViewMut",2434],[10,"IntoPyArray",535],[10,"ToPyArray",535],[5,"Datetime",547],[10,"Clone",2435],[10,"Unit",547],[5,"Timedelta",547],[10,"Ord",2407],[10,"PartialEq",2407],[1,"i64"],[10,"Hash",2415],[10,"PartialOrd",2407],[5,"Years",595],[5,"Months",595],[5,"Weeks",595],[5,"Days",595],[5,"Hours",595],[5,"Minutes",595],[5,"Seconds",595],[5,"Milliseconds",595],[5,"Microseconds",595],[5,"Nanoseconds",595],[5,"Picoseconds",595],[5,"Femtoseconds",595],[5,"Attoseconds",595],[5,"PyArrayAPI",860],[8,"npy_uint32",1786],[6,"NPY_CASTING",1786],[8,"npy_intp",1786],[5,"NpyIter",1254],[8,"NpyIter_GetMultiIndexFunc",1254],[8,"NpyIter_IterNextFunc",1254],[8,"npy_bool",1786],[6,"NPY_SELECTKIND",1786],[6,"NPY_SORTKIND",1786],[8,"c_void",2410],[5,"PyArrayMultiIterObject",1254],[5,"PyArray_Chunk",1254],[6,"NPY_SCALARKIND",1786],[6,"NPY_CLIPMODE",1786],[8,"npy_ucs4",1786],[5,"npy_stride_sort_item",1786],[6,"NPY_DATETIMEUNIT",1786],[5,"npy_datetimestruct",1786],[8,"npy_datetime",1786],[8,"c_uchar",2410],[6,"FILE",2436],[8,"PyArray_VectorUnaryFunc",1254],[8,"c_uint",2410],[5,"PyArray_ArrFuncs",1254],[5,"PyArray_Dims",1254],[5,"PyArrayMapIterObject",1254],[5,"PyArrayIterObject",1254],[6,"NPY_SEARCHSIDE",1786],[5,"npy_timedeltastruct",1786],[8,"npy_timedelta",1786],[8,"PyDataMem_EventHookFunc",1254],[6,"NpyTypes",860],[5,"PyArray_ArrayDescr",1254],[5,"PyArrayFlagsObject",1254],[5,"PyArrayInterface",1254],[5,"PyUFuncObject",1254],[5,"PyArrayNeighborhoodIterObject",1254],[5,"NpyAuxData",1254],[5,"PyArray_DatetimeMetaData",1254],[5,"PyArray_DatetimeDTypeMetaData",1254],[5,"npy_cdouble",1786],[5,"npy_cfloat",1786],[5,"npy_clongdouble",1786],[6,"NPY_TYPES",1786],[6,"NPY_TYPECHAR",1786],[6,"NPY_TYPEKINDCHAR",1786],[6,"NPY_BYTEORDER_CHAR",1786],[5,"PyUFuncAPI",2267],[8,"PyUFuncGenericFunction",1254],[8,"Complex32",0],[8,"Complex64",0],[8,"PyArray_GetItemFunc",1254],[8,"PyArray_SetItemFunc",1254],[8,"PyArray_CopySwapNFunc",1254],[8,"PyArray_CopySwapFunc",1254],[8,"PyArray_NonzeroFunc",1254],[8,"PyArray_CompareFunc",1254],[8,"PyArray_ArgFunc",1254],[8,"PyArray_DotFunc",1254],[8,"PyArray_ScanFunc",1254],[8,"PyArray_FromStrFunc",1254],[8,"PyArray_FillFunc",1254],[8,"PyArray_SortFunc",1254],[8,"PyArray_ArgSortFunc",1254],[8,"PyArray_PartitionFunc",1254],[8,"PyArray_ArgPartitionFunc",1254],[8,"PyArray_FillWithScalarFunc",1254],[8,"PyArray_ScalarKindFunc",1254],[8,"PyArray_FastClipFunc",1254],[8,"PyArray_FastPutmaskFunc",1254],[8,"PyArray_FastTakeFunc",1254],[8,"PyUFunc_MaskedStridedInnerLoopFunc",1254],[8,"PyUFunc_TypeResolutionFunc",1254],[8,"PyUFunc_LegacyInnerLoopSelectionFunc",1254],[8,"PyUFunc_MaskedInnerLoopSelectionFunc",1254],[8,"npy_iter_get_dataptr_t",1254],[8,"NpyAuxData_FreeFunc",1254],[8,"NpyAuxData_CloneFunc",1254],[8,"npy_complex128",1786],[8,"npy_complex64",1786],[8,"npy_complex256",1786]],"b":[[141,"impl-Display-for-PyArrayDescr"],[142,"impl-Debug-for-PyArrayDescr"],[143,"impl-Debug-for-PyUntypedArray"],[144,"impl-Display-for-PyUntypedArray"],[148,"impl-Display-for-FromVecError"],[149,"impl-Debug-for-FromVecError"],[150,"impl-Debug-for-NotContiguousError"],[151,"impl-Display-for-NotContiguousError"],[152,"impl-Debug-for-BorrowError"],[153,"impl-Display-for-BorrowError"],[154,"impl-Display-for-PyFixedString%3CN%3E"],[155,"impl-Debug-for-PyFixedString%3CN%3E"],[156,"impl-Display-for-PyFixedUnicode%3CN%3E"],[157,"impl-Debug-for-PyFixedUnicode%3CN%3E"],[217,"impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyUntypedArray"],[218,"impl-IntoPy%3CPy%3CPyUntypedArray%3E%3E-for-%26PyUntypedArray"],[384,"impl-Debug-for-PyArray%3CT,+D%3E"],[385,"impl-Display-for-PyArray%3CT,+D%3E"],[416,"impl-IntoPy%3CPy%3CPyAny%3E%3E-for-PyArray%3CT,+D%3E"],[417,"impl-IntoPy%3CPy%3CPyArray%3CT,+D%3E%3E%3E-for-%26PyArray%3CT,+D%3E"],[489,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[490,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[491,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[492,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"]],"a":{"nalgebra":[445,446,447,448,489,490,491,492,527,528],"pyarray":[343,351],"pyarray0":[343],"pyarraydescr":[38,2324],"pyuntypedarray":[71,2326]}}]\ ]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); diff --git a/settings.html b/settings.html index 1ff94558f..f35a60b3c 100644 --- a/settings.html +++ b/settings.html @@ -1,2 +1,2 @@ -Settings +Settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/src/numpy/array.rs.html b/src/numpy/array.rs.html index 8e6b39956..a4a78854c 100644 --- a/src/numpy/array.rs.html +++ b/src/numpy/array.rs.html @@ -1,4 +1,4 @@ -array.rs - source