diff --git a/help.html b/help.html index 669fe51c..73966932 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/numpy/all.html b/numpy/all.html index b9b5d4b5..277d5a9b 100644 --- a/numpy/all.html +++ b/numpy/all.html @@ -1 +1 @@ -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 +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 5b52eebe..86a7cbdf 100644 --- a/numpy/array/fn.get_array_module.html +++ b/numpy/array/fn.get_array_module.html @@ -1,2 +1,2 @@ -get_array_module in numpy::array - Rust
numpy::array

Function get_array_module

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

Returns a handle to NumPy’s multiarray module.

+get_array_module in numpy::array - Rust
numpy::array

Function get_array_module

Source
pub fn get_array_module<'py>(py: Python<'py>) -> PyResult<Bound<'py, 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 b96adbdd..6ae53e02 100644 --- a/numpy/array/index.html +++ b/numpy/array/index.html @@ -1,2 +1,2 @@ -numpy::array - Rust
numpy

Module array

source
Expand description

Safe interface for NumPy’s N-dimensional arrays

+numpy::array - Rust
numpy

Module 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 c61ba628..b720eb06 100644 --- a/numpy/array/struct.PyArray.html +++ b/numpy/array/struct.PyArray.html @@ -1,4 +1,4 @@ -PyArray in numpy::array - Rust
numpy::array

Struct PyArray

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

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

+PyArray in numpy::array - Rust
numpy::array

Struct PyArray

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

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

§Memory location

  • Allocated by Rust: Constructed via IntoPyArray or @@ -21,7 +21,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.

    @@ -44,10 +44,10 @@

    §Example

    array![[8., 15.], [12., 23.]] ); });
-

Implementations§

source§

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

source

pub unsafe fn new<'py, ID>( +

Implementations§

Source§

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

Source

pub unsafe fn new<'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, @@ -82,15 +82,15 @@

§Example
assert_eq!(arr.shape(), &[4, 5, 6]); });
-
source

pub unsafe fn new_bound<'py, ID>( +

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>,

👎Deprecated since 0.23.0: renamed to PyArray::new

Deprecated name for PyArray::new.

§Safety

See PyArray::new.

-
source

pub unsafe fn borrow_from_array<'py, S>( +

Source

pub unsafe fn borrow_from_array<'py, S>( array: &ArrayBase<S, D>, container: Bound<'py, PyAny>, ) -> Bound<'py, Self>
where @@ -117,14 +117,14 @@
§Example
unsafe { PyArray1::borrow_from_array(array, this.into_any()) } } }
-

source

pub unsafe fn borrow_from_array_bound<'py, S>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::borrow_from_array
source

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

Source

pub fn zeros<ID>(py: Python<'_>, dims: ID, 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, otherwise it has C/row-major order.

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

pub fn zeros_bound<ID>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::zeros

Deprecated name for PyArray::zeros.

-
source

pub fn from_owned_array(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.

+
Source

pub fn from_owned_array(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.

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

pub fn from_owned_array_bound( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_owned_array

Deprecated name for PyArray::from_owned_array.

-
source

pub fn from_array<'py, S>( +

Source

pub fn from_array<'py, S>( py: Python<'py>, arr: &ArrayBase<S, D>, ) -> Bound<'py, Self>
where @@ -179,16 +179,16 @@
§Example
assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]); });
-

source

pub fn from_array_bound<'py, S>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_array

Deprecated name for PyArray::from_array.

-
source§

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

Source§

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

Source

pub fn from_owned_object_array<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};
@@ -216,11 +216,11 @@ 
§Example
assert!(pyarray.readonly().as_array().get(0).unwrap().bind(py).is_instance_of::<CustomElement>()); });
-
source

pub fn from_owned_object_array_bound<T>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_owned_object_array

Deprecated name for PyArray::from_owned_object_array.

-
source§

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

source

pub fn from_slice<'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]) -> Bound<'py, Self>

Construct a one-dimensional array from a slice.

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

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

👎Deprecated since 0.23.0: renamed to PyArray::from_slice

Deprecated name for PyArray::from_slice.

-
source

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

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

+
Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_slice

Deprecated name for PyArray::from_slice.

+
Source

pub fn from_vec<'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;
@@ -241,10 +241,10 @@ 
§Example
let pyarray = PyArray::from_vec(py, vec); assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]); });
-
source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec

Deprecated name for PyArray::from_vec.

-
source

pub fn from_iter<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, +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec

Deprecated name for PyArray::from_vec.

+
Source

pub fn from_iter<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, this method can allocate memory multiple times, which can hurt performance.

§Example
use numpy::{PyArray, PyArrayMethods};
@@ -254,12 +254,12 @@ 
§Example
let pyarray = PyArray::from_iter(py, "abcde".chars().map(u32::from)); assert_eq!(pyarray.readonly().as_slice().unwrap(), &[97, 98, 99, 100, 101]); });
-
source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_iter

Deprecated name for PyArray::from_iter.

-
source§

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

source

pub fn from_vec2<'py>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_iter

Deprecated name for PyArray::from_iter.

+
Source§

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

Source

pub fn from_vec2<'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
@@ -275,14 +275,14 @@
§Example
let ragged_vec2 = vec![vec![11, 12], vec![21]]; assert!(PyArray::from_vec2(py, &ragged_vec2).is_err()); });
-
source

pub fn from_vec2_bound<'py>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec2

Deprecated name for PyArray::from_vec2.

-
source§

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

source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec2

Deprecated name for PyArray::from_vec2.

+
Source§

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

Source

pub fn from_vec3<'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
@@ -307,11 +307,11 @@
§Example
]; assert!(PyArray::from_vec3(py, &ragged_vec3).is_err()); });
-
source

pub fn from_vec3_bound<'py>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec3

Deprecated name for PyArray::from_vec3.

-
source§

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

source

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

👎Deprecated since 0.23.0: renamed to PyArray::from_vec3

Deprecated name for PyArray::from_vec3.

+
Source§

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

Source

pub fn arange<'py>( py: Python<'py>, start: T, stop: T, @@ -329,27 +329,27 @@

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

pub fn arange_bound<'py>( +

Source

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

👎Deprecated since 0.23.0: renamed to PyArray::arange

Deprecated name for PyArray::arange.

-

Trait Implementations§

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(ob: &Bound<'_, PyAny>) -> bool

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

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

Returns the safe abstraction over the type object.
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
Deprecated name for [PyTypeInfo::type_object].
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
Deprecated name for [PyTypeInfo::is_type_of].
§

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

Checks if object is an instance of this type.
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
Deprecated name for [PyTypeInfo::is_exact_type_of].
source§

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

Auto Trait Implementations§

§

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

§

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 - T: Unpin, - D: Unpin,

§

impl<T, D> UnwindSafe for PyArray<T, D>
where - T: UnwindSafe, - D: 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<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(ob: &Bound<'_, PyAny>) -> bool

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

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

Returns the safe abstraction over the type object.
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
Deprecated name for [PyTypeInfo::type_object].
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
Deprecated name for [PyTypeInfo::is_type_of].
§

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

Checks if object is an instance of this type.
§

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

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
Deprecated name for [PyTypeInfo::is_exact_type_of].
Source§

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

Auto Trait Implementations§

§

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

§

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 + T: Unpin, + D: Unpin,

§

impl<T, D> UnwindSafe for PyArray<T, D>
where + T: UnwindSafe, + D: 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.

§

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

source§

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>,

source§

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>,

source§

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

Source§

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>,

Source§

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>,

Source§

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 109a20fb..efb55bba 100644 --- a/numpy/array/trait.PyArray0Methods.html +++ b/numpy/array/trait.PyArray0Methods.html @@ -1,9 +1,9 @@ -PyArray0Methods in numpy::array - Rust
numpy::array

Trait PyArray0Methods

source
pub trait PyArray0Methods<'py, T>: PyArrayMethods<'py, T, Ix0> {
+PyArray0Methods in numpy::array - Rust
numpy::array

Trait PyArray0Methods

Source
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.

+

Provided Methods§

Source

fn item(&self) -> T
where + 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 +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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 998126fc..e7726d62 100644 --- a/numpy/array/trait.PyArrayMethods.html +++ b/numpy/array/trait.PyArrayMethods.html @@ -1,27 +1,27 @@ -PyArrayMethods in numpy::array - Rust
numpy::array

Trait PyArrayMethods

source
pub trait PyArrayMethods<'py, T, D>: PyUntypedArrayMethods<'py> {
+PyArrayMethods in numpy::array - Rust
numpy::array

Trait PyArrayMethods

Source
pub trait PyArrayMethods<'py, T, D>: PyUntypedArrayMethods<'py> {
 
Show 31 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 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_dyn(&self) -> &Bound<'py, PyArray<T, IxDyn>> where T: Element, D: Dimension; - fn to_vec(&self) -> Result<Vec<T>, NotContiguousError> + fn to_vec(&self) -> Result<Vec<T>, NotContiguousError> 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> @@ -42,16 +42,16 @@ 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 permute<ID: IntoDimension>( &self, - axes: Option<ID>, + axes: Option<ID>, ) -> PyResult<Bound<'py, PyArray<T, D>>> where T: Element; fn reshape_with_order<ID: IntoDimension>( @@ -60,11 +60,11 @@ order: NPY_ORDER, ) -> PyResult<Bound<'py, PyArray<T, ID::Dim>>> where T: Element; - unsafe fn resize<ID: IntoDimension>(&self, newshape: ID) -> PyResult<()> + unsafe fn resize<ID: IntoDimension>(&self, newshape: 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, @@ -73,7 +73,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, @@ -84,21 +84,21 @@ // 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> { ... } @@ -116,9 +116,9 @@ ) -> PyResult<Bound<'py, PyArray<T, ID::Dim>>> 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 +

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 T: Element, D: Dimension,

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

§Safety
@@ -135,7 +135,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
@@ -156,7 +156,7 @@
§Example
assert_eq!(unsafe { *pyarray.get([1, 0, 3]).unwrap() }, 42); });
-
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.

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

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

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 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};
@@ -188,31 +188,31 @@ 
§Example
assert_eq!(pyarray.to_vec()?, vec![0, 1, 2, 3]); })
-
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 +

Source

unsafe fn as_array(&self) -> ArrayView<'_, T, D>
where T: Element, D: Dimension,

Returns an ArrayView of the internal array.

See also PyReadonlyArray::as_array.

§Safety

Calling this method invalidates all exclusive references to the internal data, e.g. &mut [T] or ArrayViewMut.

-
source

unsafe fn as_array_mut(&self) -> ArrayViewMut<'_, T, D>
where +

Source

unsafe fn as_array_mut(&self) -> ArrayViewMut<'_, T, D>
where T: Element, D: Dimension,

Returns an ArrayViewMut of the internal array.

See also PyReadwriteArray::as_array_mut.

§Safety

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

-
source

fn as_raw_array(&self) -> RawArrayView<T, D>
where +

Source

fn as_raw_array(&self) -> RawArrayView<T, D>
where T: Element, D: Dimension,

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

-
source

fn as_raw_array_mut(&self) -> RawArrayViewMut<T, D>
where +

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 to_owned_array(&self) -> Array<T, D>
where +

Source

fn to_owned_array(&self) -> Array<T, D>
where T: Element, D: Dimension,

Get a copy of the array as an ndarray::Array.

§Example
@@ -228,7 +228,7 @@
§Example
array![[0, 1], [2, 3]] ) });
-
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
@@ -243,9 +243,9 @@
§Example
assert_eq!(pyarray_i.readonly().as_slice().unwrap(), &[2, 3, 4]); });
-
source

fn cast<U: Element>( +

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.

@@ -260,9 +260,9 @@
§Example
assert_eq!(pyarray_i.readonly().as_slice().unwrap(), &[2, 3, 4]); });
-
source

fn permute<ID: IntoDimension>( +

Source

fn permute<ID: IntoDimension>( &self, - axes: Option<ID>, + axes: Option<ID>, ) -> PyResult<Bound<'py, PyArray<T, D>>>
where T: Element,

A view of self with a different order of axes determined by axes.

If axes is None, the order of axes is reversed which corresponds to the standard matrix transpose.

@@ -280,7 +280,7 @@
§Example
assert_eq!(array.readonly().as_array(), array![[0, 3], [1, 4], [2, 5]]); });
-
source

fn reshape_with_order<ID: IntoDimension>( +

Source

fn reshape_with_order<ID: IntoDimension>( &self, shape: ID, order: NPY_ORDER, @@ -304,7 +304,7 @@

§Example
assert!(array.reshape([5]).is_err()); }); -
source

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

Source

unsafe fn resize<ID: IntoDimension>(&self, newshape: 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.

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

unsafe fn try_as_matrix<R, C, RStride, CStride>( +

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, @@ -337,9 +337,9 @@
§Example
CStride: Dim,

Try to convert this array into a nalgebra::MatrixView using the given shape and strides.

§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>( +

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, @@ -348,9 +348,9 @@
§Safety
CStride: Dim,

Try to convert this array into a nalgebra::MatrixViewMut using the given shape and strides.

§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 +

Provided Methods§

Source

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

Same as [shape][PyUntypedArray::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
@@ -358,7 +358,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
@@ -366,7 +366,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, @@ -386,7 +386,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.

@@ -395,80 +395,80 @@
§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 readonly(&self) -> PyReadonlyArray<'py, T, D>
where +

Source

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

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

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

Source

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

Get a mutable borrow of the NumPy array

§Panics

Panics if the allocation backing the array is currently borrowed or if the array is flagged as not writeable.

For a non-panicking variant, use try_readwrite.

-
source

fn transpose(&self) -> PyResult<Bound<'py, PyArray<T, D>>>
where +

Source

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

Special case of permute which reverses the order the axes.

-
source

fn reshape<ID: IntoDimension>( +

Source

fn reshape<ID: IntoDimension>( &self, shape: 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 +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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 get_owned<Idx>(&self, index: Idx) -> Option<T>
where + D: Dimension,

Source§

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

source§

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

source§

fn to_vec(&self) -> Result<Vec<T>, NotContiguousError>
where + Idx: NpyIndex<Dim = D>,

Source§

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

Source§

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

source§

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

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 + D: Dimension,

Source§

unsafe fn as_array(&self) -> ArrayView<'_, T, D>
where T: Element, - D: Dimension,

source§

unsafe fn as_array_mut(&self) -> ArrayViewMut<'_, T, D>
where + D: Dimension,

Source§

unsafe fn as_array_mut(&self) -> ArrayViewMut<'_, T, D>
where T: Element, - D: Dimension,

source§

fn as_raw_array(&self) -> RawArrayView<T, D>
where + D: Dimension,

Source§

fn as_raw_array(&self) -> RawArrayView<T, D>
where T: Element, - D: Dimension,

source§

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

Source§

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

source§

fn to_owned_array(&self) -> Array<T, D>
where + D: Dimension,

Source§

fn to_owned_array(&self) -> Array<T, D>
where T: Element, - D: Dimension,

source§

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

source§

fn cast<U: Element>( + 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 permute<ID: IntoDimension>( + T: Element,

Source§

fn permute<ID: IntoDimension>( &self, - axes: Option<ID>, -) -> PyResult<Bound<'py, PyArray<T, D>>>

source§

fn reshape_with_order<ID: IntoDimension>( + axes: Option<ID>, +) -> PyResult<Bound<'py, PyArray<T, D>>>

Source§

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

source§

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

source§

unsafe fn try_as_matrix<R, C, RStride, CStride>( + T: Element,

Source§

unsafe fn resize<ID: IntoDimension>(&self, newshape: 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, C: Dim, RStride: Dim, - CStride: Dim,

source§

unsafe fn try_as_matrix_mut<R, C, RStride, CStride>( + 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 e59f7fb6..2604868f 100644 --- a/numpy/array/type.PyArray0.html +++ b/numpy/array/type.PyArray0.html @@ -1,2 +1,2 @@ -PyArray0 in numpy::array - Rust
numpy::array

Type Alias PyArray0

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

Zero-dimensional array.

+PyArray0 in numpy::array - Rust
numpy::array

Type Alias 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 e2bd07da..1e4ef7b5 100644 --- a/numpy/array/type.PyArray1.html +++ b/numpy/array/type.PyArray1.html @@ -1,2 +1,2 @@ -PyArray1 in numpy::array - Rust
numpy::array

Type Alias PyArray1

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

One-dimensional array.

+PyArray1 in numpy::array - Rust
numpy::array

Type Alias 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 1445cf58..26993736 100644 --- a/numpy/array/type.PyArray2.html +++ b/numpy/array/type.PyArray2.html @@ -1,2 +1,2 @@ -PyArray2 in numpy::array - Rust
numpy::array

Type Alias PyArray2

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

Two-dimensional array.

+PyArray2 in numpy::array - Rust
numpy::array

Type Alias 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 9c1351be..ba0a6102 100644 --- a/numpy/array/type.PyArray3.html +++ b/numpy/array/type.PyArray3.html @@ -1,2 +1,2 @@ -PyArray3 in numpy::array - Rust
numpy::array

Type Alias PyArray3

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

Three-dimensional array.

+PyArray3 in numpy::array - Rust
numpy::array

Type Alias 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 b6f88a73..c4cf0825 100644 --- a/numpy/array/type.PyArray4.html +++ b/numpy/array/type.PyArray4.html @@ -1,2 +1,2 @@ -PyArray4 in numpy::array - Rust
numpy::array

Type Alias PyArray4

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

Four-dimensional array.

+PyArray4 in numpy::array - Rust
numpy::array

Type Alias 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 ebbbe958..e53d9518 100644 --- a/numpy/array/type.PyArray5.html +++ b/numpy/array/type.PyArray5.html @@ -1,2 +1,2 @@ -PyArray5 in numpy::array - Rust
numpy::array

Type Alias PyArray5

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

Five-dimensional array.

+PyArray5 in numpy::array - Rust
numpy::array

Type Alias 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 6601d579..7aa21d23 100644 --- a/numpy/array/type.PyArray6.html +++ b/numpy/array/type.PyArray6.html @@ -1,2 +1,2 @@ -PyArray6 in numpy::array - Rust
numpy::array

Type Alias PyArray6

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

Six-dimensional array.

+PyArray6 in numpy::array - Rust
numpy::array

Type Alias 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 9c8dd7f2..6a7c679e 100644 --- a/numpy/array/type.PyArrayDyn.html +++ b/numpy/array/type.PyArrayDyn.html @@ -1,2 +1,2 @@ -PyArrayDyn in numpy::array - Rust
numpy::array

Type Alias PyArrayDyn

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

Dynamic-dimensional array.

+PyArrayDyn in numpy::array - Rust
numpy::array

Type Alias 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 988277fe..0f1623bb 100644 --- a/numpy/borrow/index.html +++ b/numpy/borrow/index.html @@ -1,4 +1,4 @@ -numpy::borrow - Rust
numpy

Module borrow

source
Expand description

Types to safely create references into NumPy arrays

+numpy::borrow - Rust
numpy

Module 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 safe Rust code cannot cause undefined behaviour by creating references into NumPy arrays.

diff --git a/numpy/borrow/struct.PyReadonlyArray.html b/numpy/borrow/struct.PyReadonlyArray.html index 2b9be88e..41bd0239 100644 --- a/numpy/borrow/struct.PyReadonlyArray.html +++ b/numpy/borrow/struct.PyReadonlyArray.html @@ -1,20 +1,20 @@ -PyReadonlyArray in numpy::borrow - Rust
numpy::borrow

Struct PyReadonlyArray

source
pub struct PyReadonlyArray<'py, T, D>
where +PyReadonlyArray in numpy::borrow - Rust
numpy::borrow

Struct PyReadonlyArray

Source
pub struct PyReadonlyArray<'py, T, D>
where T: Element, D: Dimension,
{ /* private fields */ }
Expand description

Read-only borrow of an array.

An instance of this type ensures that there are no instances of PyReadwriteArray, i.e. that only shared references into the interior of the array can be created safely.

See the module-level documentation for more.

-

Implementations§

source§

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

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 + 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 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 +

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>( + 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, @@ -51,15 +51,15 @@ py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2), order='F')) == 4."); py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2, 2))[:,:,0]) == 4."); })
-

source§

impl<'py, N> PyReadonlyArray<'py, N, Ix1>
where - N: Scalar + Element,

source

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

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

+
Source§

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

Source

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

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

§Panics

Panics if the array has negative strides.

-
source§

impl<'py, N> PyReadonlyArray<'py, N, Ix2>
where - 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.

+
Source§

impl<'py, N> PyReadonlyArray<'py, N, Ix2>
where + 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.

@@ -98,17 +98,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};
 
@@ -158,7 +158,7 @@ 
assert!(obj.as_super().pyrepr().is_ok()); })

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 @@ -167,33 +167,35 @@

§Safety

pub fn as_borrowed<'a>(&'a self) -> Borrowed<'a, 'py, T>

Casts this Bound<T> to a Borrowed<T> smart pointer.

pub fn as_unbound(&self) -> &Py<T>

Removes the connection for this Bound<T> from the GIL, allowing it to cross thread boundaries, without transferring ownership.

-

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,

source§

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,

Source§

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, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
where + D: Dimension,

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

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

source§

fn from(value: PyReadwriteArray<'py, T, D>) -> Self

Converts to this type from the input type.
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

Auto Trait Implementations§

§

impl<'py, T, D> Freeze for PyReadonlyArray<'py, T, D>

§

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 - T: Unpin, - D: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
where - T: UnwindSafe, - D: 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> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ D: Dimension,
Source§

fn from(value: PyReadwriteArray<'py, T, D>) -> Self

Converts to this type from the input type.
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

Auto Trait Implementations§

§

impl<'py, T, D> Freeze for PyReadonlyArray<'py, T, D>

§

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 + T: Unpin, + D: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
where + T: UnwindSafe, + D: 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> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.

-
source§

impl<T> Same for T

source§

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,

source§

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>,

source§

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>,

source§

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 +From<T> for U chooses to do.

+
Source§

impl<P, T> Receiver for P
where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

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,

Source§

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>,

Source§

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>,

Source§

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 dd1df0e9..67c99c53 100644 --- a/numpy/borrow/struct.PyReadwriteArray.html +++ b/numpy/borrow/struct.PyReadwriteArray.html @@ -1,39 +1,39 @@ -PyReadwriteArray in numpy::borrow - Rust
numpy::borrow

Struct PyReadwriteArray

source
pub struct PyReadwriteArray<'py, T, D>
where +PyReadwriteArray in numpy::borrow - Rust
numpy::borrow

Struct PyReadwriteArray

Source
pub struct PyReadwriteArray<'py, T, D>
where T: Element, D: Dimension,
{ /* private fields */ }
Expand description

Read-write borrow of an array.

An instance of this type ensures that there are no instances of PyReadonlyArray and no other instances of PyReadwriteArray, i.e. that only a single exclusive reference into the interior of the array can be created safely.

See the module-level documentation for more.

-

Implementations§

source§

impl<'py, T, D> PyReadwriteArray<'py, T, D>
where +

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 + 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 I: NpyIndex<Dim = D>,

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

-
source

pub fn make_nonwriteable(self) -> PyReadonlyArray<'py, T, D>

Clear the WRITEABLE flag from the underlying NumPy array.

+
Source

pub fn make_nonwriteable(self) -> PyReadonlyArray<'py, T, D>

Clear the WRITEABLE flag from the underlying NumPy array.

Calling this will prevent any further PyReadwriteArrays from being taken out. Python space can reset this flag, unless the additional flag OWNDATA is unset. Such an array can be created from Rust space by using PyArray::borrow_from_array_bound.

-
source§

impl<'py, N, D> PyReadwriteArray<'py, N, D>
where +

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>( + 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, CStride: Dim,

Try to convert this array into a nalgebra::MatrixViewMut using the given shape and strides.

See PyReadonlyArray::try_as_matrix for a discussion of the memory layout requirements.

-
source§

impl<'py, N> PyReadwriteArray<'py, N, Ix1>
where - N: Scalar + Element,

source

pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

Convert this one-dimensional array into a nalgebra::DMatrixViewMut using dynamic strides.

+
Source§

impl<'py, N> PyReadwriteArray<'py, N, Ix1>
where + N: Scalar + Element,

Source

pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

Convert this one-dimensional array into a nalgebra::DMatrixViewMut using dynamic strides.

§Panics

Panics if the array has negative strides.

-
source§

impl<'py, N> PyReadwriteArray<'py, N, Ix2>
where - N: Scalar + Element,

source

pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

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

+
Source§

impl<'py, N> PyReadwriteArray<'py, N, Ix2>
where + N: Scalar + Element,

Source

pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

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

§Panics

Panics if the array has negative strides.

-
source§

impl<'py, T> PyReadwriteArray<'py, T, Ix1>
where - T: Element,

source

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

Extends or truncates the dimensions of an array.

+
Source§

impl<'py, T> PyReadwriteArray<'py, T, Ix1>
where + T: Element,

Source

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

Extends or truncates the dimensions of an array.

Safe wrapper for [PyArray::resize].

§Example
use numpy::{PyArray, PyArrayMethods, PyUntypedArrayMethods};
@@ -47,13 +47,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>( +

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, @@ -90,13 +90,13 @@
§Example
py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2), order='F')) == 4."); py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2, 2))[:,:,0]) == 4."); })

-
source

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

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

+
Source

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

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

§Panics

Panics if the array has negative strides.

-
source

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

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

+
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.

@@ -135,17 +135,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};
 
@@ -195,7 +195,7 @@ 
assert!(obj.as_super().pyrepr().is_ok()); })

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 @@ -204,29 +204,31 @@

§Safety

pub fn as_borrowed<'a>(&'a self) -> Borrowed<'a, 'py, T>

Casts this Bound<T> to a Borrowed<T> smart pointer.

pub fn as_unbound(&self) -> &Py<T>

Removes the connection for this Bound<T> from the GIL, allowing it to cross thread boundaries, without transferring ownership.

-

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,

source§

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,

Source§

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, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
where + D: Dimension,

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

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

source§

fn from(value: PyReadwriteArray<'py, T, D>) -> Self

Converts to this type from the input type.
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

Auto Trait Implementations§

§

impl<'py, T, D> Freeze for PyReadwriteArray<'py, T, D>

§

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 - T: Unpin, - D: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
where - T: UnwindSafe, - D: 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 from(value: PyReadwriteArray<'py, T, D>) -> Self

Converts to this type from the input type.
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

Auto Trait Implementations§

§

impl<'py, T, D> Freeze for PyReadwriteArray<'py, T, D>

§

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 + T: Unpin, + D: Unpin,

§

impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
where + T: UnwindSafe, + D: 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.

-
source§

impl<T> Same for T

source§

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>,

source§

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>,

source§

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 +From<T> for U chooses to do.

+
Source§

impl<P, T> Receiver for P
where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

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>,

Source§

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>,

Source§

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 6a2d0373..145306ff 100644 --- a/numpy/borrow/type.PyReadonlyArray0.html +++ b/numpy/borrow/type.PyReadonlyArray0.html @@ -1,2 +1,2 @@ -PyReadonlyArray0 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray0

source
pub type PyReadonlyArray0<'py, T> = PyReadonlyArray<'py, T, Ix0>;
Expand description

Read-only borrow of a zero-dimensional array.

+PyReadonlyArray0 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 310748ca..2d22c016 100644 --- a/numpy/borrow/type.PyReadonlyArray1.html +++ b/numpy/borrow/type.PyReadonlyArray1.html @@ -1,2 +1,2 @@ -PyReadonlyArray1 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray1

source
pub type PyReadonlyArray1<'py, T> = PyReadonlyArray<'py, T, Ix1>;
Expand description

Read-only borrow of a one-dimensional array.

+PyReadonlyArray1 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 b5ef5874..707c39b0 100644 --- a/numpy/borrow/type.PyReadonlyArray2.html +++ b/numpy/borrow/type.PyReadonlyArray2.html @@ -1,2 +1,2 @@ -PyReadonlyArray2 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray2

source
pub type PyReadonlyArray2<'py, T> = PyReadonlyArray<'py, T, Ix2>;
Expand description

Read-only borrow of a two-dimensional array.

+PyReadonlyArray2 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 8a61108d..1f5a7127 100644 --- a/numpy/borrow/type.PyReadonlyArray3.html +++ b/numpy/borrow/type.PyReadonlyArray3.html @@ -1,2 +1,2 @@ -PyReadonlyArray3 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray3

source
pub type PyReadonlyArray3<'py, T> = PyReadonlyArray<'py, T, Ix3>;
Expand description

Read-only borrow of a three-dimensional array.

+PyReadonlyArray3 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 831101d6..1e3cef5a 100644 --- a/numpy/borrow/type.PyReadonlyArray4.html +++ b/numpy/borrow/type.PyReadonlyArray4.html @@ -1,2 +1,2 @@ -PyReadonlyArray4 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray4

source
pub type PyReadonlyArray4<'py, T> = PyReadonlyArray<'py, T, Ix4>;
Expand description

Read-only borrow of a four-dimensional array.

+PyReadonlyArray4 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 b6f957ae..a97ca533 100644 --- a/numpy/borrow/type.PyReadonlyArray5.html +++ b/numpy/borrow/type.PyReadonlyArray5.html @@ -1,2 +1,2 @@ -PyReadonlyArray5 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray5

source
pub type PyReadonlyArray5<'py, T> = PyReadonlyArray<'py, T, Ix5>;
Expand description

Read-only borrow of a five-dimensional array.

+PyReadonlyArray5 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 631f74ce..502bf257 100644 --- a/numpy/borrow/type.PyReadonlyArray6.html +++ b/numpy/borrow/type.PyReadonlyArray6.html @@ -1,2 +1,2 @@ -PyReadonlyArray6 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadonlyArray6

source
pub type PyReadonlyArray6<'py, T> = PyReadonlyArray<'py, T, Ix6>;
Expand description

Read-only borrow of a six-dimensional array.

+PyReadonlyArray6 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 ce06eb26..610428a5 100644 --- a/numpy/borrow/type.PyReadonlyArrayDyn.html +++ b/numpy/borrow/type.PyReadonlyArrayDyn.html @@ -1,2 +1,2 @@ -PyReadonlyArrayDyn in numpy::borrow - Rust
numpy::borrow

Type Alias 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.

+PyReadonlyArrayDyn in numpy::borrow - Rust
numpy::borrow

Type Alias 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 08c0f574..a1635ff6 100644 --- a/numpy/borrow/type.PyReadwriteArray0.html +++ b/numpy/borrow/type.PyReadwriteArray0.html @@ -1,2 +1,2 @@ -PyReadwriteArray0 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray0

source
pub type PyReadwriteArray0<'py, T> = PyReadwriteArray<'py, T, Ix0>;
Expand description

Read-write borrow of a zero-dimensional array.

+PyReadwriteArray0 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 79da1077..2224a0e4 100644 --- a/numpy/borrow/type.PyReadwriteArray1.html +++ b/numpy/borrow/type.PyReadwriteArray1.html @@ -1,2 +1,2 @@ -PyReadwriteArray1 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray1

source
pub type PyReadwriteArray1<'py, T> = PyReadwriteArray<'py, T, Ix1>;
Expand description

Read-write borrow of a one-dimensional array.

+PyReadwriteArray1 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 e6adcfd1..52942506 100644 --- a/numpy/borrow/type.PyReadwriteArray2.html +++ b/numpy/borrow/type.PyReadwriteArray2.html @@ -1,2 +1,2 @@ -PyReadwriteArray2 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray2

source
pub type PyReadwriteArray2<'py, T> = PyReadwriteArray<'py, T, Ix2>;
Expand description

Read-write borrow of a two-dimensional array.

+PyReadwriteArray2 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 506a1232..a25bb9a8 100644 --- a/numpy/borrow/type.PyReadwriteArray3.html +++ b/numpy/borrow/type.PyReadwriteArray3.html @@ -1,2 +1,2 @@ -PyReadwriteArray3 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray3

source
pub type PyReadwriteArray3<'py, T> = PyReadwriteArray<'py, T, Ix3>;
Expand description

Read-write borrow of a three-dimensional array.

+PyReadwriteArray3 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 4752251a..c610908a 100644 --- a/numpy/borrow/type.PyReadwriteArray4.html +++ b/numpy/borrow/type.PyReadwriteArray4.html @@ -1,2 +1,2 @@ -PyReadwriteArray4 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray4

source
pub type PyReadwriteArray4<'py, T> = PyReadwriteArray<'py, T, Ix4>;
Expand description

Read-write borrow of a four-dimensional array.

+PyReadwriteArray4 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 aaa4f790..ad531652 100644 --- a/numpy/borrow/type.PyReadwriteArray5.html +++ b/numpy/borrow/type.PyReadwriteArray5.html @@ -1,2 +1,2 @@ -PyReadwriteArray5 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray5

source
pub type PyReadwriteArray5<'py, T> = PyReadwriteArray<'py, T, Ix5>;
Expand description

Read-write borrow of a five-dimensional array.

+PyReadwriteArray5 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 0fd65fd3..a66573a5 100644 --- a/numpy/borrow/type.PyReadwriteArray6.html +++ b/numpy/borrow/type.PyReadwriteArray6.html @@ -1,2 +1,2 @@ -PyReadwriteArray6 in numpy::borrow - Rust
numpy::borrow

Type Alias PyReadwriteArray6

source
pub type PyReadwriteArray6<'py, T> = PyReadwriteArray<'py, T, Ix6>;
Expand description

Read-write borrow of a six-dimensional array.

+PyReadwriteArray6 in numpy::borrow - Rust
numpy::borrow

Type Alias 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 b6a56375..cce4e1b1 100644 --- a/numpy/borrow/type.PyReadwriteArrayDyn.html +++ b/numpy/borrow/type.PyReadwriteArrayDyn.html @@ -1,2 +1,2 @@ -PyReadwriteArrayDyn in numpy::borrow - Rust
numpy::borrow

Type Alias 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.

+PyReadwriteArrayDyn in numpy::borrow - Rust
numpy::borrow

Type Alias 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 4c618ba5..78d55385 100644 --- a/numpy/convert/index.html +++ b/numpy/convert/index.html @@ -1,2 +1,2 @@ -numpy::convert - Rust
numpy

Module convert

source
Expand description

Defines conversion traits between Rust types and NumPy data types.

+numpy::convert - Rust
numpy

Module 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 e006942b..ac5bff60 100644 --- a/numpy/convert/trait.IntoPyArray.html +++ b/numpy/convert/trait.IntoPyArray.html @@ -1,4 +1,4 @@ -IntoPyArray in numpy::convert - Rust
numpy::convert

Trait IntoPyArray

source
pub trait IntoPyArray: Sized {
+IntoPyArray in numpy::convert - Rust
numpy::convert

Trait IntoPyArray

Source
pub trait IntoPyArray: Sized {
     type Item: Element;
     type Dim: Dimension;
 
@@ -30,25 +30,25 @@ 

§Example

assert!(py_array.resize(100).is_err()); } });
-

Required Associated Types§

source

type Item: Element

The element type of resulting array.

-
source

type Dim: Dimension

The dimension type of the resulting array.

-

Required Methods§

Required Associated Types§

Source

type Item: Element

The element type of resulting array.

+
Source

type Dim: Dimension

The dimension type of the resulting array.

+

Required Methods§

Source

fn into_pyarray<'py>( self, py: Python<'py>, ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

Consumes self and moves its data into a NumPy array.

-

Provided Methods§

Provided Methods§

Source

fn into_pyarray_bound<'py>( self, py: Python<'py>, ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

👎Deprecated since 0.23.0: renamed to IntoPyArray::into_pyarray

Deprecated name for IntoPyArray::into_pyarray.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, D> IntoPyArray for ArrayBase<OwnedRepr<A>, D>
where +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,

Source§

type Item = A

Source§

type Dim = D

Source§

fn into_pyarray<'py>( self, py: Python<'py>, -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Box<[T]>

source§

type Item = T

source§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

Source§

impl<T: Element> IntoPyArray for Box<[T]>

Source§

type Item = T

Source§

type Dim = Dim<[usize; 1]>

Source§

fn into_pyarray<'py>( self, py: Python<'py>, -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

source§

impl<T: Element> IntoPyArray for Vec<T>

source§

type Item = T

source§

type Dim = Dim<[usize; 1]>

source§

fn into_pyarray<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

Source§

impl<T: Element> IntoPyArray for Vec<T>

Source§

type Item = T

Source§

type Dim = Dim<[usize; 1]>

Source§

fn into_pyarray<'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 a7f9efc6..1e755eaf 100644 --- a/numpy/convert/trait.NpyIndex.html +++ b/numpy/convert/trait.NpyIndex.html @@ -1,4 +1,4 @@ -NpyIndex in numpy::convert - Rust
numpy::convert

Trait NpyIndex

source
pub trait NpyIndex: IntoDimension + Sealed { }
Expand description

Trait implemented by types that can be used to index an array.

+NpyIndex in numpy::convert - Rust
numpy::convert

Trait 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.

All types which implement IntoDimension implement this trait as well. @@ -8,4 +8,4 @@

  • array
  • slice
  • -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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 ac562255..f3c437f1 100644 --- a/numpy/convert/trait.ToNpyDims.html +++ b/numpy/convert/trait.ToNpyDims.html @@ -1,3 +1,3 @@ -ToNpyDims in numpy::convert - Rust
    numpy::convert

    Trait 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 +ToNpyDims in numpy::convert - Rust
    numpy::convert

    Trait ToNpyDims

    Source
    pub trait ToNpyDims: Dimension + Sealed { }
    Expand description

    Utility trait to specify the dimensions of an array.

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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 bf9a6acf..83692f6f 100644 --- a/numpy/convert/trait.ToPyArray.html +++ b/numpy/convert/trait.ToPyArray.html @@ -1,4 +1,4 @@ -ToPyArray in numpy::convert - Rust
    numpy::convert

    Trait ToPyArray

    source
    pub trait ToPyArray {
    +ToPyArray in numpy::convert - Rust
    numpy::convert

    Trait ToPyArray

    Source
    pub trait ToPyArray {
         type Item: Element;
         type Dim: Dimension;
     
    @@ -38,32 +38,32 @@ 

    §Examples

    assert_eq!(py_array.readonly().as_array(), arr3(&[[[1, 2, 3]], [[7, 8, 9]]])); assert!(py_array.is_c_contiguous()); });
    -

    Required Associated Types§

    source

    type Item: Element

    The element type of resulting array.

    -
    source

    type Dim: Dimension

    The dimension type of the resulting array.

    -

    Required Methods§

    source

    fn to_pyarray<'py>( +

    Required Associated Types§

    Source

    type Item: Element

    The element type of resulting array.

    +
    Source

    type Dim: Dimension

    The dimension type of the resulting array.

    +

    Required Methods§

    Source

    fn to_pyarray<'py>( &self, py: Python<'py>, ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    Copies the content pointed to by &self into a newly allocated NumPy array.

    -

    Provided Methods§

    Provided Methods§

    Source

    fn to_pyarray_bound<'py>( &self, py: Python<'py>, ) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    👎Deprecated since 0.23.0: renamed to ToPyArray::to_pyarray`

    Deprecated name for ToPyArray::to_pyarray`.

    -

    Implementations on Foreign Types§

    source§

    impl<N, R, C, S> ToPyArray for Matrix<N, R, C, S>
    where +

    Implementations on Foreign Types§

    Source§

    impl<N, R, C, S> ToPyArray for Matrix<N, R, C, S>
    where N: Scalar + Element, R: Dim, C: Dim, - S: Storage<N, R, C>,

    source§

    fn to_pyarray<'py>( + S: Storage<N, R, C>,

    Source§

    fn to_pyarray<'py>( &self, 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.

    -
    source§

    type Item = N

    source§

    type Dim = Dim<[usize; 2]>

    source§

    impl<S, D, A> ToPyArray for ArrayBase<S, D>
    where +

    Source§

    type Item = N

    Source§

    type Dim = Dim<[usize; 2]>

    Source§

    impl<S, D, A> ToPyArray for ArrayBase<S, D>
    where S: Data<Elem = A>, D: Dimension, - A: Element,

    source§

    type Item = A

    source§

    type Dim = D

    source§

    fn to_pyarray<'py>( + A: Element,

    Source§

    type Item = A

    Source§

    type Dim = D

    Source§

    fn to_pyarray<'py>( &self, py: Python<'py>, -) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    source§

    impl<T: Element> ToPyArray for [T]

    source§

    type Item = T

    source§

    type Dim = Dim<[usize; 1]>

    source§

    fn to_pyarray<'py>( +) -> Bound<'py, PyArray<Self::Item, Self::Dim>>

    Source§

    impl<T: Element> ToPyArray for [T]

    Source§

    type Item = T

    Source§

    type Dim = Dim<[usize; 1]>

    Source§

    fn to_pyarray<'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 2620e989..6870e0e3 100644 --- a/numpy/datetime/index.html +++ b/numpy/datetime/index.html @@ -1,4 +1,4 @@ -numpy::datetime - Rust
    numpy

    Module datetime

    source
    Expand description

    Support datetimes and timedeltas

    +numpy::datetime - Rust
    numpy

    Module 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. This means that while these types differentiate absolute and relative quantities, they ignore calendars (a month is always 30.44 days) and time zones. diff --git a/numpy/datetime/struct.Datetime.html b/numpy/datetime/struct.Datetime.html index 72bca3fa..e2cde709 100644 --- a/numpy/datetime/struct.Datetime.html +++ b/numpy/datetime/struct.Datetime.html @@ -1,34 +1,34 @@ -Datetime in numpy::datetime - Rust

    numpy::datetime

    Struct 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( +Datetime in numpy::datetime - Rust
    numpy::datetime

    Struct 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for Datetime<U>

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    + D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for Datetime<U>

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 64203f7e..3f373b81 100644 --- a/numpy/datetime/struct.Timedelta.html +++ b/numpy/datetime/struct.Timedelta.html @@ -1,34 +1,34 @@ -Timedelta in numpy::datetime - Rust
    numpy::datetime

    Struct 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( +Timedelta in numpy::datetime - Rust
    numpy::datetime

    Struct 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for Timedelta<U>

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    + D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for Timedelta<U>

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 af3386ac..8709c4b7 100644 --- a/numpy/datetime/trait.Unit.html +++ b/numpy/datetime/trait.Unit.html @@ -1,16 +1,16 @@ -Unit in numpy::datetime - Rust
    numpy::datetime

    Trait Unit

    source
    pub trait Unit:
    -    Send
    -    + Sync
    -    + Clone
    -    + Copy
    -    + PartialEq
    -    + Eq
    -    + Hash
    -    + PartialOrd
    -    + Ord {
    +Unit in numpy::datetime - Rust
    numpy::datetime

    Trait 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 +

    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

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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 a17f5014..b8e7e139 100644 --- a/numpy/datetime/units/index.html +++ b/numpy/datetime/units/index.html @@ -1,2 +1,2 @@ -numpy::datetime::units - Rust
    numpy::datetime

    Module units

    source
    Expand description

    Predefined implementors of the Unit trait

    +numpy::datetime::units - Rust
    numpy::datetime

    Module 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 0e14782b..a60e1b50 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
    numpy::datetime::units

    Struct Attoseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Attoseconds

    source§

    fn eq(&self, other: &Attoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Attoseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Attoseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Attoseconds

    Source§

    fn eq(&self, other: &Attoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 18c7568d..31608cc1 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Days

    source§

    fn eq(&self, other: &Days) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Days

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Days in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Days

    Source§

    fn eq(&self, other: &Days) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Days

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 695cd0d9..4de15cef 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
    numpy::datetime::units

    Struct Femtoseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Femtoseconds

    source§

    fn eq(&self, other: &Femtoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Femtoseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Femtoseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Femtoseconds

    Source§

    fn eq(&self, other: &Femtoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 b36db0e9..c362a0f0 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Hours

    source§

    fn eq(&self, other: &Hours) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Hours

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Hours in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Hours

    Source§

    fn eq(&self, other: &Hours) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Hours

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 9cc49173..73801221 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
    numpy::datetime::units

    Struct Microseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Microseconds

    source§

    fn eq(&self, other: &Microseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Microseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Microseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Microseconds

    Source§

    fn eq(&self, other: &Microseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 eebb6938..54adcb57 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
    numpy::datetime::units

    Struct Milliseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Milliseconds

    source§

    fn eq(&self, other: &Milliseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Milliseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Milliseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Milliseconds

    Source§

    fn eq(&self, other: &Milliseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 1511704b..ecc3bc23 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Minutes

    source§

    fn eq(&self, other: &Minutes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Minutes in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Minutes

    Source§

    fn eq(&self, other: &Minutes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 37e6080b..282cb51d 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Months

    source§

    fn eq(&self, other: &Months) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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§

    §

    impl Freeze for Months

    §

    impl RefUnwindSafe for Months

    §

    impl Send for Months

    §

    impl Sync for Months

    §

    impl Unpin for Months

    §

    impl UnwindSafe for Months

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Months in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Months

    Source§

    fn eq(&self, other: &Months) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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§

    §

    impl Freeze for Months

    §

    impl RefUnwindSafe for Months

    §

    impl Send for Months

    §

    impl Sync for Months

    §

    impl Unpin for Months

    §

    impl UnwindSafe for Months

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 dc113e2b..2e6d0bf4 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
    numpy::datetime::units

    Struct Nanoseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Nanoseconds

    source§

    fn eq(&self, other: &Nanoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Nanoseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Nanoseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Nanoseconds

    Source§

    fn eq(&self, other: &Nanoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 d4cd369b..45f9ab79 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
    numpy::datetime::units

    Struct Picoseconds

    source
    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Picoseconds

    source§

    fn eq(&self, other: &Picoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Picoseconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct Picoseconds

    Source
    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Picoseconds

    Source§

    fn eq(&self, other: &Picoseconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 0d99be42..c2b4c0cc 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Seconds

    source§

    fn eq(&self, other: &Seconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Seconds in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Seconds

    Source§

    fn eq(&self, other: &Seconds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 2412a6ac..f04484e4 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Weeks

    source§

    fn eq(&self, other: &Weeks) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Weeks

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Weeks in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Weeks

    Source§

    fn eq(&self, other: &Weeks) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Weeks

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 1f2a65fe..b946743b 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
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Years

    source§

    fn eq(&self, other: &Years) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Years

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +Years in numpy::datetime::units - Rust
    numpy::datetime::units

    Struct 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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for Years

    Source§

    fn eq(&self, other: &Years) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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 Freeze for Years

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 bfd83320..5ecc2a9c 100644 --- a/numpy/enum.BorrowError.html +++ b/numpy/enum.BorrowError.html @@ -1,21 +1,21 @@ -BorrowError in numpy - Rust
    numpy

    Enum BorrowError

    source
    #[non_exhaustive]
    pub enum BorrowError { +BorrowError in numpy - Rust
    numpy

    Enum 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)>

    Returns 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)>

    Returns 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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 f24f947c..9778b4b4 100644 --- a/numpy/fn.Ix1.html +++ b/numpy/fn.Ix1.html @@ -1,2 +1,2 @@ -Ix1 in numpy - Rust
    numpy

    Function Ix1

    source
    pub const fn Ix1(i0: usize) -> Dim<[usize; 1]>
    Expand description

    Create a one-dimensional index

    +Ix1 in numpy - Rust
    numpy

    Function Ix1

    Source
    pub const 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 1b9c7688..807a074b 100644 --- a/numpy/fn.Ix2.html +++ b/numpy/fn.Ix2.html @@ -1,2 +1,2 @@ -Ix2 in numpy - Rust
    numpy

    Function Ix2

    source
    pub const fn Ix2(i0: usize, i1: usize) -> Dim<[usize; 2]>
    Expand description

    Create a two-dimensional index

    +Ix2 in numpy - Rust
    numpy

    Function Ix2

    Source
    pub const 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 c7046235..318e9f1e 100644 --- a/numpy/fn.Ix3.html +++ b/numpy/fn.Ix3.html @@ -1,2 +1,2 @@ -Ix3 in numpy - Rust
    numpy

    Function Ix3

    source
    pub const fn Ix3(i0: usize, i1: usize, i2: usize) -> Dim<[usize; 3]>
    Expand description

    Create a three-dimensional index

    +Ix3 in numpy - Rust
    numpy

    Function Ix3

    Source
    pub const 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 05efcd40..fc386dd5 100644 --- a/numpy/fn.Ix4.html +++ b/numpy/fn.Ix4.html @@ -1,2 +1,2 @@ -Ix4 in numpy - Rust
    numpy

    Function Ix4

    source
    pub const fn Ix4(i0: usize, i1: usize, i2: usize, i3: usize) -> Dim<[usize; 4]>
    Expand description

    Create a four-dimensional index

    +Ix4 in numpy - Rust
    numpy

    Function Ix4

    Source
    pub const 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 98b7cb86..955996d1 100644 --- a/numpy/fn.Ix5.html +++ b/numpy/fn.Ix5.html @@ -1,8 +1,8 @@ -Ix5 in numpy - Rust
    numpy

    Function Ix5

    source
    pub const fn Ix5(
    -    i0: usize,
    -    i1: usize,
    -    i2: usize,
    -    i3: usize,
    -    i4: usize,
    -) -> Dim<[usize; 5]>
    Expand description

    Create a five-dimensional index

    +Ix5 in numpy - Rust
    numpy

    Function Ix5

    Source
    pub const fn Ix5(
    +    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 f17445f3..2f0be38a 100644 --- a/numpy/fn.Ix6.html +++ b/numpy/fn.Ix6.html @@ -1,9 +1,9 @@ -Ix6 in numpy - Rust
    numpy

    Function Ix6

    source
    pub const fn Ix6(
    -    i0: usize,
    -    i1: usize,
    -    i2: usize,
    -    i3: usize,
    -    i4: usize,
    -    i5: usize,
    -) -> Dim<[usize; 6]>
    Expand description

    Create a six-dimensional index

    +Ix6 in numpy - Rust
    numpy

    Function Ix6

    Source
    pub const fn Ix6(
    +    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 8ea56169..736a4a37 100644 --- a/numpy/fn.IxDyn.html +++ b/numpy/fn.IxDyn.html @@ -1,2 +1,2 @@ -IxDyn in numpy - Rust
    numpy

    Function IxDyn

    source
    pub fn IxDyn(ix: &[usize]) -> Dim<IxDynImpl>
    Expand description

    Create a dynamic-dimensional index

    +IxDyn in numpy - Rust
    numpy

    Function 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 bdfa2545..abdd668e 100644 --- a/numpy/fn.dot.html +++ b/numpy/fn.dot.html @@ -1,4 +1,4 @@ -dot in numpy - Rust
    numpy

    Function dot

    source
    pub fn dot<'py, T, DIN1, DIN2, OUT>(
    +dot in numpy - Rust
    numpy

    Function dot

    Source
    pub fn dot<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>,
     ) -> PyResult<OUT>
    where diff --git a/numpy/fn.dot_bound.html b/numpy/fn.dot_bound.html index 29927c1a..48cfeb25 100644 --- a/numpy/fn.dot_bound.html +++ b/numpy/fn.dot_bound.html @@ -1,4 +1,4 @@ -dot_bound in numpy - Rust
    numpy

    Function dot_bound

    source
    pub fn dot_bound<'py, T, DIN1, DIN2, OUT>(
    +dot_bound in numpy - Rust
    numpy

    Function dot_bound

    Source
    pub fn dot_bound<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>,
     ) -> PyResult<OUT>
    where diff --git a/numpy/fn.dtype.html b/numpy/fn.dtype.html index 36da7444..7c0b1f7c 100644 --- a/numpy/fn.dtype.html +++ b/numpy/fn.dtype.html @@ -1,2 +1,2 @@ -dtype in numpy - Rust
    numpy

    Function dtype

    source
    pub fn dtype<'py, T: Element>(py: Python<'py>) -> Bound<'py, PyArrayDescr>
    Expand description

    Returns the type descriptor (“dtype”) for a registered type.

    +dtype in numpy - Rust
    numpy

    Function dtype

    Source
    pub fn dtype<'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.dtype_bound.html b/numpy/fn.dtype_bound.html index d9d57660..f3154e39 100644 --- a/numpy/fn.dtype_bound.html +++ b/numpy/fn.dtype_bound.html @@ -1,2 +1,2 @@ -dtype_bound in numpy - Rust
    numpy

    Function dtype_bound

    source
    pub fn dtype_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, PyArrayDescr>
    👎Deprecated since 0.23.0: renamed to dtype
    Expand description

    Deprecated name for dtype.

    +dtype_bound in numpy - Rust
    numpy

    Function dtype_bound

    Source
    pub fn dtype_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, PyArrayDescr>
    👎Deprecated since 0.23.0: renamed to dtype
    Expand description

    Deprecated name for dtype.

    \ No newline at end of file diff --git a/numpy/fn.einsum.html b/numpy/fn.einsum.html index 979f821c..7624f041 100644 --- a/numpy/fn.einsum.html +++ b/numpy/fn.einsum.html @@ -1,5 +1,5 @@ -einsum in numpy - Rust
    numpy

    Function einsum

    source
    pub fn einsum<'py, T, OUT>(
    -    subscripts: &str,
    +einsum in numpy - Rust
    numpy

    Function einsum

    Source
    pub fn einsum<'py, T, OUT>(
    +    subscripts: &str,
         arrays: &[Borrowed<'_, 'py, PyArray<T, IxDyn>>],
     ) -> PyResult<OUT>
    where T: Element, diff --git a/numpy/fn.einsum_bound.html b/numpy/fn.einsum_bound.html index 1fa2f639..af7b95d9 100644 --- a/numpy/fn.einsum_bound.html +++ b/numpy/fn.einsum_bound.html @@ -1,5 +1,5 @@ -einsum_bound in numpy - Rust
    numpy

    Function einsum_bound

    source
    pub fn einsum_bound<'py, T, OUT>(
    -    subscripts: &str,
    +einsum_bound in numpy - Rust
    numpy

    Function einsum_bound

    Source
    pub fn einsum_bound<'py, T, OUT>(
    +    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 14dc0b97..b448b4dc 100644 --- a/numpy/fn.inner.html +++ b/numpy/fn.inner.html @@ -1,4 +1,4 @@ -inner in numpy - Rust
    numpy

    Function inner

    source
    pub fn inner<'py, T, DIN1, DIN2, OUT>(
    +inner in numpy - Rust
    numpy

    Function inner

    Source
    pub fn inner<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>,
     ) -> PyResult<OUT>
    where diff --git a/numpy/fn.inner_bound.html b/numpy/fn.inner_bound.html index f39e2efe..c9b123c9 100644 --- a/numpy/fn.inner_bound.html +++ b/numpy/fn.inner_bound.html @@ -1,4 +1,4 @@ -inner_bound in numpy - Rust
    numpy

    Function inner_bound

    source
    pub fn inner_bound<'py, T, DIN1, DIN2, OUT>(
    +inner_bound in numpy - Rust
    numpy

    Function inner_bound

    Source
    pub fn inner_bound<'py, T, DIN1, DIN2, OUT>(
         array1: &Bound<'py, PyArray<T, DIN1>>,
         array2: &Bound<'py, PyArray<T, DIN2>>,
     ) -> PyResult<OUT>
    where diff --git a/numpy/index.html b/numpy/index.html index 69941c9e..0443262e 100644 --- a/numpy/index.html +++ b/numpy/index.html @@ -1,4 +1,4 @@ -numpy - Rust

    Crate numpy

    source
    Expand description

    This crate provides Rust interfaces for NumPy C APIs, +numpy - Rust

    Crate numpy

    Source
    Expand description

    This crate provides Rust interfaces for NumPy C APIs, especially for the ndarray class.

    It uses [pyo3] for Rust bindings to CPython, and uses ndarray as the Rust matrix library.

    diff --git a/numpy/macro.array.html b/numpy/macro.array.html index f1be744f..ebc43a57 100644 --- a/numpy/macro.array.html +++ b/numpy/macro.array.html @@ -1,12 +1,12 @@ -array in numpy - Rust
    numpy

    Macro array

    source
    macro_rules! array {
    -    ($([$([$([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($([$([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    -    ($($x:expr),* $(,)*) => { ... };
    -}
    Expand description

    Create an Array with one, two, three, four, five, or six dimensions.

    +array in numpy - Rust
    numpy

    Macro array

    Source
    macro_rules! array {
    +    ($([$([$([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($([$([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($([$([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($([$([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    +    ($($x:expr),* $(,)*) => { ... };
    +}
    Expand description

    Create an Array with one, two, three, four, five, or six dimensions.

    use ndarray::array;
     let a1 = array![1, 2, 3, 4];
    diff --git a/numpy/macro.einsum.html b/numpy/macro.einsum.html
    index d586830e..4af68f88 100644
    --- a/numpy/macro.einsum.html
    +++ b/numpy/macro.einsum.html
    @@ -1,6 +1,6 @@
    -einsum in numpy - Rust
    numpy

    Macro einsum

    source
    macro_rules! einsum {
    -    ($subscripts:literal $(,$array:ident)+ $(,)*) => { ... };
    -}
    Expand description

    Return the Einstein summation convention of given tensors.

    +einsum in numpy - Rust
    numpy

    Macro einsum

    Source
    macro_rules! einsum {
    +    ($subscripts:literal $(,$array:ident)+ $(,)*) => { ... };
    +}
    Expand description

    Return the Einstein summation convention of given tensors.

    For more about the Einstein summation convention, please refer to NumPy’s documentation.

    §Example

    diff --git a/numpy/macro.einsum_bound.html b/numpy/macro.einsum_bound.html index 5dd46ed5..eb7253a2 100644 --- a/numpy/macro.einsum_bound.html +++ b/numpy/macro.einsum_bound.html @@ -1,4 +1,4 @@ -einsum_bound in numpy - Rust
    numpy

    Macro einsum_bound

    source
    macro_rules! einsum_bound {
    -    ($subscripts:literal $(,$array:ident)+ $(,)*) => { ... };
    -}
    👎Deprecated since 0.23.0: renamed to einsum!
    Expand description

    Deprecated name for [einsum!].

    +einsum_bound in numpy - Rust
    numpy

    Macro einsum_bound

    Source
    macro_rules! einsum_bound {
    +    ($subscripts:literal $(,$array:ident)+ $(,)*) => { ... };
    +}
    👎Deprecated since 0.23.0: renamed to einsum!
    Expand description

    Deprecated name for [einsum!].

    \ No newline at end of file diff --git a/numpy/macro.pyarray.html b/numpy/macro.pyarray.html index a74e8ccb..f08d6f79 100644 --- a/numpy/macro.pyarray.html +++ b/numpy/macro.pyarray.html @@ -1,8 +1,8 @@ -pyarray in numpy - Rust
    numpy

    Macro pyarray

    source
    macro_rules! pyarray {
    -    ($py: ident, $([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($py: ident, $([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    -    ($py: ident, $($x:expr),* $(,)*) => { ... };
    -}
    Expand description

    Create a PyArray with one, two or three dimensions.

    +pyarray in numpy - Rust
    numpy

    Macro pyarray

    Source
    macro_rules! pyarray {
    +    ($py: ident, $([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($py: ident, $([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    +    ($py: ident, $($x:expr),* $(,)*) => { ... };
    +}
    Expand description

    Create a PyArray with one, two or three dimensions.

    This macro is backed by ndarray::array.

    §Example

    use numpy::pyo3::Python;
    diff --git a/numpy/macro.pyarray_bound.html b/numpy/macro.pyarray_bound.html
    index 44d7030a..2d7838a8 100644
    --- a/numpy/macro.pyarray_bound.html
    +++ b/numpy/macro.pyarray_bound.html
    @@ -1,6 +1,6 @@
    -pyarray_bound in numpy - Rust
    numpy

    Macro pyarray_bound

    source
    macro_rules! pyarray_bound {
    -    ($py: ident, $([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    -    ($py: ident, $([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    -    ($py: ident, $($x:expr),* $(,)*) => { ... };
    -}
    👎Deprecated since 0.23.0: renamed to pyarray
    Expand description

    Deprecated name for pyarray.

    +pyarray_bound in numpy - Rust
    numpy

    Macro pyarray_bound

    Source
    macro_rules! pyarray_bound {
    +    ($py: ident, $([$([$($x:expr),* $(,)*]),+ $(,)*]),+ $(,)*) => { ... };
    +    ($py: ident, $([$($x:expr),* $(,)*]),+ $(,)*) => { ... };
    +    ($py: ident, $($x:expr),* $(,)*) => { ... };
    +}
    👎Deprecated since 0.23.0: renamed to pyarray
    Expand description

    Deprecated name for pyarray.

    \ No newline at end of file diff --git a/numpy/npyffi/array/enum.NpyTypes.html b/numpy/npyffi/array/enum.NpyTypes.html index a4b0cc60..73a7f2a8 100644 --- a/numpy/npyffi/array/enum.NpyTypes.html +++ b/numpy/npyffi/array/enum.NpyTypes.html @@ -1,4 +1,4 @@ -NpyTypes in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Enum NpyTypes

    source
    pub enum NpyTypes {
    +NpyTypes in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Enum NpyTypes

    Source
    pub enum NpyTypes {
     
    Show 39 variants PyBigArray_Type, PyArray_Type, PyArrayDescr_Type, @@ -39,17 +39,17 @@ PyUnicodeArrType_Type, PyVoidArrType_Type,
    }
    Expand description

    All type objects exported by the NumPy API.

    -

    Variants§

    §

    PyBigArray_Type

    §

    PyArray_Type

    §

    PyArrayDescr_Type

    §

    PyArrayFlags_Type

    §

    PyArrayIter_Type

    §

    PyArrayMultiIter_Type

    §

    NPY_NUMUSERTYPES

    §

    PyBoolArrType_Type

    §

    _PyArrayScalar_BoolValues

    §

    PyGenericArrType_Type

    §

    PyNumberArrType_Type

    §

    PyIntegerArrType_Type

    §

    PySignedIntegerArrType_Type

    §

    PyUnsignedIntegerArrType_Type

    §

    PyInexactArrType_Type

    §

    PyFloatingArrType_Type

    §

    PyComplexFloatingArrType_Type

    §

    PyFlexibleArrType_Type

    §

    PyCharacterArrType_Type

    §

    PyByteArrType_Type

    §

    PyShortArrType_Type

    §

    PyIntArrType_Type

    §

    PyLongArrType_Type

    §

    PyLongLongArrType_Type

    §

    PyUByteArrType_Type

    §

    PyUShortArrType_Type

    §

    PyUIntArrType_Type

    §

    PyULongArrType_Type

    §

    PyULongLongArrType_Type

    §

    PyFloatArrType_Type

    §

    PyDoubleArrType_Type

    §

    PyLongDoubleArrType_Type

    §

    PyCFloatArrType_Type

    §

    PyCDoubleArrType_Type

    §

    PyCLongDoubleArrType_Type

    §

    PyObjectArrType_Type

    §

    PyStringArrType_Type

    §

    PyUnicodeArrType_Type

    §

    PyVoidArrType_Type

    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§

    §

    PyBigArray_Type

    §

    PyArray_Type

    §

    PyArrayDescr_Type

    §

    PyArrayFlags_Type

    §

    PyArrayIter_Type

    §

    PyArrayMultiIter_Type

    §

    NPY_NUMUSERTYPES

    §

    PyBoolArrType_Type

    §

    _PyArrayScalar_BoolValues

    §

    PyGenericArrType_Type

    §

    PyNumberArrType_Type

    §

    PyIntegerArrType_Type

    §

    PySignedIntegerArrType_Type

    §

    PyUnsignedIntegerArrType_Type

    §

    PyInexactArrType_Type

    §

    PyFloatingArrType_Type

    §

    PyComplexFloatingArrType_Type

    §

    PyFlexibleArrType_Type

    §

    PyCharacterArrType_Type

    §

    PyByteArrType_Type

    §

    PyShortArrType_Type

    §

    PyIntArrType_Type

    §

    PyLongArrType_Type

    §

    PyLongLongArrType_Type

    §

    PyUByteArrType_Type

    §

    PyUShortArrType_Type

    §

    PyUIntArrType_Type

    §

    PyULongArrType_Type

    §

    PyULongLongArrType_Type

    §

    PyFloatArrType_Type

    §

    PyDoubleArrType_Type

    §

    PyLongDoubleArrType_Type

    §

    PyCFloatArrType_Type

    §

    PyCDoubleArrType_Type

    §

    PyCLongDoubleArrType_Type

    §

    PyObjectArrType_Type

    §

    PyStringArrType_Type

    §

    PyUnicodeArrType_Type

    §

    PyVoidArrType_Type

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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/array/fn.PyArray_Check.html b/numpy/npyffi/array/fn.PyArray_Check.html index 4585d050..047f40af 100644 --- a/numpy/npyffi/array/fn.PyArray_Check.html +++ b/numpy/npyffi/array/fn.PyArray_Check.html @@ -1,2 +1,2 @@ -PyArray_Check in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Function PyArray_Check

    source
    pub unsafe fn PyArray_Check<'py>(py: Python<'py>, op: *mut PyObject) -> c_int
    Expand description

    Checks that op is an instance of PyArray or not.

    +PyArray_Check in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Function PyArray_Check

    Source
    pub unsafe fn PyArray_Check<'py>(py: Python<'py>, op: *mut PyObject) -> c_int
    Expand description

    Checks that op is an instance of PyArray or not.

    \ No newline at end of file diff --git a/numpy/npyffi/array/fn.PyArray_CheckExact.html b/numpy/npyffi/array/fn.PyArray_CheckExact.html index 274601ee..ed500d3d 100644 --- a/numpy/npyffi/array/fn.PyArray_CheckExact.html +++ b/numpy/npyffi/array/fn.PyArray_CheckExact.html @@ -1,5 +1,5 @@ -PyArray_CheckExact in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Function PyArray_CheckExact

    source
    pub unsafe fn PyArray_CheckExact<'py>(
    +PyArray_CheckExact in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Function PyArray_CheckExact

    Source
    pub unsafe fn PyArray_CheckExact<'py>(
         py: Python<'py>,
    -    op: *mut PyObject,
    -) -> c_int
    Expand description

    Checks that op is an exact instance of PyArray or not.

    + op: *mut PyObject, +) -> c_int
    Expand description

    Checks that op is an exact instance of PyArray or not.

    \ No newline at end of file diff --git a/numpy/npyffi/array/index.html b/numpy/npyffi/array/index.html index 532e90b2..3dc2a4b9 100644 --- a/numpy/npyffi/array/index.html +++ b/numpy/npyffi/array/index.html @@ -1,4 +1,4 @@ -numpy::npyffi::array - Rust
    numpy::npyffi

    Module array

    source
    Expand description

    Low-Level binding for Array API

    +numpy::npyffi::array - Rust
    numpy::npyffi

    Module array

    Source
    Expand description

    Low-Level binding for Array API

    Note that NumPy’s low-level allocation functions PyArray_{malloc,realloc,free} are not part of this module. The reason is that they would be re-exports of the PyMem_Raw{Malloc,Realloc,Free} functions from PyO3, but those are not unconditionally exported, i.e. they are not available when using the limited Python C-API.

    diff --git a/numpy/npyffi/array/static.PY_ARRAY_API.html b/numpy/npyffi/array/static.PY_ARRAY_API.html index 097f8591..0564a897 100644 --- a/numpy/npyffi/array/static.PY_ARRAY_API.html +++ b/numpy/npyffi/array/static.PY_ARRAY_API.html @@ -1,4 +1,4 @@ -PY_ARRAY_API in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Static PY_ARRAY_API

    source
    pub static PY_ARRAY_API: PyArrayAPI
    Expand description

    A global variable which stores a ‘capsule’ +PY_ARRAY_API in numpy::npyffi::array - Rust

    numpy::npyffi::array

    Static PY_ARRAY_API

    Source
    pub static PY_ARRAY_API: PyArrayAPI
    Expand description

    A global variable which stores a ‘capsule’ pointer to Numpy Array API.

    You can access raw C APIs via this variable.

    See PyArrayAPI for what methods you can use via this variable.

    diff --git a/numpy/npyffi/array/struct.PyArrayAPI.html b/numpy/npyffi/array/struct.PyArrayAPI.html index 386d24a7..6eb0157c 100644 --- a/numpy/npyffi/array/struct.PyArrayAPI.html +++ b/numpy/npyffi/array/struct.PyArrayAPI.html @@ -1,1496 +1,1496 @@ -PyArrayAPI in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Struct PyArrayAPI

    source
    pub struct PyArrayAPI(/* private fields */);
    Expand description

    See PY_ARRAY_API for more.

    -

    Implementations§

    source§

    impl PyArrayAPI

    source

    pub unsafe fn PyArray_GetNDArrayCVersion<'py>(&self, py: Python<'py>) -> c_uint

    source

    pub unsafe fn PyArray_SetNumericOps<'py>( +PyArrayAPI in numpy::npyffi::array - Rust
    numpy::npyffi::array

    Struct PyArrayAPI

    Source
    pub struct PyArrayAPI(/* private fields */);
    Expand description

    See PY_ARRAY_API for more.

    +

    Implementations§

    Source§

    impl PyArrayAPI

    Source

    pub unsafe fn PyArray_GetNDArrayCVersion<'py>(&self, py: Python<'py>) -> c_uint

    Source

    pub unsafe fn PyArray_SetNumericOps<'py>( &self, py: Python<'py>, - dict: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_GetNumericOps<'py>( + dict: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_GetNumericOps<'py>( &self, py: Python<'py>, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_INCREF<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_INCREF<'py>( &self, py: Python<'py>, - mp: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_XDECREF<'py>( + mp: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_XDECREF<'py>( &self, py: Python<'py>, - mp: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_SetStringFunction<'py>( + mp: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_SetStringFunction<'py>( &self, py: Python<'py>, - op: *mut PyObject, - repr: c_int, -)

    source

    pub unsafe fn PyArray_DescrFromType<'py>( + op: *mut PyObject, + repr: c_int, +)

    Source

    pub unsafe fn PyArray_DescrFromType<'py>( &self, py: Python<'py>, - type_: c_int, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_TypeObjectFromType<'py>( + type_: c_int, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_TypeObjectFromType<'py>( &self, py: Python<'py>, - type_: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Zero<'py>( + type_: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Zero<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, -) -> *mut c_char

    source

    pub unsafe fn PyArray_One<'py>( + arr: *mut PyArrayObject, +) -> *mut c_char

    Source

    pub unsafe fn PyArray_One<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, -) -> *mut c_char

    source

    pub unsafe fn PyArray_CastToType<'py>( + arr: *mut PyArrayObject, +) -> *mut c_char

    Source

    pub unsafe fn PyArray_CastToType<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - dtype: *mut PyArray_Descr, - is_f_order: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CastTo<'py>( + arr: *mut PyArrayObject, + dtype: *mut PyArray_Descr, + is_f_order: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CastTo<'py>( &self, py: Python<'py>, - out: *mut PyArrayObject, - mp: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_CanCastSafely<'py>( + out: *mut PyArrayObject, + mp: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_CanCastSafely<'py>( &self, py: Python<'py>, - fromtype: c_int, - totype: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_CanCastTo<'py>( + fromtype: c_int, + totype: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_CanCastTo<'py>( &self, py: Python<'py>, - from: *mut PyArray_Descr, - to: *mut PyArray_Descr, -) -> npy_bool

    source

    pub unsafe fn PyArray_ObjectType<'py>( + from: *mut PyArray_Descr, + to: *mut PyArray_Descr, +) -> npy_bool

    Source

    pub unsafe fn PyArray_ObjectType<'py>( &self, py: Python<'py>, - op: *mut PyObject, - minimum_type: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_DescrFromObject<'py>( + op: *mut PyObject, + minimum_type: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_DescrFromObject<'py>( &self, py: Python<'py>, - op: *mut PyObject, - mintype: *mut PyArray_Descr, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_ConvertToCommonType<'py>( + op: *mut PyObject, + mintype: *mut PyArray_Descr, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_ConvertToCommonType<'py>( &self, py: Python<'py>, - op: *mut PyObject, - retn: *mut c_int, -) -> *mut *mut PyArrayObject

    source

    pub unsafe fn PyArray_DescrFromScalar<'py>( + op: *mut PyObject, + retn: *mut c_int, +) -> *mut *mut PyArrayObject

    Source

    pub unsafe fn PyArray_DescrFromScalar<'py>( &self, py: Python<'py>, - sc: *mut PyObject, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_DescrFromTypeObject<'py>( + sc: *mut PyObject, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_DescrFromTypeObject<'py>( &self, py: Python<'py>, - type_: *mut PyObject, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_Size<'py>( + type_: *mut PyObject, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_Size<'py>( &self, py: Python<'py>, - op: *mut PyObject, -) -> npy_intp

    source

    pub unsafe fn PyArray_Scalar<'py>( + op: *mut PyObject, +) -> npy_intp

    Source

    pub unsafe fn PyArray_Scalar<'py>( &self, py: Python<'py>, - data: *mut c_void, - descr: *mut PyArray_Descr, - base: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromScalar<'py>( + data: *mut c_void, + descr: *mut PyArray_Descr, + base: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromScalar<'py>( &self, py: Python<'py>, - scalar: *mut PyObject, - outcode: *mut PyArray_Descr, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ScalarAsCtype<'py>( + scalar: *mut PyObject, + outcode: *mut PyArray_Descr, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ScalarAsCtype<'py>( &self, py: Python<'py>, - scalar: *mut PyObject, - ctypeptr: *mut c_void, -)

    source

    pub unsafe fn PyArray_CastScalarToCtype<'py>( + scalar: *mut PyObject, + ctypeptr: *mut c_void, +)

    Source

    pub unsafe fn PyArray_CastScalarToCtype<'py>( &self, py: Python<'py>, - scalar: *mut PyObject, - ctypeptr: *mut c_void, - outcode: *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_CastScalarDirect<'py>( + scalar: *mut PyObject, + ctypeptr: *mut c_void, + outcode: *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_CastScalarDirect<'py>( &self, py: Python<'py>, - scalar: *mut PyObject, - indescr: *mut PyArray_Descr, - ctypeptr: *mut c_void, - outtype: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_ScalarFromObject<'py>( + scalar: *mut PyObject, + indescr: *mut PyArray_Descr, + ctypeptr: *mut c_void, + outtype: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_ScalarFromObject<'py>( &self, py: Python<'py>, - object: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Pack<'py>( + object: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Pack<'py>( &self, py: Python<'py>, - descr: *mut PyArray_Descr, - item: *mut c_void, - value: *const PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_GetCastFunc<'py>( + descr: *mut PyArray_Descr, + item: *mut c_void, + value: *const PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_GetCastFunc<'py>( &self, py: Python<'py>, - descr: *mut PyArray_Descr, - type_num: c_int, -) -> PyArray_VectorUnaryFunc

    source

    pub unsafe fn PyArray_FromDims<'py>( + descr: *mut PyArray_Descr, + type_num: c_int, +) -> PyArray_VectorUnaryFunc

    Source

    pub unsafe fn PyArray_FromDims<'py>( &self, py: Python<'py>, - nd: c_int, - d: *mut c_int, - type_: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromDimsAndDataAndDescr<'py>( + nd: c_int, + d: *mut c_int, + type_: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromDimsAndDataAndDescr<'py>( &self, py: Python<'py>, - nd: c_int, - d: *mut c_int, - descr: *mut PyArray_Descr, - data: *mut c_char, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromAny<'py>( + nd: c_int, + d: *mut c_int, + descr: *mut PyArray_Descr, + data: *mut c_char, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromAny<'py>( &self, py: Python<'py>, - op: *mut PyObject, - newtype: *mut PyArray_Descr, - min_depth: c_int, - max_depth: c_int, - flags: c_int, - context: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_EnsureArray<'py>( + op: *mut PyObject, + newtype: *mut PyArray_Descr, + min_depth: c_int, + max_depth: c_int, + flags: c_int, + context: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_EnsureArray<'py>( &self, py: Python<'py>, - op: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_EnsureAnyArray<'py>( + op: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_EnsureAnyArray<'py>( &self, py: Python<'py>, - op: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromFile<'py>( + op: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromFile<'py>( &self, py: Python<'py>, - fp: *mut FILE, - dtype: *mut PyArray_Descr, + fp: *mut FILE, + dtype: *mut PyArray_Descr, num: npy_intp, - sep: *mut c_char, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromString<'py>( + sep: *mut c_char, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromString<'py>( &self, py: Python<'py>, - data: *mut c_char, + data: *mut c_char, slen: npy_intp, - dtype: *mut PyArray_Descr, + dtype: *mut PyArray_Descr, num: npy_intp, - sep: *mut c_char, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromBuffer<'py>( + sep: *mut c_char, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromBuffer<'py>( &self, py: Python<'py>, - buf: *mut PyObject, - type_: *mut PyArray_Descr, + buf: *mut PyObject, + type_: *mut PyArray_Descr, count: npy_intp, offset: npy_intp, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromIter<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromIter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - dtype: *mut PyArray_Descr, + obj: *mut PyObject, + dtype: *mut PyArray_Descr, count: npy_intp, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Return<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Return<'py>( &self, py: Python<'py>, - mp: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_GetField<'py>( + mp: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_GetField<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - typed: *mut PyArray_Descr, - offset: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SetField<'py>( + self_: *mut PyArrayObject, + typed: *mut PyArray_Descr, + offset: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SetField<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - dtype: *mut PyArray_Descr, - offset: c_int, - val: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_Byteswap<'py>( + self_: *mut PyArrayObject, + dtype: *mut PyArray_Descr, + offset: c_int, + val: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_Byteswap<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, + self_: *mut PyArrayObject, inplace: npy_bool, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Resize<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Resize<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - newshape: *mut PyArray_Dims, - refcheck: c_int, + self_: *mut PyArrayObject, + newshape: *mut PyArray_Dims, + refcheck: c_int, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_MoveInto<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_MoveInto<'py>( &self, py: Python<'py>, - dst: *mut PyArrayObject, - src: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_CopyObject<'py>( + dst: *mut PyArrayObject, + src: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_CopyObject<'py>( &self, py: Python<'py>, - dest: *mut PyArrayObject, - src_object: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_NewCopy<'py>( + dest: *mut PyArrayObject, + src_object: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_NewCopy<'py>( &self, py: Python<'py>, - obj: *mut PyArrayObject, + obj: *mut PyArrayObject, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ToList<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ToList<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ToString<'py>( + self_: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ToString<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, + self_: *mut PyArrayObject, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ToFile<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ToFile<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - fp: *mut FILE, - sep: *mut c_char, - format: *mut c_char, -) -> c_int

    source

    pub unsafe fn PyArray_Dump<'py>( + self_: *mut PyArrayObject, + fp: *mut FILE, + sep: *mut c_char, + format: *mut c_char, +) -> c_int

    Source

    pub unsafe fn PyArray_Dump<'py>( &self, py: Python<'py>, - self_: *mut PyObject, - file: *mut PyObject, - protocol: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_Dumps<'py>( + self_: *mut PyObject, + file: *mut PyObject, + protocol: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_Dumps<'py>( &self, py: Python<'py>, - self_: *mut PyObject, - protocol: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ValidType<'py>( + self_: *mut PyObject, + protocol: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ValidType<'py>( &self, py: Python<'py>, - type_: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_UpdateFlags<'py>( + type_: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_UpdateFlags<'py>( &self, py: Python<'py>, - ret: *mut PyArrayObject, - flagmask: c_int, -)

    source

    pub unsafe fn PyArray_New<'py>( + ret: *mut PyArrayObject, + flagmask: c_int, +)

    Source

    pub unsafe fn PyArray_New<'py>( &self, py: Python<'py>, - subtype: *mut PyTypeObject, - nd: c_int, - dims: *mut npy_intp, - type_num: c_int, - strides: *mut npy_intp, - data: *mut c_void, - itemsize: c_int, - flags: c_int, - obj: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_NewFromDescr<'py>( + subtype: *mut PyTypeObject, + nd: c_int, + dims: *mut npy_intp, + type_num: c_int, + strides: *mut npy_intp, + data: *mut c_void, + itemsize: c_int, + flags: c_int, + obj: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_NewFromDescr<'py>( &self, py: Python<'py>, - subtype: *mut PyTypeObject, - descr: *mut PyArray_Descr, - nd: c_int, - dims: *mut npy_intp, - strides: *mut npy_intp, - data: *mut c_void, - flags: c_int, - obj: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_DescrNew<'py>( + subtype: *mut PyTypeObject, + descr: *mut PyArray_Descr, + nd: c_int, + dims: *mut npy_intp, + strides: *mut npy_intp, + data: *mut c_void, + flags: c_int, + obj: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_DescrNew<'py>( &self, py: Python<'py>, - base: *mut PyArray_Descr, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_DescrNewFromType<'py>( + base: *mut PyArray_Descr, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_DescrNewFromType<'py>( &self, py: Python<'py>, - type_num: c_int, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_GetPriority<'py>( + type_num: c_int, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_GetPriority<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - default_: f64, -) -> f64

    source

    pub unsafe fn PyArray_IterNew<'py>( + obj: *mut PyObject, + default_: f64, +) -> f64

    Source

    pub unsafe fn PyArray_IterNew<'py>( &self, py: Python<'py>, - obj: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_PyIntAsInt<'py>( + obj: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_PyIntAsInt<'py>( &self, py: Python<'py>, - o: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_PyIntAsIntp<'py>( + o: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_PyIntAsIntp<'py>( &self, py: Python<'py>, - o: *mut PyObject, -) -> npy_intp

    source

    pub unsafe fn PyArray_Broadcast<'py>( + o: *mut PyObject, +) -> npy_intp

    Source

    pub unsafe fn PyArray_Broadcast<'py>( &self, py: Python<'py>, - mit: *mut PyArrayMultiIterObject, -) -> c_int

    source

    pub unsafe fn PyArray_FillObjectArray<'py>( + mit: *mut PyArrayMultiIterObject, +) -> c_int

    Source

    pub unsafe fn PyArray_FillObjectArray<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - obj: *mut PyObject, -)

    source

    pub unsafe fn PyArray_FillWithScalar<'py>( + arr: *mut PyArrayObject, + obj: *mut PyObject, +)

    Source

    pub unsafe fn PyArray_FillWithScalar<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - obj: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_CheckStrides<'py>( + arr: *mut PyArrayObject, + obj: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_CheckStrides<'py>( &self, py: Python<'py>, - elsize: c_int, - nd: c_int, + elsize: c_int, + nd: c_int, numbytes: npy_intp, offset: npy_intp, - dims: *mut npy_intp, - newstrides: *mut npy_intp, -) -> npy_bool

    source

    pub unsafe fn PyArray_DescrNewByteorder<'py>( + dims: *mut npy_intp, + newstrides: *mut npy_intp, +) -> npy_bool

    Source

    pub unsafe fn PyArray_DescrNewByteorder<'py>( &self, py: Python<'py>, - self_: *mut PyArray_Descr, - newendian: c_char, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_IterAllButAxis<'py>( + self_: *mut PyArray_Descr, + newendian: c_char, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_IterAllButAxis<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - inaxis: *mut c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CheckFromAny<'py>( + obj: *mut PyObject, + inaxis: *mut c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CheckFromAny<'py>( &self, py: Python<'py>, - op: *mut PyObject, - descr: *mut PyArray_Descr, - min_depth: c_int, - max_depth: c_int, - requires: c_int, - context: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromArray<'py>( + op: *mut PyObject, + descr: *mut PyArray_Descr, + min_depth: c_int, + max_depth: c_int, + requires: c_int, + context: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromArray<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - newtype: *mut PyArray_Descr, - flags: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromInterface<'py>( + arr: *mut PyArrayObject, + newtype: *mut PyArray_Descr, + flags: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromInterface<'py>( &self, py: Python<'py>, - origin: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromStructInterface<'py>( + origin: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromStructInterface<'py>( &self, py: Python<'py>, - input: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_FromArrayAttr<'py>( + input: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_FromArrayAttr<'py>( &self, py: Python<'py>, - op: *mut PyObject, - typecode: *mut PyArray_Descr, - context: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ScalarKind<'py>( + op: *mut PyObject, + typecode: *mut PyArray_Descr, + context: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ScalarKind<'py>( &self, py: Python<'py>, - typenum: c_int, - arr: *mut *mut PyArrayObject, -) -> NPY_SCALARKIND

    source

    pub unsafe fn PyArray_CanCoerceScalar<'py>( + typenum: c_int, + arr: *mut *mut PyArrayObject, +) -> NPY_SCALARKIND

    Source

    pub unsafe fn PyArray_CanCoerceScalar<'py>( &self, py: Python<'py>, - thistype: c_int, - neededtype: c_int, + thistype: c_int, + neededtype: c_int, scalar: NPY_SCALARKIND, -) -> c_int

    source

    pub unsafe fn PyArray_NewFlagsObject<'py>( +) -> c_int

    Source

    pub unsafe fn PyArray_NewFlagsObject<'py>( &self, py: Python<'py>, - obj: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CanCastScalar<'py>( + obj: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CanCastScalar<'py>( &self, py: Python<'py>, - from: *mut PyTypeObject, - to: *mut PyTypeObject, -) -> npy_bool

    source

    pub unsafe fn PyArray_CompareUCS4<'py>( + from: *mut PyTypeObject, + to: *mut PyTypeObject, +) -> npy_bool

    Source

    pub unsafe fn PyArray_CompareUCS4<'py>( &self, py: Python<'py>, - s1: *mut npy_ucs4, - s2: *mut npy_ucs4, - len: usize, -) -> c_int

    source

    pub unsafe fn PyArray_RemoveSmallest<'py>( + s1: *mut npy_ucs4, + s2: *mut npy_ucs4, + len: usize, +) -> c_int

    Source

    pub unsafe fn PyArray_RemoveSmallest<'py>( &self, py: Python<'py>, - multi: *mut PyArrayMultiIterObject, -) -> c_int

    source

    pub unsafe fn PyArray_ElementStrides<'py>( + multi: *mut PyArrayMultiIterObject, +) -> c_int

    Source

    pub unsafe fn PyArray_ElementStrides<'py>( &self, py: Python<'py>, - obj: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_Item_INCREF<'py>( + obj: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_Item_INCREF<'py>( &self, py: Python<'py>, - data: *mut c_char, - descr: *mut PyArray_Descr, -)

    source

    pub unsafe fn PyArray_Item_XDECREF<'py>( + data: *mut c_char, + descr: *mut PyArray_Descr, +)

    Source

    pub unsafe fn PyArray_Item_XDECREF<'py>( &self, py: Python<'py>, - data: *mut c_char, - descr: *mut PyArray_Descr, -)

    source

    pub unsafe fn PyArray_FieldNames<'py>( + data: *mut c_char, + descr: *mut PyArray_Descr, +)

    Source

    pub unsafe fn PyArray_FieldNames<'py>( &self, py: Python<'py>, - fields: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Transpose<'py>( + fields: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Transpose<'py>( &self, py: Python<'py>, - ap: *mut PyArrayObject, - permute: *mut PyArray_Dims, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_TakeFrom<'py>( + ap: *mut PyArrayObject, + permute: *mut PyArray_Dims, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_TakeFrom<'py>( &self, py: Python<'py>, - self0: *mut PyArrayObject, - indices0: *mut PyObject, - axis: c_int, - out: *mut PyArrayObject, + self0: *mut PyArrayObject, + indices0: *mut PyObject, + axis: c_int, + out: *mut PyArrayObject, clipmode: NPY_CLIPMODE, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_PutTo<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_PutTo<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - values0: *mut PyObject, - indices0: *mut PyObject, + self_: *mut PyArrayObject, + values0: *mut PyObject, + indices0: *mut PyObject, clipmode: NPY_CLIPMODE, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_PutMask<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_PutMask<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - values0: *mut PyObject, - mask0: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Repeat<'py>( + self_: *mut PyArrayObject, + values0: *mut PyObject, + mask0: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Repeat<'py>( &self, py: Python<'py>, - aop: *mut PyArrayObject, - op: *mut PyObject, - axis: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Choose<'py>( + aop: *mut PyArrayObject, + op: *mut PyObject, + axis: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Choose<'py>( &self, py: Python<'py>, - ip: *mut PyArrayObject, - op: *mut PyObject, - out: *mut PyArrayObject, + ip: *mut PyArrayObject, + op: *mut PyObject, + out: *mut PyArrayObject, clipmode: NPY_CLIPMODE, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Sort<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Sort<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - axis: c_int, + op: *mut PyArrayObject, + axis: c_int, which: NPY_SORTKIND, -) -> c_int

    source

    pub unsafe fn PyArray_ArgSort<'py>( +) -> c_int

    Source

    pub unsafe fn PyArray_ArgSort<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - axis: c_int, + op: *mut PyArrayObject, + axis: c_int, which: NPY_SORTKIND, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SearchSorted<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SearchSorted<'py>( &self, py: Python<'py>, - op1: *mut PyArrayObject, - op2: *mut PyObject, + op1: *mut PyArrayObject, + op2: *mut PyObject, side: NPY_SEARCHSIDE, - perm: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ArgMax<'py>( + perm: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ArgMax<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ArgMin<'py>( + op: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ArgMin<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Reshape<'py>( + op: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Reshape<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - shape: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Newshape<'py>( + self_: *mut PyArrayObject, + shape: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Newshape<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - newdims: *mut PyArray_Dims, + self_: *mut PyArrayObject, + newdims: *mut PyArray_Dims, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Squeeze<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Squeeze<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_View<'py>( + self_: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_View<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - type_: *mut PyArray_Descr, - pytype: *mut PyTypeObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SwapAxes<'py>( + self_: *mut PyArrayObject, + type_: *mut PyArray_Descr, + pytype: *mut PyTypeObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SwapAxes<'py>( &self, py: Python<'py>, - ap: *mut PyArrayObject, - a1: c_int, - a2: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Max<'py>( + ap: *mut PyArrayObject, + a1: c_int, + a2: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Max<'py>( &self, py: Python<'py>, - ap: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Min<'py>( + ap: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Min<'py>( &self, py: Python<'py>, - ap: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Ptp<'py>( + ap: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Ptp<'py>( &self, py: Python<'py>, - ap: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Mean<'py>( + ap: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Mean<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Trace<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Trace<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - offset: c_int, - axis1: c_int, - axis2: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Diagonal<'py>( + self_: *mut PyArrayObject, + offset: c_int, + axis1: c_int, + axis2: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Diagonal<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - offset: c_int, - axis1: c_int, - axis2: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Clip<'py>( + self_: *mut PyArrayObject, + offset: c_int, + axis1: c_int, + axis2: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Clip<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - min: *mut PyObject, - max: *mut PyObject, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Conjugate<'py>( + self_: *mut PyArrayObject, + min: *mut PyObject, + max: *mut PyObject, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Conjugate<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Nonzero<'py>( + self_: *mut PyArrayObject, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Nonzero<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Std<'py>( + self_: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Std<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, - variance: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Sum<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, + variance: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Sum<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CumSum<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CumSum<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Prod<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Prod<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CumProd<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CumProd<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - rtype: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_All<'py>( + self_: *mut PyArrayObject, + axis: c_int, + rtype: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_All<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Any<'py>( + self_: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Any<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Compress<'py>( + self_: *mut PyArrayObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Compress<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, - condition: *mut PyObject, - axis: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Flatten<'py>( + self_: *mut PyArrayObject, + condition: *mut PyObject, + axis: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Flatten<'py>( &self, py: Python<'py>, - a: *mut PyArrayObject, + a: *mut PyArrayObject, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Ravel<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Ravel<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, + arr: *mut PyArrayObject, order: NPY_ORDER, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_MultiplyList<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_MultiplyList<'py>( &self, py: Python<'py>, - l1: *mut npy_intp, - n: c_int, -) -> npy_intp

    source

    pub unsafe fn PyArray_MultiplyIntList<'py>( + l1: *mut npy_intp, + n: c_int, +) -> npy_intp

    Source

    pub unsafe fn PyArray_MultiplyIntList<'py>( &self, py: Python<'py>, - l1: *mut c_int, - n: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_GetPtr<'py>( + l1: *mut c_int, + n: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_GetPtr<'py>( &self, py: Python<'py>, - obj: *mut PyArrayObject, - ind: *mut npy_intp, -) -> *mut c_void

    source

    pub unsafe fn PyArray_CompareLists<'py>( + obj: *mut PyArrayObject, + ind: *mut npy_intp, +) -> *mut c_void

    Source

    pub unsafe fn PyArray_CompareLists<'py>( &self, py: Python<'py>, - l1: *mut npy_intp, - l2: *mut npy_intp, - n: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_AsCArray<'py>( + l1: *mut npy_intp, + l2: *mut npy_intp, + n: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_AsCArray<'py>( &self, py: Python<'py>, - op: *mut *mut PyObject, - ptr: *mut c_void, - dims: *mut npy_intp, - nd: c_int, - typedescr: *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_As1D<'py>( + op: *mut *mut PyObject, + ptr: *mut c_void, + dims: *mut npy_intp, + nd: c_int, + typedescr: *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_As1D<'py>( &self, py: Python<'py>, - op: *mut *mut PyObject, - ptr: *mut *mut c_char, - d1: *mut c_int, - typecode: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_As2D<'py>( + op: *mut *mut PyObject, + ptr: *mut *mut c_char, + d1: *mut c_int, + typecode: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_As2D<'py>( &self, py: Python<'py>, - op: *mut *mut PyObject, - ptr: *mut *mut *mut c_char, - d1: *mut c_int, - d2: *mut c_int, - typecode: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_Free<'py>( + op: *mut *mut PyObject, + ptr: *mut *mut *mut c_char, + d1: *mut c_int, + d2: *mut c_int, + typecode: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_Free<'py>( &self, py: Python<'py>, - op: *mut PyObject, - ptr: *mut c_void, -) -> c_int

    source

    pub unsafe fn PyArray_Converter<'py>( + op: *mut PyObject, + ptr: *mut c_void, +) -> c_int

    Source

    pub unsafe fn PyArray_Converter<'py>( &self, py: Python<'py>, - object: *mut PyObject, - address: *mut *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_IntpFromSequence<'py>( + object: *mut PyObject, + address: *mut *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_IntpFromSequence<'py>( &self, py: Python<'py>, - seq: *mut PyObject, - vals: *mut npy_intp, - maxvals: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_Concatenate<'py>( + seq: *mut PyObject, + vals: *mut npy_intp, + maxvals: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_Concatenate<'py>( &self, py: Python<'py>, - op: *mut PyObject, - axis: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_InnerProduct<'py>( + op: *mut PyObject, + axis: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_InnerProduct<'py>( &self, py: Python<'py>, - op1: *mut PyObject, - op2: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_MatrixProduct<'py>( + op1: *mut PyObject, + op2: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_MatrixProduct<'py>( &self, py: Python<'py>, - op1: *mut PyObject, - op2: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_CopyAndTranspose<'py>( + op1: *mut PyObject, + op2: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_CopyAndTranspose<'py>( &self, py: Python<'py>, - op: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Correlate<'py>( + op: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Correlate<'py>( &self, py: Python<'py>, - op1: *mut PyObject, - op2: *mut PyObject, - mode: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_TypestrConvert<'py>( + op1: *mut PyObject, + op2: *mut PyObject, + mode: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_TypestrConvert<'py>( &self, py: Python<'py>, - itemsize: c_int, - gentype: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_DescrConverter<'py>( + itemsize: c_int, + gentype: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_DescrConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - at: *mut *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_DescrConverter2<'py>( + obj: *mut PyObject, + at: *mut *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_DescrConverter2<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - at: *mut *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_IntpConverter<'py>( + obj: *mut PyObject, + at: *mut *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_IntpConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - seq: *mut PyArray_Dims, -) -> c_int

    source

    pub unsafe fn PyArray_BufferConverter<'py>( + obj: *mut PyObject, + seq: *mut PyArray_Dims, +) -> c_int

    Source

    pub unsafe fn PyArray_BufferConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - buf: *mut PyArray_Chunk, -) -> c_int

    source

    pub unsafe fn PyArray_AxisConverter<'py>( + obj: *mut PyObject, + buf: *mut PyArray_Chunk, +) -> c_int

    Source

    pub unsafe fn PyArray_AxisConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - axis: *mut c_int, -) -> c_int

    source

    pub unsafe fn PyArray_BoolConverter<'py>( + obj: *mut PyObject, + axis: *mut c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_BoolConverter<'py>( &self, py: Python<'py>, - object: *mut PyObject, - val: *mut npy_bool, -) -> c_int

    source

    pub unsafe fn PyArray_ByteorderConverter<'py>( + object: *mut PyObject, + val: *mut npy_bool, +) -> c_int

    Source

    pub unsafe fn PyArray_ByteorderConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - endian: *mut c_char, -) -> c_int

    source

    pub unsafe fn PyArray_OrderConverter<'py>( + obj: *mut PyObject, + endian: *mut c_char, +) -> c_int

    Source

    pub unsafe fn PyArray_OrderConverter<'py>( &self, py: Python<'py>, - object: *mut PyObject, - val: *mut NPY_ORDER, -) -> c_int

    source

    pub unsafe fn PyArray_EquivTypes<'py>( + object: *mut PyObject, + val: *mut NPY_ORDER, +) -> c_int

    Source

    pub unsafe fn PyArray_EquivTypes<'py>( &self, py: Python<'py>, - type1: *mut PyArray_Descr, - type2: *mut PyArray_Descr, -) -> c_uchar

    source

    pub unsafe fn PyArray_Zeros<'py>( + type1: *mut PyArray_Descr, + type2: *mut PyArray_Descr, +) -> c_uchar

    Source

    pub unsafe fn PyArray_Zeros<'py>( &self, py: Python<'py>, - nd: c_int, - dims: *mut npy_intp, - type_: *mut PyArray_Descr, - is_f_order: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Empty<'py>( + nd: c_int, + dims: *mut npy_intp, + type_: *mut PyArray_Descr, + is_f_order: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Empty<'py>( &self, py: Python<'py>, - nd: c_int, - dims: *mut npy_intp, - type_: *mut PyArray_Descr, - is_f_order: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Where<'py>( + nd: c_int, + dims: *mut npy_intp, + type_: *mut PyArray_Descr, + is_f_order: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Where<'py>( &self, py: Python<'py>, - condition: *mut PyObject, - x: *mut PyObject, - y: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Arange<'py>( + condition: *mut PyObject, + x: *mut PyObject, + y: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Arange<'py>( &self, py: Python<'py>, - start: f64, - stop: f64, - step: f64, - type_num: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ArangeObj<'py>( + start: f64, + stop: f64, + step: f64, + type_num: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ArangeObj<'py>( &self, py: Python<'py>, - start: *mut PyObject, - stop: *mut PyObject, - step: *mut PyObject, - dtype: *mut PyArray_Descr, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SortkindConverter<'py>( + start: *mut PyObject, + stop: *mut PyObject, + step: *mut PyObject, + dtype: *mut PyArray_Descr, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SortkindConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - sortkind: *mut NPY_SORTKIND, -) -> c_int

    source

    pub unsafe fn PyArray_LexSort<'py>( + obj: *mut PyObject, + sortkind: *mut NPY_SORTKIND, +) -> c_int

    Source

    pub unsafe fn PyArray_LexSort<'py>( &self, py: Python<'py>, - sort_keys: *mut PyObject, - axis: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_Round<'py>( + sort_keys: *mut PyObject, + axis: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_Round<'py>( &self, py: Python<'py>, - a: *mut PyArrayObject, - decimals: c_int, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_EquivTypenums<'py>( + a: *mut PyArrayObject, + decimals: c_int, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_EquivTypenums<'py>( &self, py: Python<'py>, - typenum1: c_int, - typenum2: c_int, -) -> c_uchar

    source

    pub unsafe fn PyArray_RegisterDataType<'py>( + typenum1: c_int, + typenum2: c_int, +) -> c_uchar

    Source

    pub unsafe fn PyArray_RegisterDataType<'py>( &self, py: Python<'py>, - descr: *mut PyArray_DescrProto, -) -> c_int

    source

    pub unsafe fn PyArray_RegisterCastFunc<'py>( + descr: *mut PyArray_DescrProto, +) -> c_int

    Source

    pub unsafe fn PyArray_RegisterCastFunc<'py>( &self, py: Python<'py>, - descr: *mut PyArray_Descr, - totype: c_int, + descr: *mut PyArray_Descr, + totype: c_int, castfunc: PyArray_VectorUnaryFunc, -) -> c_int

    source

    pub unsafe fn PyArray_RegisterCanCast<'py>( +) -> c_int

    Source

    pub unsafe fn PyArray_RegisterCanCast<'py>( &self, py: Python<'py>, - descr: *mut PyArray_Descr, - totype: c_int, + descr: *mut PyArray_Descr, + totype: c_int, scalar: NPY_SCALARKIND, -) -> c_int

    source

    pub unsafe fn PyArray_InitArrFuncs<'py>( +) -> c_int

    Source

    pub unsafe fn PyArray_InitArrFuncs<'py>( &self, py: Python<'py>, - f: *mut PyArray_ArrFuncs, -)

    source

    pub unsafe fn PyArray_IntTupleFromIntp<'py>( + f: *mut PyArray_ArrFuncs, +)

    Source

    pub unsafe fn PyArray_IntTupleFromIntp<'py>( &self, py: Python<'py>, - len: c_int, - vals: *mut npy_intp, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ElementFromName<'py>( + len: c_int, + vals: *mut npy_intp, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ElementFromName<'py>( &self, py: Python<'py>, - str: *mut c_char, -) -> c_int

    source

    pub unsafe fn PyArray_ClipmodeConverter<'py>( + str: *mut c_char, +) -> c_int

    Source

    pub unsafe fn PyArray_ClipmodeConverter<'py>( &self, py: Python<'py>, - object: *mut PyObject, - val: *mut NPY_CLIPMODE, -) -> c_int

    source

    pub unsafe fn PyArray_OutputConverter<'py>( + object: *mut PyObject, + val: *mut NPY_CLIPMODE, +) -> c_int

    Source

    pub unsafe fn PyArray_OutputConverter<'py>( &self, py: Python<'py>, - object: *mut PyObject, - address: *mut *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_BroadcastToShape<'py>( + object: *mut PyObject, + address: *mut *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_BroadcastToShape<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - dims: *mut npy_intp, - nd: c_int, -) -> *mut PyObject

    source

    pub unsafe fn _PyArray_SigintHandler<'py>(&self, py: Python<'py>, signum: c_int)

    source

    pub unsafe fn _PyArray_GetSigintBuf<'py>(&self, py: Python<'py>) -> *mut c_void

    source

    pub unsafe fn PyArray_DescrAlignConverter<'py>( + obj: *mut PyObject, + dims: *mut npy_intp, + nd: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn _PyArray_SigintHandler<'py>(&self, py: Python<'py>, signum: c_int)

    Source

    pub unsafe fn _PyArray_GetSigintBuf<'py>(&self, py: Python<'py>) -> *mut c_void

    Source

    pub unsafe fn PyArray_DescrAlignConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - at: *mut *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_DescrAlignConverter2<'py>( + obj: *mut PyObject, + at: *mut *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_DescrAlignConverter2<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - at: *mut *mut PyArray_Descr, -) -> c_int

    source

    pub unsafe fn PyArray_SearchsideConverter<'py>( + obj: *mut PyObject, + at: *mut *mut PyArray_Descr, +) -> c_int

    Source

    pub unsafe fn PyArray_SearchsideConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - addr: *mut c_void, -) -> c_int

    source

    pub unsafe fn PyArray_CheckAxis<'py>( + obj: *mut PyObject, + addr: *mut c_void, +) -> c_int

    Source

    pub unsafe fn PyArray_CheckAxis<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - axis: *mut c_int, - flags: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_OverflowMultiplyList<'py>( + arr: *mut PyArrayObject, + axis: *mut c_int, + flags: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_OverflowMultiplyList<'py>( &self, py: Python<'py>, - l1: *mut npy_intp, - n: c_int, -) -> npy_intp

    source

    pub unsafe fn PyArray_CompareString<'py>( + l1: *mut npy_intp, + n: c_int, +) -> npy_intp

    Source

    pub unsafe fn PyArray_CompareString<'py>( &self, py: Python<'py>, - s1: *mut c_char, - s2: *mut c_char, - len: usize, -) -> c_int

    source

    pub unsafe fn PyArray_GetEndianness<'py>(&self, py: Python<'py>) -> c_int

    source

    pub unsafe fn PyArray_GetNDArrayCFeatureVersion<'py>( + s1: *mut c_char, + s2: *mut c_char, + len: usize, +) -> c_int

    Source

    pub unsafe fn PyArray_GetEndianness<'py>(&self, py: Python<'py>) -> c_int

    Source

    pub unsafe fn PyArray_GetNDArrayCFeatureVersion<'py>( &self, py: Python<'py>, -) -> c_uint

    source

    pub unsafe fn PyArray_Correlate2<'py>( +) -> c_uint

    Source

    pub unsafe fn PyArray_Correlate2<'py>( &self, py: Python<'py>, - op1: *mut PyObject, - op2: *mut PyObject, - mode: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_NeighborhoodIterNew<'py>( + op1: *mut PyObject, + op2: *mut PyObject, + mode: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_NeighborhoodIterNew<'py>( &self, py: Python<'py>, - x: *mut PyArrayIterObject, - bounds: *mut npy_intp, - mode: c_int, - fill: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SetDatetimeParseFunction<'py>( + x: *mut PyArrayIterObject, + bounds: *mut npy_intp, + mode: c_int, + fill: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SetDatetimeParseFunction<'py>( &self, py: Python<'py>, - op: *mut PyObject, -)

    source

    pub unsafe fn PyArray_DatetimeToDatetimeStruct<'py>( + op: *mut PyObject, +)

    Source

    pub unsafe fn PyArray_DatetimeToDatetimeStruct<'py>( &self, py: Python<'py>, val: npy_datetime, fr: NPY_DATETIMEUNIT, - result: *mut npy_datetimestruct, -)

    source

    pub unsafe fn PyArray_TimedeltaToTimedeltaStruct<'py>( + result: *mut npy_datetimestruct, +)

    Source

    pub unsafe fn PyArray_TimedeltaToTimedeltaStruct<'py>( &self, py: Python<'py>, val: npy_timedelta, fr: NPY_DATETIMEUNIT, - result: *mut npy_timedeltastruct, -)

    source

    pub unsafe fn PyArray_DatetimeStructToDatetime<'py>( + result: *mut npy_timedeltastruct, +)

    Source

    pub unsafe fn PyArray_DatetimeStructToDatetime<'py>( &self, py: Python<'py>, fr: NPY_DATETIMEUNIT, - d: *mut npy_datetimestruct, -) -> npy_datetime

    source

    pub unsafe fn PyArray_TimedeltaStructToTimedelta<'py>( + d: *mut npy_datetimestruct, +) -> npy_datetime

    Source

    pub unsafe fn PyArray_TimedeltaStructToTimedelta<'py>( &self, py: Python<'py>, fr: NPY_DATETIMEUNIT, - d: *mut npy_timedeltastruct, -) -> npy_datetime

    source

    pub unsafe fn NpyIter_New<'py>( + d: *mut npy_timedeltastruct, +) -> npy_datetime

    Source

    pub unsafe fn NpyIter_New<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, + op: *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, - dtype: *mut PyArray_Descr, -) -> *mut NpyIter

    source

    pub unsafe fn NpyIter_MultiNew<'py>( + dtype: *mut PyArray_Descr, +) -> *mut NpyIter

    Source

    pub unsafe fn NpyIter_MultiNew<'py>( &self, py: Python<'py>, - nop: c_int, - op_in: *mut *mut PyArrayObject, + nop: c_int, + op_in: *mut *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, - op_flags: *mut npy_uint32, - op_request_dtypes: *mut *mut PyArray_Descr, -) -> *mut NpyIter

    source

    pub unsafe fn NpyIter_AdvancedNew<'py>( + op_flags: *mut npy_uint32, + op_request_dtypes: *mut *mut PyArray_Descr, +) -> *mut NpyIter

    Source

    pub unsafe fn NpyIter_AdvancedNew<'py>( &self, py: Python<'py>, - nop: c_int, - op_in: *mut *mut PyArrayObject, + nop: c_int, + op_in: *mut *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, - op_flags: *mut npy_uint32, - op_request_dtypes: *mut *mut PyArray_Descr, - oa_ndim: c_int, - op_axes: *mut *mut c_int, - itershape: *mut npy_intp, + op_flags: *mut npy_uint32, + op_request_dtypes: *mut *mut PyArray_Descr, + oa_ndim: c_int, + op_axes: *mut *mut c_int, + itershape: *mut npy_intp, buffersize: npy_intp, -) -> *mut NpyIter

    source

    pub unsafe fn NpyIter_Copy<'py>( +) -> *mut NpyIter

    Source

    pub unsafe fn NpyIter_Copy<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut NpyIter

    source

    pub unsafe fn NpyIter_Deallocate<'py>( + iter: *mut NpyIter, +) -> *mut NpyIter

    Source

    pub unsafe fn NpyIter_Deallocate<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> c_int

    source

    pub unsafe fn NpyIter_HasDelayedBufAlloc<'py>( + iter: *mut NpyIter, +) -> c_int

    Source

    pub unsafe fn NpyIter_HasDelayedBufAlloc<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_HasExternalLoop<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_HasExternalLoop<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_EnableExternalLoop<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_EnableExternalLoop<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> c_int

    source

    pub unsafe fn NpyIter_GetInnerStrideArray<'py>( + iter: *mut NpyIter, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetInnerStrideArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut npy_intp

    source

    pub unsafe fn NpyIter_GetInnerLoopSizePtr<'py>( + iter: *mut NpyIter, +) -> *mut npy_intp

    Source

    pub unsafe fn NpyIter_GetInnerLoopSizePtr<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut npy_intp

    source

    pub unsafe fn NpyIter_Reset<'py>( + iter: *mut NpyIter, +) -> *mut npy_intp

    Source

    pub unsafe fn NpyIter_Reset<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - errmsg: *mut *mut c_char, -) -> c_int

    source

    pub unsafe fn NpyIter_ResetBasePointers<'py>( + iter: *mut NpyIter, + errmsg: *mut *mut c_char, +) -> c_int

    Source

    pub unsafe fn NpyIter_ResetBasePointers<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - baseptrs: *mut *mut c_char, - errmsg: *mut *mut c_char, -) -> c_int

    source

    pub unsafe fn NpyIter_ResetToIterIndexRange<'py>( + iter: *mut NpyIter, + baseptrs: *mut *mut c_char, + errmsg: *mut *mut c_char, +) -> c_int

    Source

    pub unsafe fn NpyIter_ResetToIterIndexRange<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, + iter: *mut NpyIter, istart: npy_intp, iend: npy_intp, - errmsg: *mut *mut c_char, -) -> c_int

    source

    pub unsafe fn NpyIter_GetNDim<'py>( + errmsg: *mut *mut c_char, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetNDim<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> c_int

    source

    pub unsafe fn NpyIter_GetNOp<'py>( + iter: *mut NpyIter, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetNOp<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> c_int

    source

    pub unsafe fn NpyIter_GetIterNext<'py>( + iter: *mut NpyIter, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetIterNext<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - errmsg: *mut *mut c_char, -) -> NpyIter_IterNextFunc

    source

    pub unsafe fn NpyIter_GetIterSize<'py>( + iter: *mut NpyIter, + errmsg: *mut *mut c_char, +) -> NpyIter_IterNextFunc

    Source

    pub unsafe fn NpyIter_GetIterSize<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_intp

    source

    pub unsafe fn NpyIter_GetIterIndexRange<'py>( + iter: *mut NpyIter, +) -> npy_intp

    Source

    pub unsafe fn NpyIter_GetIterIndexRange<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - istart: *mut npy_intp, - iend: *mut npy_intp, -)

    source

    pub unsafe fn NpyIter_GetIterIndex<'py>( + iter: *mut NpyIter, + istart: *mut npy_intp, + iend: *mut npy_intp, +)

    Source

    pub unsafe fn NpyIter_GetIterIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_intp

    source

    pub unsafe fn NpyIter_GotoIterIndex<'py>( + iter: *mut NpyIter, +) -> npy_intp

    Source

    pub unsafe fn NpyIter_GotoIterIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, + iter: *mut NpyIter, iterindex: npy_intp, -) -> c_int

    source

    pub unsafe fn NpyIter_HasMultiIndex<'py>( +) -> c_int

    Source

    pub unsafe fn NpyIter_HasMultiIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_GetShape<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_GetShape<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - outshape: *mut npy_intp, -) -> c_int

    source

    pub unsafe fn NpyIter_GetGetMultiIndex<'py>( + iter: *mut NpyIter, + outshape: *mut npy_intp, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetGetMultiIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - errmsg: *mut *mut c_char, -) -> NpyIter_GetMultiIndexFunc

    source

    pub unsafe fn NpyIter_GotoMultiIndex<'py>( + iter: *mut NpyIter, + errmsg: *mut *mut c_char, +) -> NpyIter_GetMultiIndexFunc

    Source

    pub unsafe fn NpyIter_GotoMultiIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - multi_index: *mut npy_intp, -) -> c_int

    source

    pub unsafe fn NpyIter_RemoveMultiIndex<'py>( + iter: *mut NpyIter, + multi_index: *mut npy_intp, +) -> c_int

    Source

    pub unsafe fn NpyIter_RemoveMultiIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> c_int

    source

    pub unsafe fn NpyIter_HasIndex<'py>( + iter: *mut NpyIter, +) -> c_int

    Source

    pub unsafe fn NpyIter_HasIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_IsBuffered<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_IsBuffered<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_IsGrowInner<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_IsGrowInner<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_GetBufferSize<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_GetBufferSize<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_intp

    source

    pub unsafe fn NpyIter_GetIndexPtr<'py>( + iter: *mut NpyIter, +) -> npy_intp

    Source

    pub unsafe fn NpyIter_GetIndexPtr<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut npy_intp

    source

    pub unsafe fn NpyIter_GotoIndex<'py>( + iter: *mut NpyIter, +) -> *mut npy_intp

    Source

    pub unsafe fn NpyIter_GotoIndex<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, + iter: *mut NpyIter, flat_index: npy_intp, -) -> c_int

    source

    pub unsafe fn NpyIter_GetDataPtrArray<'py>( +) -> c_int

    Source

    pub unsafe fn NpyIter_GetDataPtrArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut *mut c_char

    source

    pub unsafe fn NpyIter_GetDescrArray<'py>( + iter: *mut NpyIter, +) -> *mut *mut c_char

    Source

    pub unsafe fn NpyIter_GetDescrArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut *mut PyArray_Descr

    source

    pub unsafe fn NpyIter_GetOperandArray<'py>( + iter: *mut NpyIter, +) -> *mut *mut PyArray_Descr

    Source

    pub unsafe fn NpyIter_GetOperandArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut *mut PyArrayObject

    source

    pub unsafe fn NpyIter_GetIterView<'py>( + iter: *mut NpyIter, +) -> *mut *mut PyArrayObject

    Source

    pub unsafe fn NpyIter_GetIterView<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, + iter: *mut NpyIter, i: npy_intp, -) -> *mut PyArrayObject

    source

    pub unsafe fn NpyIter_GetReadFlags<'py>( +) -> *mut PyArrayObject

    Source

    pub unsafe fn NpyIter_GetReadFlags<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - outreadflags: *mut c_char, -)

    source

    pub unsafe fn NpyIter_GetWriteFlags<'py>( + iter: *mut NpyIter, + outreadflags: *mut c_char, +)

    Source

    pub unsafe fn NpyIter_GetWriteFlags<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - outwriteflags: *mut c_char, -)

    source

    pub unsafe fn NpyIter_DebugPrint<'py>( + iter: *mut NpyIter, + outwriteflags: *mut c_char, +)

    Source

    pub unsafe fn NpyIter_DebugPrint<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -)

    source

    pub unsafe fn NpyIter_IterationNeedsAPI<'py>( + iter: *mut NpyIter, +)

    Source

    pub unsafe fn NpyIter_IterationNeedsAPI<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_GetInnerFixedStrideArray<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_GetInnerFixedStrideArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - out_strides: *mut npy_intp, -)

    source

    pub unsafe fn NpyIter_RemoveAxis<'py>( + iter: *mut NpyIter, + out_strides: *mut npy_intp, +)

    Source

    pub unsafe fn NpyIter_RemoveAxis<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - axis: c_int, -) -> c_int

    source

    pub unsafe fn NpyIter_GetAxisStrideArray<'py>( + iter: *mut NpyIter, + axis: c_int, +) -> c_int

    Source

    pub unsafe fn NpyIter_GetAxisStrideArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - axis: c_int, -) -> *mut npy_intp

    source

    pub unsafe fn NpyIter_RequiresBuffering<'py>( + iter: *mut NpyIter, + axis: c_int, +) -> *mut npy_intp

    Source

    pub unsafe fn NpyIter_RequiresBuffering<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> npy_bool

    source

    pub unsafe fn NpyIter_GetInitialDataPtrArray<'py>( + iter: *mut NpyIter, +) -> npy_bool

    Source

    pub unsafe fn NpyIter_GetInitialDataPtrArray<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, -) -> *mut *mut c_char

    source

    pub unsafe fn NpyIter_CreateCompatibleStrides<'py>( + iter: *mut NpyIter, +) -> *mut *mut c_char

    Source

    pub unsafe fn NpyIter_CreateCompatibleStrides<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, + iter: *mut NpyIter, itemsize: npy_intp, - outstrides: *mut npy_intp, -) -> c_int

    source

    pub unsafe fn PyArray_CastingConverter<'py>( + outstrides: *mut npy_intp, +) -> c_int

    Source

    pub unsafe fn PyArray_CastingConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - casting: *mut NPY_CASTING, -) -> c_int

    source

    pub unsafe fn PyArray_CountNonzero<'py>( + obj: *mut PyObject, + casting: *mut NPY_CASTING, +) -> c_int

    Source

    pub unsafe fn PyArray_CountNonzero<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, -) -> npy_intp

    source

    pub unsafe fn PyArray_PromoteTypes<'py>( + self_: *mut PyArrayObject, +) -> npy_intp

    Source

    pub unsafe fn PyArray_PromoteTypes<'py>( &self, py: Python<'py>, - type1: *mut PyArray_Descr, - type2: *mut PyArray_Descr, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_MinScalarType<'py>( + type1: *mut PyArray_Descr, + type2: *mut PyArray_Descr, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_MinScalarType<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_ResultType<'py>( + arr: *mut PyArrayObject, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_ResultType<'py>( &self, py: Python<'py>, narrs: npy_intp, - arr: *mut *mut PyArrayObject, + arr: *mut *mut PyArrayObject, ndtypes: npy_intp, - dtypes: *mut *mut PyArray_Descr, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArray_CanCastArrayTo<'py>( + dtypes: *mut *mut PyArray_Descr, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArray_CanCastArrayTo<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - to: *mut PyArray_Descr, + arr: *mut PyArrayObject, + to: *mut PyArray_Descr, casting: NPY_CASTING, -) -> npy_bool

    source

    pub unsafe fn PyArray_CanCastTypeTo<'py>( +) -> npy_bool

    Source

    pub unsafe fn PyArray_CanCastTypeTo<'py>( &self, py: Python<'py>, - from: *mut PyArray_Descr, - to: *mut PyArray_Descr, + from: *mut PyArray_Descr, + to: *mut PyArray_Descr, casting: NPY_CASTING, -) -> npy_bool

    source

    pub unsafe fn PyArray_EinsteinSum<'py>( +) -> npy_bool

    Source

    pub unsafe fn PyArray_EinsteinSum<'py>( &self, py: Python<'py>, - subscripts: *mut c_char, + subscripts: *mut c_char, nop: npy_intp, - op_in: *mut *mut PyArrayObject, - dtype: *mut PyArray_Descr, + op_in: *mut *mut PyArrayObject, + dtype: *mut PyArray_Descr, order: NPY_ORDER, casting: NPY_CASTING, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_NewLikeArray<'py>( + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_NewLikeArray<'py>( &self, py: Python<'py>, - prototype: *mut PyArrayObject, + prototype: *mut PyArrayObject, order: NPY_ORDER, - dtype: *mut PyArray_Descr, - subok: c_int, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_GetArrayParamsFromObject<'py>( + dtype: *mut PyArray_Descr, + subok: c_int, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_GetArrayParamsFromObject<'py>( &self, py: Python<'py>, - op: *mut PyObject, - requested_dtype: *mut PyArray_Descr, + op: *mut PyObject, + requested_dtype: *mut PyArray_Descr, writeable: npy_bool, - out_dtype: *mut *mut PyArray_Descr, - out_ndim: *mut c_int, - out_dims: *mut npy_intp, - out_arr: *mut *mut PyArrayObject, - context: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_ConvertClipmodeSequence<'py>( + out_dtype: *mut *mut PyArray_Descr, + out_ndim: *mut c_int, + out_dims: *mut npy_intp, + out_arr: *mut *mut PyArrayObject, + context: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_ConvertClipmodeSequence<'py>( &self, py: Python<'py>, - object: *mut PyObject, - modes: *mut NPY_CLIPMODE, - n: c_int, -) -> c_int

    source

    pub unsafe fn PyArray_MatrixProduct2<'py>( + object: *mut PyObject, + modes: *mut NPY_CLIPMODE, + n: c_int, +) -> c_int

    Source

    pub unsafe fn PyArray_MatrixProduct2<'py>( &self, py: Python<'py>, - op1: *mut PyObject, - op2: *mut PyObject, - out: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn NpyIter_IsFirstVisit<'py>( + op1: *mut PyObject, + op2: *mut PyObject, + out: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn NpyIter_IsFirstVisit<'py>( &self, py: Python<'py>, - iter: *mut NpyIter, - iop: c_int, -) -> npy_bool

    source

    pub unsafe fn PyArray_SetBaseObject<'py>( + iter: *mut NpyIter, + iop: c_int, +) -> npy_bool

    Source

    pub unsafe fn PyArray_SetBaseObject<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - obj: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_CreateSortedStridePerm<'py>( + arr: *mut PyArrayObject, + obj: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_CreateSortedStridePerm<'py>( &self, py: Python<'py>, - ndim: c_int, - strides: *mut npy_intp, - out_strideperm: *mut npy_stride_sort_item, -)

    source

    pub unsafe fn PyArray_RemoveAxesInPlace<'py>( + ndim: c_int, + strides: *mut npy_intp, + out_strideperm: *mut npy_stride_sort_item, +)

    Source

    pub unsafe fn PyArray_RemoveAxesInPlace<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - flags: *mut npy_bool, -)

    source

    pub unsafe fn PyArray_DebugPrint<'py>( + arr: *mut PyArrayObject, + flags: *mut npy_bool, +)

    Source

    pub unsafe fn PyArray_DebugPrint<'py>( &self, py: Python<'py>, - obj: *mut PyArrayObject, -)

    source

    pub unsafe fn PyArray_FailUnlessWriteable<'py>( + obj: *mut PyArrayObject, +)

    Source

    pub unsafe fn PyArray_FailUnlessWriteable<'py>( &self, py: Python<'py>, - obj: *mut PyArrayObject, - name: *const c_char, -) -> c_int

    source

    pub unsafe fn PyArray_SetUpdateIfCopyBase<'py>( + obj: *mut PyArrayObject, + name: *const c_char, +) -> c_int

    Source

    pub unsafe fn PyArray_SetUpdateIfCopyBase<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - base: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyDataMem_NEW<'py>( + arr: *mut PyArrayObject, + base: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyDataMem_NEW<'py>( &self, py: Python<'py>, - size: usize, -) -> *mut c_void

    source

    pub unsafe fn PyDataMem_FREE<'py>(&self, py: Python<'py>, ptr: *mut c_void)

    source

    pub unsafe fn PyDataMem_RENEW<'py>( + size: usize, +) -> *mut c_void

    Source

    pub unsafe fn PyDataMem_FREE<'py>(&self, py: Python<'py>, ptr: *mut c_void)

    Source

    pub unsafe fn PyDataMem_RENEW<'py>( &self, py: Python<'py>, - ptr: *mut c_void, - size: usize, -) -> *mut c_void

    source

    pub unsafe fn PyDataMem_SetEventHook<'py>( + ptr: *mut c_void, + size: usize, +) -> *mut c_void

    Source

    pub unsafe fn PyDataMem_SetEventHook<'py>( &self, py: Python<'py>, newhook: PyDataMem_EventHookFunc, - user_data: *mut c_void, - old_data: *mut *mut c_void, -) -> PyDataMem_EventHookFunc

    source

    pub unsafe fn PyArray_MapIterSwapAxes<'py>( + user_data: *mut c_void, + old_data: *mut *mut c_void, +) -> PyDataMem_EventHookFunc

    Source

    pub unsafe fn PyArray_MapIterSwapAxes<'py>( &self, py: Python<'py>, - mit: *mut PyArrayMapIterObject, - ret: *mut *mut PyArrayObject, - getmap: c_int, -)

    source

    pub unsafe fn PyArray_MapIterArray<'py>( + mit: *mut PyArrayMapIterObject, + ret: *mut *mut PyArrayObject, + getmap: c_int, +)

    Source

    pub unsafe fn PyArray_MapIterArray<'py>( &self, py: Python<'py>, - a: *mut PyArrayObject, - index: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_MapIterNext<'py>( + a: *mut PyArrayObject, + index: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_MapIterNext<'py>( &self, py: Python<'py>, - mit: *mut PyArrayMapIterObject, -)

    source

    pub unsafe fn PyArray_Partition<'py>( + mit: *mut PyArrayMapIterObject, +)

    Source

    pub unsafe fn PyArray_Partition<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - ktharray: *mut PyArrayObject, - axis: c_int, + op: *mut PyArrayObject, + ktharray: *mut PyArrayObject, + axis: c_int, which: NPY_SELECTKIND, -) -> c_int

    source

    pub unsafe fn PyArray_ArgPartition<'py>( +) -> c_int

    Source

    pub unsafe fn PyArray_ArgPartition<'py>( &self, py: Python<'py>, - op: *mut PyArrayObject, - ktharray: *mut PyArrayObject, - axis: c_int, + op: *mut PyArrayObject, + ktharray: *mut PyArrayObject, + axis: c_int, which: NPY_SELECTKIND, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_SelectkindConverter<'py>( +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_SelectkindConverter<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - selectkind: *mut NPY_SELECTKIND, -) -> c_int

    source

    pub unsafe fn PyDataMem_NEW_ZEROED<'py>( + obj: *mut PyObject, + selectkind: *mut NPY_SELECTKIND, +) -> c_int

    Source

    pub unsafe fn PyDataMem_NEW_ZEROED<'py>( &self, py: Python<'py>, - size: usize, - elsize: usize, -) -> *mut c_void

    source

    pub unsafe fn PyArray_CheckAnyScalarExact<'py>( + size: usize, + elsize: usize, +) -> *mut c_void

    Source

    pub unsafe fn PyArray_CheckAnyScalarExact<'py>( &self, py: Python<'py>, - obj: *mut PyObject, -) -> c_int

    source

    pub unsafe fn PyArray_MapIterArrayCopyIfOverlap<'py>( + obj: *mut PyObject, +) -> c_int

    Source

    pub unsafe fn PyArray_MapIterArrayCopyIfOverlap<'py>( &self, py: Python<'py>, - a: *mut PyArrayObject, - index: *mut PyObject, - copy_if_overlap: c_int, - extra_op: *mut PyArrayObject, -) -> *mut PyObject

    source

    pub unsafe fn PyArray_ResolveWritebackIfCopy<'py>( + a: *mut PyArrayObject, + index: *mut PyObject, + copy_if_overlap: c_int, + extra_op: *mut PyArrayObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyArray_ResolveWritebackIfCopy<'py>( &self, py: Python<'py>, - self_: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_SetWritebackIfCopyBase<'py>( + self_: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_SetWritebackIfCopyBase<'py>( &self, py: Python<'py>, - arr: *mut PyArrayObject, - base: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyDataMem_SetHandler<'py>( + arr: *mut PyArrayObject, + base: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyDataMem_SetHandler<'py>( &self, py: Python<'py>, - handler: *mut PyObject, -) -> *mut PyObject

    source

    pub unsafe fn PyDataMem_GetHandler<'py>(&self, py: Python<'py>) -> *mut PyObject

    source

    pub unsafe fn NpyDatetime_ConvertDatetime64ToDatetimeStruct<'py>( + handler: *mut PyObject, +) -> *mut PyObject

    Source

    pub unsafe fn PyDataMem_GetHandler<'py>(&self, py: Python<'py>) -> *mut PyObject

    Source

    pub unsafe fn NpyDatetime_ConvertDatetime64ToDatetimeStruct<'py>( &self, py: Python<'py>, - meta: *mut PyArray_DatetimeMetaData, + meta: *mut PyArray_DatetimeMetaData, dt: npy_datetime, - out: *mut npy_datetimestruct, -) -> c_int

    source

    pub unsafe fn NpyDatetime_ConvertDatetimeStructToDatetime64<'py>( + out: *mut npy_datetimestruct, +) -> c_int

    Source

    pub unsafe fn NpyDatetime_ConvertDatetimeStructToDatetime64<'py>( &self, py: Python<'py>, - meta: *mut PyArray_DatetimeMetaData, - dts: *const npy_datetimestruct, - out: *mut npy_datetime, -) -> c_int

    source

    pub unsafe fn NpyDatetime_ConvertPyDateTimeToDatetimeStruct<'py>( + meta: *mut PyArray_DatetimeMetaData, + dts: *const npy_datetimestruct, + out: *mut npy_datetime, +) -> c_int

    Source

    pub unsafe fn NpyDatetime_ConvertPyDateTimeToDatetimeStruct<'py>( &self, py: Python<'py>, - obj: *mut PyObject, - out: *mut npy_datetimestruct, - out_bestunit: *mut NPY_DATETIMEUNIT, - apply_tzinfo: c_int, -) -> c_int

    source

    pub unsafe fn NpyDatetime_GetDatetimeISO8601StrLen<'py>( + obj: *mut PyObject, + out: *mut npy_datetimestruct, + out_bestunit: *mut NPY_DATETIMEUNIT, + apply_tzinfo: c_int, +) -> c_int

    Source

    pub unsafe fn NpyDatetime_GetDatetimeISO8601StrLen<'py>( &self, py: Python<'py>, - local: c_int, + local: c_int, base: NPY_DATETIMEUNIT, -) -> c_int

    source

    pub unsafe fn NpyDatetime_MakeISO8601Datetime<'py>( +) -> c_int

    Source

    pub unsafe fn NpyDatetime_MakeISO8601Datetime<'py>( &self, py: Python<'py>, - dts: *mut npy_datetimestruct, - outstr: *mut c_char, + dts: *mut npy_datetimestruct, + outstr: *mut c_char, outlen: npy_intp, - local: c_int, - utc: c_int, + local: c_int, + utc: c_int, base: NPY_DATETIMEUNIT, - tzoffset: c_int, + tzoffset: c_int, casting: NPY_CASTING, -) -> c_int

    source

    pub unsafe fn NpyDatetime_ParseISO8601Datetime<'py>( +) -> c_int

    Source

    pub unsafe fn NpyDatetime_ParseISO8601Datetime<'py>( &self, py: Python<'py>, - str: *const c_char, + str: *const c_char, len: Py_ssize_t, unit: NPY_DATETIMEUNIT, casting: NPY_CASTING, - out: *mut npy_datetimestruct, - out_bestunit: *mut NPY_DATETIMEUNIT, - out_special: *mut npy_bool, -) -> c_int

    source

    pub unsafe fn NpyString_load<'py>( + out: *mut npy_datetimestruct, + out_bestunit: *mut NPY_DATETIMEUNIT, + out_special: *mut npy_bool, +) -> c_int

    Source

    pub unsafe fn NpyString_load<'py>( &self, py: Python<'py>, - allocator: *mut npy_string_allocator, - packed_string: *const npy_packed_static_string, - unpacked_string: *mut npy_static_string, -) -> c_int

    source

    pub unsafe fn NpyString_pack<'py>( + allocator: *mut npy_string_allocator, + packed_string: *const npy_packed_static_string, + unpacked_string: *mut npy_static_string, +) -> c_int

    Source

    pub unsafe fn NpyString_pack<'py>( &self, py: Python<'py>, - out: *mut npy_packed_static_string, -) -> c_int

    source

    pub unsafe fn NpyString_pack_null<'py>( + out: *mut npy_packed_static_string, +) -> c_int

    Source

    pub unsafe fn NpyString_pack_null<'py>( &self, py: Python<'py>, - allocator: *mut npy_string_allocator, - packed_string: *mut npy_packed_static_string, -) -> c_int

    source

    pub unsafe fn NpyString_acquire_allocator<'py>( + allocator: *mut npy_string_allocator, + packed_string: *mut npy_packed_static_string, +) -> c_int

    Source

    pub unsafe fn NpyString_acquire_allocator<'py>( &self, py: Python<'py>, - descr: *const PyArray_StringDTypeObject, -) -> *mut npy_string_allocator

    source

    pub unsafe fn NpyString_acquire_allocators<'py>( + descr: *const PyArray_StringDTypeObject, +) -> *mut npy_string_allocator

    Source

    pub unsafe fn NpyString_acquire_allocators<'py>( &self, py: Python<'py>, - n_descriptors: usize, - descrs: *const *mut PyArray_Descr, - allocators: *mut *mut npy_string_allocator, -)

    source

    pub unsafe fn NpyString_release_allocator<'py>( + n_descriptors: usize, + descrs: *const *mut PyArray_Descr, + allocators: *mut *mut npy_string_allocator, +)

    Source

    pub unsafe fn NpyString_release_allocator<'py>( &self, py: Python<'py>, - allocator: *mut npy_string_allocator, -)

    source

    pub unsafe fn NpyString_release_allocators<'py>( + allocator: *mut npy_string_allocator, +)

    Source

    pub unsafe fn NpyString_release_allocators<'py>( &self, py: Python<'py>, - length: usize, - allocators: *mut *mut npy_string_allocator, -)

    source

    pub unsafe fn PyArray_GetDefaultDescr<'py>( + length: usize, + allocators: *mut *mut npy_string_allocator, +)

    Source

    pub unsafe fn PyArray_GetDefaultDescr<'py>( &self, py: Python<'py>, - DType: *mut PyArray_DTypeMeta, -) -> *mut PyArray_Descr

    source

    pub unsafe fn PyArrayInitDTypeMeta_FromSpec<'py>( + DType: *mut PyArray_DTypeMeta, +) -> *mut PyArray_Descr

    Source

    pub unsafe fn PyArrayInitDTypeMeta_FromSpec<'py>( &self, py: Python<'py>, - DType: *mut PyArray_DTypeMeta, - spec: *mut PyArrayDTypeMeta_Spec, -) -> c_int

    source

    pub unsafe fn PyArray_CommonDType<'py>( + DType: *mut PyArray_DTypeMeta, + spec: *mut PyArrayDTypeMeta_Spec, +) -> c_int

    Source

    pub unsafe fn PyArray_CommonDType<'py>( &self, py: Python<'py>, - dtype1: *mut PyArray_DTypeMeta, - dtype2: *mut PyArray_DTypeMeta, -) -> PyArray_DTypeMeta

    source

    pub unsafe fn PyArray_PromoteDTypeSequence<'py>( + dtype1: *mut PyArray_DTypeMeta, + dtype2: *mut PyArray_DTypeMeta, +) -> PyArray_DTypeMeta

    Source

    pub unsafe fn PyArray_PromoteDTypeSequence<'py>( &self, py: Python<'py>, length: npy_intp, - dtypes_in: *mut *mut PyArray_DTypeMeta, -) -> *mut PyArray_DTypeMeta

    source

    pub unsafe fn _PyDataType_GetArrFuncs<'py>( + dtypes_in: *mut *mut PyArray_DTypeMeta, +) -> *mut PyArray_DTypeMeta

    Source

    pub unsafe fn _PyDataType_GetArrFuncs<'py>( &self, py: Python<'py>, - descr: *const PyArray_Descr, -) -> *mut PyArray_ArrFuncs

    source

    pub unsafe fn PyArray_CopyInto<'py>( + descr: *const PyArray_Descr, +) -> *mut PyArray_ArrFuncs

    Source

    pub unsafe fn PyArray_CopyInto<'py>( &self, py: Python<'py>, - dst: *mut PyArrayObject, - src: *mut PyArrayObject, -) -> c_int

    source

    pub unsafe fn PyArray_CastAnyTo<'py>( + dst: *mut PyArrayObject, + src: *mut PyArrayObject, +) -> c_int

    Source

    pub unsafe fn PyArray_CastAnyTo<'py>( &self, py: Python<'py>, - out: *mut PyArrayObject, - mp: *mut PyArrayObject, -) -> c_int

    source§

    impl PyArrayAPI

    source

    pub unsafe fn get_type_object<'py>( + out: *mut PyArrayObject, + mp: *mut PyArrayObject, +) -> c_int

    Source§

    impl PyArrayAPI

    Source

    pub unsafe fn get_type_object<'py>( &self, py: Python<'py>, ty: NpyTypes, -) -> *mut PyTypeObject

    Get a pointer of the type object assocaited with ty.

    -

    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).

    +) -> *mut PyTypeObject

    Get a pointer of the type object assocaited with ty.

    +

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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/constant.API_VERSION_2_0.html b/numpy/npyffi/constant.API_VERSION_2_0.html index cd55d110..e20b78b5 100644 --- a/numpy/npyffi/constant.API_VERSION_2_0.html +++ b/numpy/npyffi/constant.API_VERSION_2_0.html @@ -1 +1 @@ -API_VERSION_2_0 in numpy::npyffi - Rust
    numpy::npyffi

    Constant API_VERSION_2_0

    source
    pub const API_VERSION_2_0: c_uint = 0x00000012;
    \ No newline at end of file +API_VERSION_2_0 in numpy::npyffi - Rust
    numpy::npyffi

    Constant API_VERSION_2_0

    Source
    pub const API_VERSION_2_0: c_uint = 0x00000012;
    \ 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 844ff1b5..cabc6a93 100644 --- a/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html +++ b/numpy/npyffi/flags/constant.NPY_ALIGNED_STRUCT.html @@ -1 +1 @@ -NPY_ALIGNED_STRUCT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ALIGNED_STRUCT

    source
    pub const NPY_ALIGNED_STRUCT: u64 = 0x80;
    \ No newline at end of file +NPY_ALIGNED_STRUCT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ALIGNED_STRUCT

    Source
    pub const NPY_ALIGNED_STRUCT: u64 = 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 8f7b7ca3..af9f5228 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ALIGNED.html @@ -1 +1 @@ -NPY_ARRAY_ALIGNED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ALIGNED

    source
    pub const NPY_ARRAY_ALIGNED: c_int = 0x0100;
    \ No newline at end of file +NPY_ARRAY_ALIGNED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ALIGNED

    Source
    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 fa1b7c6d..b0cb2e5c 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED.html @@ -1 +1 @@ -NPY_ARRAY_BEHAVED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_BEHAVED

    source
    pub const NPY_ARRAY_BEHAVED: c_int = _; // 1_280i32
    \ No newline at end of file +NPY_ARRAY_BEHAVED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_BEHAVED

    Source
    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 b24d8453..4039e43f 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_BEHAVED_NS.html @@ -1 +1 @@ -NPY_ARRAY_BEHAVED_NS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_BEHAVED_NS

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_BEHAVED_NS

    Source
    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 be65db5d..12f8d928 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY.html @@ -1 +1 @@ -NPY_ARRAY_CARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_CARRAY

    source
    pub const NPY_ARRAY_CARRAY: c_int = _; // 1_281i32
    \ No newline at end of file +NPY_ARRAY_CARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_CARRAY

    Source
    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 90fc2474..34ebab18 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_CARRAY_RO.html @@ -1 +1 @@ -NPY_ARRAY_CARRAY_RO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_CARRAY_RO

    source
    pub const NPY_ARRAY_CARRAY_RO: c_int = _; // 257i32
    \ No newline at end of file +NPY_ARRAY_CARRAY_RO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_CARRAY_RO

    Source
    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 d0f17238..4460c321 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_C_CONTIGUOUS.html @@ -1 +1 @@ -NPY_ARRAY_C_CONTIGUOUS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_C_CONTIGUOUS

    source
    pub const NPY_ARRAY_C_CONTIGUOUS: c_int = 0x0001;
    \ No newline at end of file +NPY_ARRAY_C_CONTIGUOUS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_C_CONTIGUOUS

    Source
    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 728070d6..9b9ba477 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_DEFAULT.html @@ -1 +1 @@ -NPY_ARRAY_DEFAULT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_DEFAULT

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_DEFAULT

    Source
    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 2eb61c09..180b1e6f 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ELEMENTSTRIDES.html @@ -1 +1 @@ -NPY_ARRAY_ELEMENTSTRIDES in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ELEMENTSTRIDES

    source
    pub const NPY_ARRAY_ELEMENTSTRIDES: c_int = 0x0080;
    \ No newline at end of file +NPY_ARRAY_ELEMENTSTRIDES in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ELEMENTSTRIDES

    Source
    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 74c05742..90b4bfc6 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSUREARRAY.html @@ -1 +1 @@ -NPY_ARRAY_ENSUREARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ENSUREARRAY

    source
    pub const NPY_ARRAY_ENSUREARRAY: c_int = 0x0040;
    \ No newline at end of file +NPY_ARRAY_ENSUREARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ENSUREARRAY

    Source
    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 e29803c0..6cd54630 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_ENSURECOPY.html @@ -1 +1 @@ -NPY_ARRAY_ENSURECOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ENSURECOPY

    source
    pub const NPY_ARRAY_ENSURECOPY: c_int = 0x0020;
    \ No newline at end of file +NPY_ARRAY_ENSURECOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_ENSURECOPY

    Source
    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 319869be..6a94bde6 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY.html @@ -1 +1 @@ -NPY_ARRAY_FARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FARRAY

    source
    pub const NPY_ARRAY_FARRAY: c_int = _; // 1_282i32
    \ No newline at end of file +NPY_ARRAY_FARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FARRAY

    Source
    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 825190f7..fa3a8efd 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FARRAY_RO.html @@ -1 +1 @@ -NPY_ARRAY_FARRAY_RO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FARRAY_RO

    source
    pub const NPY_ARRAY_FARRAY_RO: c_int = _; // 258i32
    \ No newline at end of file +NPY_ARRAY_FARRAY_RO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FARRAY_RO

    Source
    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 636b9060..a449124f 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_FORCECAST.html @@ -1 +1 @@ -NPY_ARRAY_FORCECAST in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FORCECAST

    source
    pub const NPY_ARRAY_FORCECAST: c_int = 0x0010;
    \ No newline at end of file +NPY_ARRAY_FORCECAST in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_FORCECAST

    Source
    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 369753f2..cd90d643 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_F_CONTIGUOUS.html @@ -1 +1 @@ -NPY_ARRAY_F_CONTIGUOUS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_F_CONTIGUOUS

    source
    pub const NPY_ARRAY_F_CONTIGUOUS: c_int = 0x0002;
    \ No newline at end of file +NPY_ARRAY_F_CONTIGUOUS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_F_CONTIGUOUS

    Source
    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 a934d77a..8b19ca54 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY.html @@ -1 +1 @@ -NPY_ARRAY_INOUT_ARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_ARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_ARRAY

    Source
    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 623a7534..35341211 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_ARRAY2.html @@ -1 +1 @@ -NPY_ARRAY_INOUT_ARRAY2 in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_ARRAY2

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_ARRAY2

    Source
    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 bb1b7786..920dac30 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY.html @@ -1 +1 @@ -NPY_ARRAY_INOUT_FARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_FARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_FARRAY

    Source
    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 83205284..a688724c 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_INOUT_FARRAY2.html @@ -1 +1 @@ -NPY_ARRAY_INOUT_FARRAY2 in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_FARRAY2

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_INOUT_FARRAY2

    Source
    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 eb6be9a0..ef200d4d 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_ARRAY.html @@ -1 +1 @@ -NPY_ARRAY_IN_ARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_IN_ARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_IN_ARRAY

    Source
    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 66801c18..045c44ca 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_IN_FARRAY.html @@ -1 +1 @@ -NPY_ARRAY_IN_FARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_IN_FARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_IN_FARRAY

    Source
    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 e26cafb5..f36773da 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_NOTSWAPPED.html @@ -1 +1 @@ -NPY_ARRAY_NOTSWAPPED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_NOTSWAPPED

    source
    pub const NPY_ARRAY_NOTSWAPPED: c_int = 0x0200;
    \ No newline at end of file +NPY_ARRAY_NOTSWAPPED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_NOTSWAPPED

    Source
    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 b8cfdf2a..3c1979f8 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_ARRAY.html @@ -1 +1 @@ -NPY_ARRAY_OUT_ARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_OUT_ARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_OUT_ARRAY

    Source
    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 d309d4ea..935bf3e7 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OUT_FARRAY.html @@ -1 +1 @@ -NPY_ARRAY_OUT_FARRAY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_OUT_FARRAY

    source
    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
    numpy::npyffi::flags

    Constant NPY_ARRAY_OUT_FARRAY

    Source
    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 11f54b01..edd0d22c 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_OWNDATA.html @@ -1 +1 @@ -NPY_ARRAY_OWNDATA in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_OWNDATA

    source
    pub const NPY_ARRAY_OWNDATA: c_int = 0x0004;
    \ No newline at end of file +NPY_ARRAY_OWNDATA in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_OWNDATA

    Source
    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 f311fd4c..9219e04b 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATEIFCOPY.html @@ -1 +1 @@ -NPY_ARRAY_UPDATEIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_UPDATEIFCOPY

    source
    pub const NPY_ARRAY_UPDATEIFCOPY: c_int = 0x1000;
    \ No newline at end of file +NPY_ARRAY_UPDATEIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_UPDATEIFCOPY

    Source
    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 26f8bd1b..ecfd6dae 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_UPDATE_ALL.html @@ -1 +1 @@ -NPY_ARRAY_UPDATE_ALL in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_UPDATE_ALL

    source
    pub const NPY_ARRAY_UPDATE_ALL: c_int = _; // 3i32
    \ No newline at end of file +NPY_ARRAY_UPDATE_ALL in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_UPDATE_ALL

    Source
    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 b70de0d8..cd3bdf23 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEABLE.html @@ -1 +1 @@ -NPY_ARRAY_WRITEABLE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_WRITEABLE

    source
    pub const NPY_ARRAY_WRITEABLE: c_int = 0x0400;
    \ No newline at end of file +NPY_ARRAY_WRITEABLE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_WRITEABLE

    Source
    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 774845d8..72ff52bf 100644 --- a/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ARRAY_WRITEBACKIFCOPY.html @@ -1 +1 @@ -NPY_ARRAY_WRITEBACKIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_WRITEBACKIFCOPY

    source
    pub const NPY_ARRAY_WRITEBACKIFCOPY: c_int = 0x2000;
    \ No newline at end of file +NPY_ARRAY_WRITEBACKIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ARRAY_WRITEBACKIFCOPY

    Source
    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 69d37af7..ff50c61e 100644 --- a/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html +++ b/numpy/npyffi/flags/constant.NPY_FROM_FIELDS.html @@ -1 +1 @@ -NPY_FROM_FIELDS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_FROM_FIELDS

    source
    pub const NPY_FROM_FIELDS: u64 = _; // 27u64
    \ No newline at end of file +NPY_FROM_FIELDS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_FROM_FIELDS

    Source
    pub const NPY_FROM_FIELDS: u64 = _; // 27u64
    \ 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 ed7ab54e..3c73c1e1 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_HASOBJECT.html @@ -1 +1 @@ -NPY_ITEM_HASOBJECT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_HASOBJECT

    source
    pub const NPY_ITEM_HASOBJECT: u64 = 0x01;
    \ No newline at end of file +NPY_ITEM_HASOBJECT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_HASOBJECT

    Source
    pub const NPY_ITEM_HASOBJECT: u64 = 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 0c80b247..f87b8ec1 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_IS_POINTER.html @@ -1 +1 @@ -NPY_ITEM_IS_POINTER in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_IS_POINTER

    source
    pub const NPY_ITEM_IS_POINTER: u64 = 0x04;
    \ No newline at end of file +NPY_ITEM_IS_POINTER in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_IS_POINTER

    Source
    pub const NPY_ITEM_IS_POINTER: u64 = 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 1c34c148..12c7030b 100644 --- a/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html +++ b/numpy/npyffi/flags/constant.NPY_ITEM_REFCOUNT.html @@ -1 +1 @@ -NPY_ITEM_REFCOUNT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_REFCOUNT

    source
    pub const NPY_ITEM_REFCOUNT: u64 = 0x01;
    \ No newline at end of file +NPY_ITEM_REFCOUNT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITEM_REFCOUNT

    Source
    pub const NPY_ITEM_REFCOUNT: u64 = 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 e2bcea99..e8e3ac4a 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ALIGNED.html @@ -1 +1 @@ -NPY_ITER_ALIGNED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ALIGNED

    source
    pub const NPY_ITER_ALIGNED: npy_uint32 = 0x00100000;
    \ No newline at end of file +NPY_ITER_ALIGNED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ALIGNED

    Source
    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 142e4566..cc91bcbc 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ALLOCATE.html @@ -1 +1 @@ -NPY_ITER_ALLOCATE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ALLOCATE

    source
    pub const NPY_ITER_ALLOCATE: npy_uint32 = 0x01000000;
    \ No newline at end of file +NPY_ITER_ALLOCATE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ALLOCATE

    Source
    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 281cc8ad..8a277a6f 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ARRAYMASK.html @@ -1 +1 @@ -NPY_ITER_ARRAYMASK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ARRAYMASK

    source
    pub const NPY_ITER_ARRAYMASK: npy_uint32 = 0x20000000;
    \ No newline at end of file +NPY_ITER_ARRAYMASK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ARRAYMASK

    Source
    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 71da8572..7e7353c3 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_BUFFERED.html @@ -1 +1 @@ -NPY_ITER_BUFFERED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_BUFFERED

    source
    pub const NPY_ITER_BUFFERED: npy_uint32 = 0x00000200;
    \ No newline at end of file +NPY_ITER_BUFFERED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_BUFFERED

    Source
    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 d19476d2..c9703d06 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COMMON_DTYPE.html @@ -1 +1 @@ -NPY_ITER_COMMON_DTYPE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_COMMON_DTYPE

    source
    pub const NPY_ITER_COMMON_DTYPE: npy_uint32 = 0x00000010;
    \ No newline at end of file +NPY_ITER_COMMON_DTYPE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_COMMON_DTYPE

    Source
    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 4187dae1..b35d8866 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_CONTIG.html @@ -1 +1 @@ -NPY_ITER_CONTIG in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_CONTIG

    source
    pub const NPY_ITER_CONTIG: npy_uint32 = 0x00200000;
    \ No newline at end of file +NPY_ITER_CONTIG in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_CONTIG

    Source
    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 ca922c39..4b078405 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COPY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COPY.html @@ -1 +1 @@ -NPY_ITER_COPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_COPY

    source
    pub const NPY_ITER_COPY: npy_uint32 = 0x00400000;
    \ No newline at end of file +NPY_ITER_COPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant 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 f52c60a7..ee2ff24b 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_COPY_IF_OVERLAP.html @@ -1 +1 @@ -NPY_ITER_COPY_IF_OVERLAP in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_COPY_IF_OVERLAP

    source
    pub const NPY_ITER_COPY_IF_OVERLAP: npy_uint32 = 0x00002000;
    \ No newline at end of file +NPY_ITER_COPY_IF_OVERLAP in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_COPY_IF_OVERLAP

    Source
    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 832c5feb..cc6985db 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_C_INDEX.html @@ -1 +1 @@ -NPY_ITER_C_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_C_INDEX

    source
    pub const NPY_ITER_C_INDEX: npy_uint32 = 0x00000001;
    \ No newline at end of file +NPY_ITER_C_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_C_INDEX

    Source
    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 7d6343f8..8d62cbf5 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_DELAY_BUFALLOC.html @@ -1 +1 @@ -NPY_ITER_DELAY_BUFALLOC in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_DELAY_BUFALLOC

    source
    pub const NPY_ITER_DELAY_BUFALLOC: npy_uint32 = 0x00000800;
    \ No newline at end of file +NPY_ITER_DELAY_BUFALLOC in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_DELAY_BUFALLOC

    Source
    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 f9b6feec..acc066ba 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_DONT_NEGATE_STRIDES.html @@ -1 +1 @@ -NPY_ITER_DONT_NEGATE_STRIDES in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_DONT_NEGATE_STRIDES

    source
    pub const NPY_ITER_DONT_NEGATE_STRIDES: npy_uint32 = 0x00001000;
    \ No newline at end of file +NPY_ITER_DONT_NEGATE_STRIDES in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_DONT_NEGATE_STRIDES

    Source
    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 7ae404a8..716941a6 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_EXTERNAL_LOOP.html @@ -1 +1 @@ -NPY_ITER_EXTERNAL_LOOP in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_EXTERNAL_LOOP

    source
    pub const NPY_ITER_EXTERNAL_LOOP: npy_uint32 = 0x00000008;
    \ No newline at end of file +NPY_ITER_EXTERNAL_LOOP in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_EXTERNAL_LOOP

    Source
    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 9e6d21d5..c8feffcf 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_F_INDEX.html @@ -1 +1 @@ -NPY_ITER_F_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_F_INDEX

    source
    pub const NPY_ITER_F_INDEX: npy_uint32 = 0x00000002;
    \ No newline at end of file +NPY_ITER_F_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_F_INDEX

    Source
    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 1e2725a5..8cad4811 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_GLOBAL_FLAGS.html @@ -1 +1 @@ -NPY_ITER_GLOBAL_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_GLOBAL_FLAGS

    source
    pub const NPY_ITER_GLOBAL_FLAGS: npy_uint32 = 0x0000ffff;
    \ No newline at end of file +NPY_ITER_GLOBAL_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_GLOBAL_FLAGS

    Source
    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 e6d15932..2c3c42ab 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_GROWINNER.html @@ -1 +1 @@ -NPY_ITER_GROWINNER in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_GROWINNER

    source
    pub const NPY_ITER_GROWINNER: npy_uint32 = 0x00000400;
    \ No newline at end of file +NPY_ITER_GROWINNER in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_GROWINNER

    Source
    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 0e9b6cfd..9ebbada2 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_MULTI_INDEX.html @@ -1 +1 @@ -NPY_ITER_MULTI_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_MULTI_INDEX

    source
    pub const NPY_ITER_MULTI_INDEX: npy_uint32 = 0x00000004;
    \ No newline at end of file +NPY_ITER_MULTI_INDEX in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_MULTI_INDEX

    Source
    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 12f0f939..f6ca0685 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NBO.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NBO.html @@ -1 +1 @@ -NPY_ITER_NBO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_NBO

    source
    pub const NPY_ITER_NBO: npy_uint32 = 0x00080000;
    \ No newline at end of file +NPY_ITER_NBO in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant 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 cc4b48b1..73401c8f 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NO_BROADCAST.html @@ -1 +1 @@ -NPY_ITER_NO_BROADCAST in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_NO_BROADCAST

    source
    pub const NPY_ITER_NO_BROADCAST: npy_uint32 = 0x08000000;
    \ No newline at end of file +NPY_ITER_NO_BROADCAST in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_NO_BROADCAST

    Source
    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 5e864856..6f480875 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_NO_SUBTYPE.html @@ -1 +1 @@ -NPY_ITER_NO_SUBTYPE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_NO_SUBTYPE

    source
    pub const NPY_ITER_NO_SUBTYPE: npy_uint32 = 0x02000000;
    \ No newline at end of file +NPY_ITER_NO_SUBTYPE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_NO_SUBTYPE

    Source
    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 1b8dd6a0..9f15b92c 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE.html @@ -1 +1 @@ -NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE

    source
    pub const NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE: npy_uint32 = 0x40000000;
    \ No newline at end of file +NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE

    Source
    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 efb31de8..a1935f1c 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_PER_OP_FLAGS.html @@ -1 +1 @@ -NPY_ITER_PER_OP_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_PER_OP_FLAGS

    source
    pub const NPY_ITER_PER_OP_FLAGS: npy_uint32 = 0xffff0000;
    \ No newline at end of file +NPY_ITER_PER_OP_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_PER_OP_FLAGS

    Source
    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 6288751a..fa7860fa 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_RANGED.html @@ -1 +1 @@ -NPY_ITER_RANGED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_RANGED

    source
    pub const NPY_ITER_RANGED: npy_uint32 = 0x00000100;
    \ No newline at end of file +NPY_ITER_RANGED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_RANGED

    Source
    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 6591a4d2..f2fb5331 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_READONLY.html @@ -1 +1 @@ -NPY_ITER_READONLY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_READONLY

    source
    pub const NPY_ITER_READONLY: npy_uint32 = 0x00020000;
    \ No newline at end of file +NPY_ITER_READONLY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_READONLY

    Source
    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 4689dcdc..a10a72d3 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_READWRITE.html @@ -1 +1 @@ -NPY_ITER_READWRITE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_READWRITE

    source
    pub const NPY_ITER_READWRITE: npy_uint32 = 0x00010000;
    \ No newline at end of file +NPY_ITER_READWRITE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_READWRITE

    Source
    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 9dffc7b2..c026d0a5 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_REDUCE_OK.html @@ -1 +1 @@ -NPY_ITER_REDUCE_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_REDUCE_OK

    source
    pub const NPY_ITER_REDUCE_OK: npy_uint32 = 0x00000080;
    \ No newline at end of file +NPY_ITER_REDUCE_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_REDUCE_OK

    Source
    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 53e97be8..a1c88e9b 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_REFS_OK.html @@ -1 +1 @@ -NPY_ITER_REFS_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_REFS_OK

    source
    pub const NPY_ITER_REFS_OK: npy_uint32 = 0x00000020;
    \ No newline at end of file +NPY_ITER_REFS_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_REFS_OK

    Source
    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 6ce177a1..c72a2428 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_UPDATEIFCOPY.html @@ -1 +1 @@ -NPY_ITER_UPDATEIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_UPDATEIFCOPY

    source
    pub const NPY_ITER_UPDATEIFCOPY: npy_uint32 = 0x00800000;
    \ No newline at end of file +NPY_ITER_UPDATEIFCOPY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_UPDATEIFCOPY

    Source
    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 b507dc92..9ffa2ef5 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_VIRTUAL.html @@ -1 +1 @@ -NPY_ITER_VIRTUAL in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_VIRTUAL

    source
    pub const NPY_ITER_VIRTUAL: npy_uint32 = 0x04000000;
    \ No newline at end of file +NPY_ITER_VIRTUAL in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_VIRTUAL

    Source
    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 39d845c6..29dd2bc0 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_WRITEMASKED.html @@ -1 +1 @@ -NPY_ITER_WRITEMASKED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_WRITEMASKED

    source
    pub const NPY_ITER_WRITEMASKED: npy_uint32 = 0x10000000;
    \ No newline at end of file +NPY_ITER_WRITEMASKED in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_WRITEMASKED

    Source
    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 a8d81115..7d6c1535 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_WRITEONLY.html @@ -1 +1 @@ -NPY_ITER_WRITEONLY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_WRITEONLY

    source
    pub const NPY_ITER_WRITEONLY: npy_uint32 = 0x00040000;
    \ No newline at end of file +NPY_ITER_WRITEONLY in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_WRITEONLY

    Source
    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 be87c840..7bde8725 100644 --- a/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html +++ b/numpy/npyffi/flags/constant.NPY_ITER_ZEROSIZE_OK.html @@ -1 +1 @@ -NPY_ITER_ZEROSIZE_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ZEROSIZE_OK

    source
    pub const NPY_ITER_ZEROSIZE_OK: npy_uint32 = 0x00000040;
    \ No newline at end of file +NPY_ITER_ZEROSIZE_OK in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_ITER_ZEROSIZE_OK

    Source
    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 575274fe..4d6e5548 100644 --- a/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html +++ b/numpy/npyffi/flags/constant.NPY_LIST_PICKLE.html @@ -1 +1 @@ -NPY_LIST_PICKLE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_LIST_PICKLE

    source
    pub const NPY_LIST_PICKLE: u64 = 0x02;
    \ No newline at end of file +NPY_LIST_PICKLE in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_LIST_PICKLE

    Source
    pub const NPY_LIST_PICKLE: u64 = 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 80ef5159..0acfa554 100644 --- a/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html +++ b/numpy/npyffi/flags/constant.NPY_NEEDS_INIT.html @@ -1 +1 @@ -NPY_NEEDS_INIT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_NEEDS_INIT

    source
    pub const NPY_NEEDS_INIT: u64 = 0x08;
    \ No newline at end of file +NPY_NEEDS_INIT in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_NEEDS_INIT

    Source
    pub const NPY_NEEDS_INIT: u64 = 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 e89086d7..0c491905 100644 --- a/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html +++ b/numpy/npyffi/flags/constant.NPY_NEEDS_PYAPI.html @@ -1 +1 @@ -NPY_NEEDS_PYAPI in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_NEEDS_PYAPI

    source
    pub const NPY_NEEDS_PYAPI: u64 = 0x10;
    \ No newline at end of file +NPY_NEEDS_PYAPI in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_NEEDS_PYAPI

    Source
    pub const NPY_NEEDS_PYAPI: u64 = 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 a01323a8..625168d0 100644 --- a/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html +++ b/numpy/npyffi/flags/constant.NPY_OBJECT_DTYPE_FLAGS.html @@ -1 +1 @@ -NPY_OBJECT_DTYPE_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_OBJECT_DTYPE_FLAGS

    source
    pub const NPY_OBJECT_DTYPE_FLAGS: u64 = _; // 63u64
    \ No newline at end of file +NPY_OBJECT_DTYPE_FLAGS in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_OBJECT_DTYPE_FLAGS

    Source
    pub const NPY_OBJECT_DTYPE_FLAGS: u64 = _; // 63u64
    \ 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 53cd521d..4adefbe9 100644 --- a/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html +++ b/numpy/npyffi/flags/constant.NPY_USE_GETITEM.html @@ -1 +1 @@ -NPY_USE_GETITEM in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_USE_GETITEM

    source
    pub const NPY_USE_GETITEM: u64 = 0x20;
    \ No newline at end of file +NPY_USE_GETITEM in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_USE_GETITEM

    Source
    pub const NPY_USE_GETITEM: u64 = 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 25e2aa56..c3efb3d4 100644 --- a/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html +++ b/numpy/npyffi/flags/constant.NPY_USE_SETITEM.html @@ -1 +1 @@ -NPY_USE_SETITEM in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_USE_SETITEM

    source
    pub const NPY_USE_SETITEM: u64 = 0x40;
    \ No newline at end of file +NPY_USE_SETITEM in numpy::npyffi::flags - Rust
    numpy::npyffi::flags

    Constant NPY_USE_SETITEM

    Source
    pub const NPY_USE_SETITEM: u64 = 0x40;
    \ No newline at end of file diff --git a/numpy/npyffi/flags/index.html b/numpy/npyffi/flags/index.html index 7fb57297..274d5580 100644 --- a/numpy/npyffi/flags/index.html +++ b/numpy/npyffi/flags/index.html @@ -1 +1 @@ -numpy::npyffi::flags - Rust
    \ No newline at end of file +numpy::npyffi::flags - Rust
    \ No newline at end of file diff --git a/numpy/npyffi/fn.is_numpy_2.html b/numpy/npyffi/fn.is_numpy_2.html index e6247482..7b4b32a5 100644 --- a/numpy/npyffi/fn.is_numpy_2.html +++ b/numpy/npyffi/fn.is_numpy_2.html @@ -1,2 +1,2 @@ -is_numpy_2 in numpy::npyffi - Rust
    numpy::npyffi

    Function is_numpy_2

    source
    pub fn is_numpy_2<'py>(py: Python<'py>) -> bool
    Expand description

    Returns whether the runtime numpy version is 2.0 or greater.

    +is_numpy_2 in numpy::npyffi - Rust
    numpy::npyffi

    Function is_numpy_2

    Source
    pub fn is_numpy_2<'py>(py: Python<'py>) -> bool
    Expand description

    Returns whether the runtime numpy version is 2.0 or greater.

    \ No newline at end of file diff --git a/numpy/npyffi/index.html b/numpy/npyffi/index.html index 1e276572..a1337bbc 100644 --- a/numpy/npyffi/index.html +++ b/numpy/npyffi/index.html @@ -1,3 +1,3 @@ -numpy::npyffi - Rust
    numpy

    Module npyffi

    source
    Expand description

    Low-Level bindings for NumPy C API.

    +numpy::npyffi - Rust
    numpy

    Module npyffi

    Source
    Expand description

    Low-Level bindings for NumPy C API.

    https://numpy.org/doc/stable/reference/c-api

    Re-exports§

    Modules§

    Constants§

    Functions§

    • Returns whether the runtime numpy version is 2.0 or greater.
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_ALIGNMENT.html b/numpy/npyffi/objects/fn.PyDataType_ALIGNMENT.html index db0b8927..562e9cca 100644 --- a/numpy/npyffi/objects/fn.PyDataType_ALIGNMENT.html +++ b/numpy/npyffi/objects/fn.PyDataType_ALIGNMENT.html @@ -1,4 +1,4 @@ -PyDataType_ALIGNMENT in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ALIGNMENT

    source
    pub unsafe fn PyDataType_ALIGNMENT<'py>(
    +PyDataType_ALIGNMENT in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ALIGNMENT

    Source
    pub unsafe fn PyDataType_ALIGNMENT<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    +    dtype: *const PyArray_Descr,
     ) -> npy_intp
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_C_METADATA.html b/numpy/npyffi/objects/fn.PyDataType_C_METADATA.html index 7f19d94a..e549cdd4 100644 --- a/numpy/npyffi/objects/fn.PyDataType_C_METADATA.html +++ b/numpy/npyffi/objects/fn.PyDataType_C_METADATA.html @@ -1,4 +1,4 @@ -PyDataType_C_METADATA in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_C_METADATA

    source
    pub unsafe fn PyDataType_C_METADATA<'py>(
    +PyDataType_C_METADATA in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_C_METADATA

    Source
    pub unsafe fn PyDataType_C_METADATA<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    -) -> *mut NpyAuxData
    \ No newline at end of file + dtype: *const PyArray_Descr, +) -> *mut NpyAuxData
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_ELSIZE.html b/numpy/npyffi/objects/fn.PyDataType_ELSIZE.html index 8d1c9577..1b368a1e 100644 --- a/numpy/npyffi/objects/fn.PyDataType_ELSIZE.html +++ b/numpy/npyffi/objects/fn.PyDataType_ELSIZE.html @@ -1,4 +1,4 @@ -PyDataType_ELSIZE in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ELSIZE

    source
    pub unsafe fn PyDataType_ELSIZE<'py>(
    +PyDataType_ELSIZE in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ELSIZE

    Source
    pub unsafe fn PyDataType_ELSIZE<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    +    dtype: *const PyArray_Descr,
     ) -> npy_intp
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_FIELDS.html b/numpy/npyffi/objects/fn.PyDataType_FIELDS.html index 05ba80f2..15f92a13 100644 --- a/numpy/npyffi/objects/fn.PyDataType_FIELDS.html +++ b/numpy/npyffi/objects/fn.PyDataType_FIELDS.html @@ -1,4 +1,4 @@ -PyDataType_FIELDS in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_FIELDS

    source
    pub unsafe fn PyDataType_FIELDS<'py>(
    +PyDataType_FIELDS in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_FIELDS

    Source
    pub unsafe fn PyDataType_FIELDS<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    -) -> *mut PyObject
    \ No newline at end of file + dtype: *const PyArray_Descr, +) -> *mut PyObject
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_FLAGS.html b/numpy/npyffi/objects/fn.PyDataType_FLAGS.html index d27b938f..fdb8df69 100644 --- a/numpy/npyffi/objects/fn.PyDataType_FLAGS.html +++ b/numpy/npyffi/objects/fn.PyDataType_FLAGS.html @@ -1,4 +1,4 @@ -PyDataType_FLAGS in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_FLAGS

    source
    pub unsafe fn PyDataType_FLAGS<'py>(
    +PyDataType_FLAGS in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_FLAGS

    Source
    pub unsafe fn PyDataType_FLAGS<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    +    dtype: *const PyArray_Descr,
     ) -> npy_uint64
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_ISLEGACY.html b/numpy/npyffi/objects/fn.PyDataType_ISLEGACY.html index b5db3003..94606409 100644 --- a/numpy/npyffi/objects/fn.PyDataType_ISLEGACY.html +++ b/numpy/npyffi/objects/fn.PyDataType_ISLEGACY.html @@ -1 +1 @@ -PyDataType_ISLEGACY in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ISLEGACY

    source
    pub unsafe fn PyDataType_ISLEGACY(dtype: *const PyArray_Descr) -> bool
    \ No newline at end of file +PyDataType_ISLEGACY in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_ISLEGACY

    Source
    pub unsafe fn PyDataType_ISLEGACY(dtype: *const PyArray_Descr) -> bool
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_METADATA.html b/numpy/npyffi/objects/fn.PyDataType_METADATA.html index 278fbb47..31ed6d63 100644 --- a/numpy/npyffi/objects/fn.PyDataType_METADATA.html +++ b/numpy/npyffi/objects/fn.PyDataType_METADATA.html @@ -1,4 +1,4 @@ -PyDataType_METADATA in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_METADATA

    source
    pub unsafe fn PyDataType_METADATA<'py>(
    +PyDataType_METADATA in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_METADATA

    Source
    pub unsafe fn PyDataType_METADATA<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    -) -> *mut PyObject
    \ No newline at end of file + dtype: *const PyArray_Descr, +) -> *mut PyObject
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_NAMES.html b/numpy/npyffi/objects/fn.PyDataType_NAMES.html index 72fae9d7..6f13a41e 100644 --- a/numpy/npyffi/objects/fn.PyDataType_NAMES.html +++ b/numpy/npyffi/objects/fn.PyDataType_NAMES.html @@ -1,4 +1,4 @@ -PyDataType_NAMES in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_NAMES

    source
    pub unsafe fn PyDataType_NAMES<'py>(
    +PyDataType_NAMES in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_NAMES

    Source
    pub unsafe fn PyDataType_NAMES<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    -) -> *mut PyObject
    \ No newline at end of file + dtype: *const PyArray_Descr, +) -> *mut PyObject
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_SET_ELSIZE.html b/numpy/npyffi/objects/fn.PyDataType_SET_ELSIZE.html index 8d3ab381..bb696317 100644 --- a/numpy/npyffi/objects/fn.PyDataType_SET_ELSIZE.html +++ b/numpy/npyffi/objects/fn.PyDataType_SET_ELSIZE.html @@ -1,5 +1,5 @@ -PyDataType_SET_ELSIZE in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_SET_ELSIZE

    source
    pub unsafe fn PyDataType_SET_ELSIZE<'py>(
    +PyDataType_SET_ELSIZE in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_SET_ELSIZE

    Source
    pub unsafe fn PyDataType_SET_ELSIZE<'py>(
         py: Python<'py>,
    -    dtype: *mut PyArray_Descr,
    +    dtype: *mut PyArray_Descr,
         size: npy_intp,
     )
    \ No newline at end of file diff --git a/numpy/npyffi/objects/fn.PyDataType_SUBARRAY.html b/numpy/npyffi/objects/fn.PyDataType_SUBARRAY.html index 136603b4..38150b58 100644 --- a/numpy/npyffi/objects/fn.PyDataType_SUBARRAY.html +++ b/numpy/npyffi/objects/fn.PyDataType_SUBARRAY.html @@ -1,4 +1,4 @@ -PyDataType_SUBARRAY in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_SUBARRAY

    source
    pub unsafe fn PyDataType_SUBARRAY<'py>(
    +PyDataType_SUBARRAY in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Function PyDataType_SUBARRAY

    Source
    pub unsafe fn PyDataType_SUBARRAY<'py>(
         py: Python<'py>,
    -    dtype: *const PyArray_Descr,
    -) -> *mut PyArray_ArrayDescr
    \ No newline at end of file + dtype: *const PyArray_Descr, +) -> *mut PyArray_ArrayDescr
    \ No newline at end of file diff --git a/numpy/npyffi/objects/index.html b/numpy/npyffi/objects/index.html index 81274b7d..adadaa9a 100644 --- a/numpy/npyffi/objects/index.html +++ b/numpy/npyffi/objects/index.html @@ -1,3 +1,3 @@ -numpy::npyffi::objects - Rust
    numpy::npyffi

    Module objects

    source
    Expand description

    Low-Lebel binding for NumPy C API C-objects

    +numpy::npyffi::objects - Rust
    numpy::npyffi

    Module objects

    Source
    Expand description

    Structs§

    Functions§

    Type Aliases§

    \ No newline at end of file diff --git a/numpy/npyffi/objects/struct.NpyAuxData.html b/numpy/npyffi/objects/struct.NpyAuxData.html index 8063c1ef..81dfc99b 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
    numpy::npyffi::objects

    Struct NpyAuxData

    source
    #[repr(C)]
    pub struct NpyAuxData { +NpyAuxData in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct NpyAuxData

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 099a2f5d..86354343 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
    numpy::npyffi::objects

    Struct 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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
    numpy::npyffi::objects

    Struct 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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.PyArrayDTypeMeta_Spec.html b/numpy/npyffi/objects/struct.PyArrayDTypeMeta_Spec.html index 0a21b01e..89df15dd 100644 --- a/numpy/npyffi/objects/struct.PyArrayDTypeMeta_Spec.html +++ b/numpy/npyffi/objects/struct.PyArrayDTypeMeta_Spec.html @@ -1,21 +1,21 @@ -PyArrayDTypeMeta_Spec in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayDTypeMeta_Spec

    source
    #[repr(C)]
    pub struct PyArrayDTypeMeta_Spec { - pub typeobj: *mut PyTypeObject, - pub flags: c_int, - pub casts: *mut *mut PyArrayMethod_Spec, - pub slots: *mut PyType_Slot, - pub baseclass: *mut PyTypeObject, -}

    Fields§

    §typeobj: *mut PyTypeObject§flags: c_int§casts: *mut *mut PyArrayMethod_Spec§slots: *mut PyType_Slot§baseclass: *mut PyTypeObject

    Trait Implementations§

    source§

    impl Clone for PyArrayDTypeMeta_Spec

    source§

    fn clone(&self) -> PyArrayDTypeMeta_Spec

    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 PyArrayDTypeMeta_Spec

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +PyArrayDTypeMeta_Spec in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayDTypeMeta_Spec

    Source
    #[repr(C)]
    pub struct PyArrayDTypeMeta_Spec { + pub typeobj: *mut PyTypeObject, + pub flags: c_int, + pub casts: *mut *mut PyArrayMethod_Spec, + pub slots: *mut PyType_Slot, + pub baseclass: *mut PyTypeObject, +}

    Fields§

    §typeobj: *mut PyTypeObject§flags: c_int§casts: *mut *mut PyArrayMethod_Spec§slots: *mut PyType_Slot§baseclass: *mut PyTypeObject

    Trait Implementations§

    Source§

    impl Clone for PyArrayDTypeMeta_Spec

    Source§

    fn clone(&self) -> PyArrayDTypeMeta_Spec

    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 PyArrayDTypeMeta_Spec

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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.PyArrayFlagsObject.html b/numpy/npyffi/objects/struct.PyArrayFlagsObject.html index 30b000ae..4b232553 100644 --- a/numpy/npyffi/objects/struct.PyArrayFlagsObject.html +++ b/numpy/npyffi/objects/struct.PyArrayFlagsObject.html @@ -1,17 +1,17 @@ -PyArrayFlagsObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayFlagsObject

    source
    #[repr(C)]
    pub struct PyArrayFlagsObject { +PyArrayFlagsObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayFlagsObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 3c59cd3d..1655c58c 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
    numpy::npyffi::objects

    Struct PyArrayInterface

    source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +PyArrayInterface in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayInterface

    Source
    #[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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 89185e22..a2ddf28d 100644 --- a/numpy/npyffi/objects/struct.PyArrayIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayIterObject.html @@ -1,30 +1,30 @@ -PyArrayIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayIterObject

    source
    #[repr(C)]
    pub struct PyArrayIterObject {
    Show 16 fields +PyArrayIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayIterObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 8dc53c53..c7e8e02a 100644 --- a/numpy/npyffi/objects/struct.PyArrayMapIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayMapIterObject.html @@ -1,47 +1,47 @@ -PyArrayMapIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMapIterObject

    source
    #[repr(C)]
    pub struct PyArrayMapIterObject {
    Show 33 fields +PyArrayMapIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMapIterObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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.PyArrayMethod_Spec.html b/numpy/npyffi/objects/struct.PyArrayMethod_Spec.html index fdd7bb17..6026cc19 100644 --- a/numpy/npyffi/objects/struct.PyArrayMethod_Spec.html +++ b/numpy/npyffi/objects/struct.PyArrayMethod_Spec.html @@ -1,23 +1,23 @@ -PyArrayMethod_Spec in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMethod_Spec

    source
    #[repr(C)]
    pub struct PyArrayMethod_Spec { - pub name: *const c_char, - pub nin: c_int, - pub nout: c_int, +PyArrayMethod_Spec in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMethod_Spec

    Source
    #[repr(C)]
    pub struct PyArrayMethod_Spec { + pub name: *const c_char, + pub nin: c_int, + pub nout: c_int, pub casting: NPY_CASTING, pub flags: NPY_ARRAYMETHOD_FLAGS, - pub dtypes: *mut *mut PyArray_DTypeMeta, - pub slots: *mut PyType_Slot, -}

    Fields§

    §name: *const c_char§nin: c_int§nout: c_int§casting: NPY_CASTING§flags: NPY_ARRAYMETHOD_FLAGS§dtypes: *mut *mut PyArray_DTypeMeta§slots: *mut PyType_Slot

    Trait Implementations§

    source§

    impl Clone for PyArrayMethod_Spec

    source§

    fn clone(&self) -> PyArrayMethod_Spec

    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 PyArrayMethod_Spec

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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 dtypes: *mut *mut PyArray_DTypeMeta, + pub slots: *mut PyType_Slot, +}

    Fields§

    §name: *const c_char§nin: c_int§nout: c_int§casting: NPY_CASTING§flags: NPY_ARRAYMETHOD_FLAGS§dtypes: *mut *mut PyArray_DTypeMeta§slots: *mut PyType_Slot

    Trait Implementations§

    Source§

    impl Clone for PyArrayMethod_Spec

    Source§

    fn clone(&self) -> PyArrayMethod_Spec

    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 PyArrayMethod_Spec

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 f3d9cf73..c4811cce 100644 --- a/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayMultiIterObject.html @@ -1,21 +1,21 @@ -PyArrayMultiIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMultiIterObject

    source
    #[repr(C)]
    pub struct PyArrayMultiIterObject { +PyArrayMultiIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayMultiIterObject

    Source
    #[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]

    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]

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 f1dddfb7..254d73d5 100644 --- a/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html +++ b/numpy/npyffi/objects/struct.PyArrayNeighborhoodIterObject.html @@ -1,35 +1,35 @@ -PyArrayNeighborhoodIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayNeighborhoodIterObject

    source
    #[repr(C)]
    pub struct PyArrayNeighborhoodIterObject {
    Show 21 fields +PyArrayNeighborhoodIterObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayNeighborhoodIterObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 f9e4fce5..9a8dbf92 100644 --- a/numpy/npyffi/objects/struct.PyArrayObject.html +++ b/numpy/npyffi/objects/struct.PyArrayObject.html @@ -1,23 +1,23 @@ -PyArrayObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayObject

    source
    #[repr(C)]
    pub struct PyArrayObject { +PyArrayObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArrayObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 10f1f71c..e46ac423 100644 --- a/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html +++ b/numpy/npyffi/objects/struct.PyArray_ArrFuncs.html @@ -1,5 +1,5 @@ -PyArray_ArrFuncs in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_ArrFuncs

    source
    #[repr(C)]
    pub struct PyArray_ArrFuncs {
    Show 23 fields - pub cast: [PyArray_VectorUnaryFunc; 21], +PyArray_ArrFuncs in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_ArrFuncs

    Source
    #[repr(C)]
    pub struct PyArray_ArrFuncs {
    Show 23 fields + pub cast: [PyArray_VectorUnaryFunc; 21], pub getitem: PyArray_GetItemFunc, pub setitem: PyArray_SetItemFunc, pub copyswapn: PyArray_CopySwapNFunc, @@ -12,28 +12,28 @@ 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 334f0507..2404fcc9 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
    numpy::npyffi::objects

    Struct PyArray_ArrayDescr

    source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +PyArray_ArrayDescr in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_ArrayDescr

    Source
    #[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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 7dc4458c..a499064b 100644 --- a/numpy/npyffi/objects/struct.PyArray_Chunk.html +++ b/numpy/npyffi/objects/struct.PyArray_Chunk.html @@ -1,19 +1,19 @@ -PyArray_Chunk in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_Chunk

    source
    #[repr(C)]
    pub struct PyArray_Chunk { +PyArray_Chunk in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_Chunk

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 b61c1a38..12ca7bdf 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
    numpy::npyffi::objects

    Struct PyArray_DatetimeDTypeMetaData

    source
    #[repr(C)]
    pub struct PyArray_DatetimeDTypeMetaData { +PyArray_DatetimeDTypeMetaData in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_DatetimeDTypeMetaData

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 2084c933..b0883c67 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
    numpy::npyffi::objects

    Struct PyArray_DatetimeMetaData

    source
    #[repr(C)]
    pub struct PyArray_DatetimeMetaData { +PyArray_DatetimeMetaData in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_DatetimeMetaData

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 527e5a21..9cc3307b 100644 --- a/numpy/npyffi/objects/struct.PyArray_Descr.html +++ b/numpy/npyffi/objects/struct.PyArray_Descr.html @@ -1,21 +1,21 @@ -PyArray_Descr in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_Descr

    source
    #[repr(C)]
    pub struct PyArray_Descr { +PyArray_Descr in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_Descr

    Source
    #[repr(C)]
    pub struct PyArray_Descr { pub ob_base: PyObject, - pub typeobj: *mut PyTypeObject, - pub kind: c_char, - pub type_: c_char, - pub byteorder: c_char, - pub _former_flags: c_char, - pub type_num: c_int, -}

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§_former_flags: c_char§type_num: c_int

    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 typeobj: *mut PyTypeObject, + pub kind: c_char, + pub type_: c_char, + pub byteorder: c_char, + pub _former_flags: c_char, + pub type_num: c_int, +}

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§_former_flags: c_char§type_num: c_int

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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_DescrProto.html b/numpy/npyffi/objects/struct.PyArray_DescrProto.html index ee3f5cd2..4c1207b0 100644 --- a/numpy/npyffi/objects/struct.PyArray_DescrProto.html +++ b/numpy/npyffi/objects/struct.PyArray_DescrProto.html @@ -1,30 +1,30 @@ -PyArray_DescrProto in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_DescrProto

    source
    #[repr(C)]
    pub struct PyArray_DescrProto {
    Show 16 fields +PyArray_DescrProto in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_DescrProto

    Source
    #[repr(C)]
    pub struct PyArray_DescrProto {
    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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 ae2f03bb..8d4cc296 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
    numpy::npyffi::objects

    Struct PyArray_Dims

    source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +PyArray_Dims in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_Dims

    Source
    #[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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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_StringDTypeObject.html b/numpy/npyffi/objects/struct.PyArray_StringDTypeObject.html index 2c4847fe..8bca4036 100644 --- a/numpy/npyffi/objects/struct.PyArray_StringDTypeObject.html +++ b/numpy/npyffi/objects/struct.PyArray_StringDTypeObject.html @@ -1,23 +1,23 @@ -PyArray_StringDTypeObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_StringDTypeObject

    source
    #[repr(C)]
    pub struct PyArray_StringDTypeObject { +PyArray_StringDTypeObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyArray_StringDTypeObject

    Source
    #[repr(C)]
    pub struct PyArray_StringDTypeObject { pub base: PyArray_Descr, - pub na_object: *mut PyObject, - pub coerce: c_char, - pub has_nan_na: c_char, - pub has_string_na: c_char, - pub array_owned: c_char, + pub na_object: *mut PyObject, + pub coerce: c_char, + pub has_nan_na: c_char, + pub has_string_na: c_char, + pub array_owned: c_char, pub default_string: npy_static_string, pub na_name: npy_static_string, - pub allocator: *mut npy_string_allocator, -}

    Fields§

    §base: PyArray_Descr§na_object: *mut PyObject§coerce: c_char§has_nan_na: c_char§has_string_na: c_char§array_owned: c_char§default_string: npy_static_string§na_name: npy_static_string§allocator: *mut npy_string_allocator

    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 allocator: *mut npy_string_allocator, +}

    Fields§

    §base: PyArray_Descr§na_object: *mut PyObject§coerce: c_char§has_nan_na: c_char§has_string_na: c_char§array_owned: c_char§default_string: npy_static_string§na_name: npy_static_string§allocator: *mut npy_string_allocator

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 cc08620d..0c202b29 100644 --- a/numpy/npyffi/objects/struct.PyUFuncObject.html +++ b/numpy/npyffi/objects/struct.PyUFuncObject.html @@ -1,41 +1,41 @@ -PyUFuncObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyUFuncObject

    source
    #[repr(C)]
    pub struct PyUFuncObject {
    Show 27 fields +PyUFuncObject in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct PyUFuncObject

    Source
    #[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

    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

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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_DescrNumPy2.html b/numpy/npyffi/objects/struct._PyArray_DescrNumPy2.html index 80ec4d40..7ced3a48 100644 --- a/numpy/npyffi/objects/struct._PyArray_DescrNumPy2.html +++ b/numpy/npyffi/objects/struct._PyArray_DescrNumPy2.html @@ -1,27 +1,27 @@ -_PyArray_DescrNumPy2 in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct _PyArray_DescrNumPy2

    source
    #[repr(C)]
    pub struct _PyArray_DescrNumPy2 {
    Show 13 fields +_PyArray_DescrNumPy2 in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct _PyArray_DescrNumPy2

    Source
    #[repr(C)]
    pub struct _PyArray_DescrNumPy2 {
    Show 13 fields pub ob_base: PyObject, - pub typeobj: *mut PyTypeObject, - pub kind: c_char, - pub type_: c_char, - pub byteorder: c_char, - pub _former_flags: c_char, - pub type_num: c_int, + pub typeobj: *mut PyTypeObject, + pub kind: c_char, + pub type_: c_char, + pub byteorder: c_char, + pub _former_flags: c_char, + pub type_num: c_int, pub flags: npy_uint64, pub elsize: npy_intp, pub alignment: npy_intp, - pub metadata: *mut PyObject, + pub metadata: *mut PyObject, pub hash: npy_hash_t, - pub reserved_null: [*mut c_void; 2], -
    }

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§_former_flags: c_char§type_num: c_int§flags: npy_uint64§elsize: npy_intp§alignment: npy_intp§metadata: *mut PyObject§hash: npy_hash_t§reserved_null: [*mut c_void; 2]

    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_null: [*mut c_void; 2], +
    }

    Fields§

    §ob_base: PyObject§typeobj: *mut PyTypeObject§kind: c_char§type_: c_char§byteorder: c_char§_former_flags: c_char§type_num: c_int§flags: npy_uint64§elsize: npy_intp§alignment: npy_intp§metadata: *mut PyObject§hash: npy_hash_t§reserved_null: [*mut c_void; 2]

    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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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.npy_static_string.html b/numpy/npyffi/objects/struct.npy_static_string.html index 5b20f9c2..8989f68d 100644 --- a/numpy/npyffi/objects/struct.npy_static_string.html +++ b/numpy/npyffi/objects/struct.npy_static_string.html @@ -1,18 +1,18 @@ -npy_static_string in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct npy_static_string

    source
    #[repr(C)]
    pub struct npy_static_string { - pub size: usize, - pub buf: *const c_char, -}

    Fields§

    §size: usize§buf: *const c_char

    Trait Implementations§

    source§

    impl Clone for npy_static_string

    source§

    fn clone(&self) -> npy_static_string

    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 npy_static_string

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +npy_static_string in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Struct npy_static_string

    Source
    #[repr(C)]
    pub struct npy_static_string { + pub size: usize, + pub buf: *const c_char, +}

    Fields§

    §size: usize§buf: *const c_char

    Trait Implementations§

    Source§

    impl Clone for npy_static_string

    Source§

    fn clone(&self) -> npy_static_string

    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 npy_static_string

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 fd81016b..7e1d3515 100644 --- a/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html +++ b/numpy/npyffi/objects/type.NpyAuxData_CloneFunc.html @@ -1,6 +1,6 @@ -NpyAuxData_CloneFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias NpyAuxData_CloneFunc

    source
    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
    numpy::npyffi::objects

    Type Alias NpyAuxData_CloneFunc

    Source
    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 e6ab1396..cc9f711f 100644 --- a/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html +++ b/numpy/npyffi/objects/type.NpyAuxData_FreeFunc.html @@ -1,6 +1,6 @@ -NpyAuxData_FreeFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias NpyAuxData_FreeFunc

    source
    pub type NpyAuxData_FreeFunc = Option<unsafe extern "C" fn(_: *mut NpyAuxData)>;

    Aliased Type§

    enum NpyAuxData_FreeFunc {
    +NpyAuxData_FreeFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias NpyAuxData_FreeFunc

    Source
    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 ff127591..4c0c44ff 100644 --- a/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html +++ b/numpy/npyffi/objects/type.NpyIter_GetMultiIndexFunc.html @@ -1,6 +1,6 @@ -NpyIter_GetMultiIndexFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias NpyIter_GetMultiIndexFunc

    source
    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
    numpy::npyffi::objects

    Type Alias NpyIter_GetMultiIndexFunc

    Source
    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 81b14ca5..b5602297 100644 --- a/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html +++ b/numpy/npyffi/objects/type.NpyIter_IterNextFunc.html @@ -1,6 +1,6 @@ -NpyIter_IterNextFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias NpyIter_IterNextFunc

    source
    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
    numpy::npyffi::objects

    Type Alias NpyIter_IterNextFunc

    Source
    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 5698c17f..b930375b 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgFunc.html @@ -1,6 +1,6 @@ -PyArray_ArgFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias 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
    numpy::npyffi::objects

    Type Alias 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 d4f96116..e0ab9982 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgPartitionFunc.html @@ -1,6 +1,6 @@ -PyArray_ArgPartitionFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_ArgPartitionFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_ArgPartitionFunc

    Source
    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 19d4a56e..51e9a1d5 100644 --- a/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ArgSortFunc.html @@ -1,6 +1,6 @@ -PyArray_ArgSortFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_ArgSortFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_ArgSortFunc

    Source
    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 b9501bf0..ccbfb55d 100644 --- a/numpy/npyffi/objects/type.PyArray_CompareFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CompareFunc.html @@ -1,6 +1,6 @@ -PyArray_CompareFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_CompareFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_CompareFunc

    Source
    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 8ade1de1..db622151 100644 --- a/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CopySwapFunc.html @@ -1,6 +1,6 @@ -PyArray_CopySwapFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_CopySwapFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_CopySwapFunc

    Source
    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 811bcbe7..e0fccc16 100644 --- a/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html +++ b/numpy/npyffi/objects/type.PyArray_CopySwapNFunc.html @@ -1,6 +1,6 @@ -PyArray_CopySwapNFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_CopySwapNFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_CopySwapNFunc

    Source
    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_DTypeMeta.html b/numpy/npyffi/objects/type.PyArray_DTypeMeta.html index fff3b25b..dd219bee 100644 --- a/numpy/npyffi/objects/type.PyArray_DTypeMeta.html +++ b/numpy/npyffi/objects/type.PyArray_DTypeMeta.html @@ -1,51 +1,52 @@ -PyArray_DTypeMeta in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_DTypeMeta

    source
    pub type PyArray_DTypeMeta = PyTypeObject;

    Aliased Type§

    struct PyArray_DTypeMeta {
    Show 49 fields +PyArray_DTypeMeta in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_DTypeMeta

    Source
    pub type PyArray_DTypeMeta = PyTypeObject;

    Aliased Type§

    struct PyArray_DTypeMeta {
    Show 50 fields pub ob_base: PyVarObject, - pub tp_name: *const i8, - pub tp_basicsize: isize, - pub tp_itemsize: isize, - pub tp_dealloc: Option<unsafe extern "C" fn(_: *mut PyObject)>, - pub tp_vectorcall_offset: isize, - pub tp_getattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8) -> *mut PyObject>, - pub tp_setattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8, _: *mut PyObject) -> i32>, - pub tp_as_async: *mut PyAsyncMethods, - pub tp_repr: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, - pub tp_as_number: *mut PyNumberMethods, - pub tp_as_sequence: *mut PySequenceMethods, - pub tp_as_mapping: *mut PyMappingMethods, - pub tp_hash: Option<unsafe extern "C" fn(_: *mut PyObject) -> isize>, - pub tp_call: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, - pub tp_str: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, - pub tp_getattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, - pub tp_setattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, - pub tp_as_buffer: *mut PyBufferProcs, - pub tp_flags: u64, - pub tp_doc: *const i8, - pub tp_traverse: Option<unsafe extern "C" fn(_: *mut PyObject, _: unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void) -> i32, _: *mut c_void) -> i32>, - pub tp_clear: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>, - pub tp_richcompare: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: i32) -> *mut PyObject>, - pub tp_weaklistoffset: isize, - pub tp_iter: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, - pub tp_iternext: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, - pub tp_methods: *mut PyMethodDef, - pub tp_members: *mut PyMemberDef, - pub tp_getset: *mut PyGetSetDef, - pub tp_base: *mut PyTypeObject, - pub tp_dict: *mut PyObject, - pub tp_descr_get: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, - pub tp_descr_set: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, - pub tp_dictoffset: isize, - pub tp_init: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, - pub tp_alloc: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: isize) -> *mut PyObject>, - pub tp_new: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, - pub tp_free: Option<unsafe extern "C" fn(_: *mut c_void)>, - pub tp_is_gc: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>, - pub tp_bases: *mut PyObject, - pub tp_mro: *mut PyObject, - pub tp_cache: *mut PyObject, - pub tp_subclasses: *mut PyObject, - pub tp_weaklist: *mut PyObject, - pub tp_del: Option<unsafe extern "C" fn(_: *mut PyObject)>, - pub tp_version_tag: u32, - pub tp_finalize: Option<unsafe extern "C" fn(_: *mut PyObject)>, - pub tp_vectorcall: Option<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>, -
    }

    Fields§

    §ob_base: PyVarObject§tp_name: *const i8§tp_basicsize: isize§tp_itemsize: isize§tp_dealloc: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_vectorcall_offset: isize§tp_getattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8) -> *mut PyObject>§tp_setattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8, _: *mut PyObject) -> i32>§tp_as_async: *mut PyAsyncMethods§tp_repr: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_as_number: *mut PyNumberMethods§tp_as_sequence: *mut PySequenceMethods§tp_as_mapping: *mut PyMappingMethods§tp_hash: Option<unsafe extern "C" fn(_: *mut PyObject) -> isize>§tp_call: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_str: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_getattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_setattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_as_buffer: *mut PyBufferProcs§tp_flags: u64§tp_doc: *const i8§tp_traverse: Option<unsafe extern "C" fn(_: *mut PyObject, _: unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void) -> i32, _: *mut c_void) -> i32>§tp_clear: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>§tp_richcompare: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: i32) -> *mut PyObject>§tp_weaklistoffset: isize§tp_iter: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_iternext: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_methods: *mut PyMethodDef§tp_members: *mut PyMemberDef§tp_getset: *mut PyGetSetDef§tp_base: *mut PyTypeObject§tp_dict: *mut PyObject§tp_descr_get: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_descr_set: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_dictoffset: isize§tp_init: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_alloc: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: isize) -> *mut PyObject>§tp_new: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_free: Option<unsafe extern "C" fn(_: *mut c_void)>§tp_is_gc: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>§tp_bases: *mut PyObject§tp_mro: *mut PyObject§tp_cache: *mut PyObject§tp_subclasses: *mut PyObject§tp_weaklist: *mut PyObject§tp_del: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_version_tag: u32§tp_finalize: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_vectorcall: Option<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>
    \ No newline at end of file + pub tp_name: *const i8, + pub tp_basicsize: isize, + pub tp_itemsize: isize, + pub tp_dealloc: Option<unsafe extern "C" fn(_: *mut PyObject)>, + pub tp_vectorcall_offset: isize, + pub tp_getattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8) -> *mut PyObject>, + pub tp_setattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8, _: *mut PyObject) -> i32>, + pub tp_as_async: *mut PyAsyncMethods, + pub tp_repr: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, + pub tp_as_number: *mut PyNumberMethods, + pub tp_as_sequence: *mut PySequenceMethods, + pub tp_as_mapping: *mut PyMappingMethods, + pub tp_hash: Option<unsafe extern "C" fn(_: *mut PyObject) -> isize>, + pub tp_call: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, + pub tp_str: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, + pub tp_getattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, + pub tp_setattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, + pub tp_as_buffer: *mut PyBufferProcs, + pub tp_flags: u64, + pub tp_doc: *const i8, + pub tp_traverse: Option<unsafe extern "C" fn(_: *mut PyObject, _: unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void) -> i32, _: *mut c_void) -> i32>, + pub tp_clear: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>, + pub tp_richcompare: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: i32) -> *mut PyObject>, + pub tp_weaklistoffset: isize, + pub tp_iter: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, + pub tp_iternext: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>, + pub tp_methods: *mut PyMethodDef, + pub tp_members: *mut PyMemberDef, + pub tp_getset: *mut PyGetSetDef, + pub tp_base: *mut PyTypeObject, + pub tp_dict: *mut PyObject, + pub tp_descr_get: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, + pub tp_descr_set: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, + pub tp_dictoffset: isize, + pub tp_init: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>, + pub tp_alloc: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: isize) -> *mut PyObject>, + pub tp_new: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>, + pub tp_free: Option<unsafe extern "C" fn(_: *mut c_void)>, + pub tp_is_gc: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>, + pub tp_bases: *mut PyObject, + pub tp_mro: *mut PyObject, + pub tp_cache: *mut PyObject, + pub tp_subclasses: *mut PyObject, + pub tp_weaklist: *mut PyObject, + pub tp_del: Option<unsafe extern "C" fn(_: *mut PyObject)>, + pub tp_version_tag: u32, + pub tp_finalize: Option<unsafe extern "C" fn(_: *mut PyObject)>, + pub tp_vectorcall: Option<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>, + pub tp_watched: i8, +
    }

    Fields§

    §ob_base: PyVarObject§tp_name: *const i8§tp_basicsize: isize§tp_itemsize: isize§tp_dealloc: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_vectorcall_offset: isize§tp_getattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8) -> *mut PyObject>§tp_setattr: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut i8, _: *mut PyObject) -> i32>§tp_as_async: *mut PyAsyncMethods§tp_repr: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_as_number: *mut PyNumberMethods§tp_as_sequence: *mut PySequenceMethods§tp_as_mapping: *mut PyMappingMethods§tp_hash: Option<unsafe extern "C" fn(_: *mut PyObject) -> isize>§tp_call: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_str: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_getattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_setattro: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_as_buffer: *mut PyBufferProcs§tp_flags: u64§tp_doc: *const i8§tp_traverse: Option<unsafe extern "C" fn(_: *mut PyObject, _: unsafe extern "C" fn(_: *mut PyObject, _: *mut c_void) -> i32, _: *mut c_void) -> i32>§tp_clear: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>§tp_richcompare: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: i32) -> *mut PyObject>§tp_weaklistoffset: isize§tp_iter: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_iternext: Option<unsafe extern "C" fn(_: *mut PyObject) -> *mut PyObject>§tp_methods: *mut PyMethodDef§tp_members: *mut PyMemberDef§tp_getset: *mut PyGetSetDef§tp_base: *mut PyTypeObject§tp_dict: *mut PyObject§tp_descr_get: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_descr_set: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_dictoffset: isize§tp_init: Option<unsafe extern "C" fn(_: *mut PyObject, _: *mut PyObject, _: *mut PyObject) -> i32>§tp_alloc: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: isize) -> *mut PyObject>§tp_new: Option<unsafe extern "C" fn(_: *mut PyTypeObject, _: *mut PyObject, _: *mut PyObject) -> *mut PyObject>§tp_free: Option<unsafe extern "C" fn(_: *mut c_void)>§tp_is_gc: Option<unsafe extern "C" fn(_: *mut PyObject) -> i32>§tp_bases: *mut PyObject§tp_mro: *mut PyObject§tp_cache: *mut PyObject§tp_subclasses: *mut PyObject§tp_weaklist: *mut PyObject§tp_del: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_version_tag: u32§tp_finalize: Option<unsafe extern "C" fn(_: *mut PyObject)>§tp_vectorcall: Option<unsafe extern "C" fn(_: *mut PyObject, _: *const *mut PyObject, _: usize, _: *mut PyObject) -> *mut PyObject>§tp_watched: i8
    \ 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 7612ecdd..1e2e4cdd 100644 --- a/numpy/npyffi/objects/type.PyArray_DotFunc.html +++ b/numpy/npyffi/objects/type.PyArray_DotFunc.html @@ -1,6 +1,6 @@ -PyArray_DotFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias 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
    numpy::npyffi::objects

    Type Alias 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 49938726..63313baf 100644 --- a/numpy/npyffi/objects/type.PyArray_FastClipFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastClipFunc.html @@ -1,6 +1,6 @@ -PyArray_FastClipFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FastClipFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FastClipFunc

    Source
    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 5464733a..a5859371 100644 --- a/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastPutmaskFunc.html @@ -1,6 +1,6 @@ -PyArray_FastPutmaskFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FastPutmaskFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FastPutmaskFunc

    Source
    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 ebf4142e..d79f539a 100644 --- a/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FastTakeFunc.html @@ -1,6 +1,6 @@ -PyArray_FastTakeFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FastTakeFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FastTakeFunc

    Source
    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 51266136..47a35bd8 100644 --- a/numpy/npyffi/objects/type.PyArray_FillFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FillFunc.html @@ -1,6 +1,6 @@ -PyArray_FillFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FillFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FillFunc

    Source
    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 803ac3da..1d0eff42 100644 --- a/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FillWithScalarFunc.html @@ -1,6 +1,6 @@ -PyArray_FillWithScalarFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FillWithScalarFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FillWithScalarFunc

    Source
    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 e746f7b7..7dd012c3 100644 --- a/numpy/npyffi/objects/type.PyArray_FromStrFunc.html +++ b/numpy/npyffi/objects/type.PyArray_FromStrFunc.html @@ -1,6 +1,6 @@ -PyArray_FromStrFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_FromStrFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_FromStrFunc

    Source
    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 82b25aee..a164bcd6 100644 --- a/numpy/npyffi/objects/type.PyArray_GetItemFunc.html +++ b/numpy/npyffi/objects/type.PyArray_GetItemFunc.html @@ -1,6 +1,6 @@ -PyArray_GetItemFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_GetItemFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_GetItemFunc

    Source
    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 b5c6cc31..05540542 100644 --- a/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html +++ b/numpy/npyffi/objects/type.PyArray_NonzeroFunc.html @@ -1,6 +1,6 @@ -PyArray_NonzeroFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_NonzeroFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_NonzeroFunc

    Source
    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 33303abd..bc6b3f5c 100644 --- a/numpy/npyffi/objects/type.PyArray_PartitionFunc.html +++ b/numpy/npyffi/objects/type.PyArray_PartitionFunc.html @@ -1,6 +1,6 @@ -PyArray_PartitionFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_PartitionFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_PartitionFunc

    Source
    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 0a22642e..1af2cab1 100644 --- a/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ScalarKindFunc.html @@ -1,6 +1,6 @@ -PyArray_ScalarKindFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_ScalarKindFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_ScalarKindFunc

    Source
    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 7ead500a..ee9e0f0f 100644 --- a/numpy/npyffi/objects/type.PyArray_ScanFunc.html +++ b/numpy/npyffi/objects/type.PyArray_ScanFunc.html @@ -1,6 +1,6 @@ -PyArray_ScanFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_ScanFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_ScanFunc

    Source
    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 20f31877..c1b9f470 100644 --- a/numpy/npyffi/objects/type.PyArray_SetItemFunc.html +++ b/numpy/npyffi/objects/type.PyArray_SetItemFunc.html @@ -1,6 +1,6 @@ -PyArray_SetItemFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_SetItemFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_SetItemFunc

    Source
    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 f5bfe4d4..150b87ba 100644 --- a/numpy/npyffi/objects/type.PyArray_SortFunc.html +++ b/numpy/npyffi/objects/type.PyArray_SortFunc.html @@ -1,6 +1,6 @@ -PyArray_SortFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_SortFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_SortFunc

    Source
    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 c12a004d..1421d7c2 100644 --- a/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html +++ b/numpy/npyffi/objects/type.PyArray_VectorUnaryFunc.html @@ -1,6 +1,6 @@ -PyArray_VectorUnaryFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyArray_VectorUnaryFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyArray_VectorUnaryFunc

    Source
    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 a707ab41..65a8ce43 100644 --- a/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html +++ b/numpy/npyffi/objects/type.PyDataMem_EventHookFunc.html @@ -1,6 +1,6 @@ -PyDataMem_EventHookFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyDataMem_EventHookFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyDataMem_EventHookFunc

    Source
    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 d9747498..ed4140f1 100644 --- a/numpy/npyffi/objects/type.PyUFuncGenericFunction.html +++ b/numpy/npyffi/objects/type.PyUFuncGenericFunction.html @@ -1,6 +1,6 @@ -PyUFuncGenericFunction in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyUFuncGenericFunction

    source
    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
    numpy::npyffi::objects

    Type Alias PyUFuncGenericFunction

    Source
    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 df87a416..9359ddf7 100644 --- a/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_LegacyInnerLoopSelectionFunc.html @@ -1,6 +1,6 @@ -PyUFunc_LegacyInnerLoopSelectionFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyUFunc_LegacyInnerLoopSelectionFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyUFunc_LegacyInnerLoopSelectionFunc

    Source
    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 b16ce6cb..403a9894 100644 --- a/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_MaskedInnerLoopSelectionFunc.html @@ -1,6 +1,6 @@ -PyUFunc_MaskedInnerLoopSelectionFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyUFunc_MaskedInnerLoopSelectionFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyUFunc_MaskedInnerLoopSelectionFunc

    Source
    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 947a4e31..3a7176e7 100644 --- a/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_MaskedStridedInnerLoopFunc.html @@ -1,6 +1,6 @@ -PyUFunc_MaskedStridedInnerLoopFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyUFunc_MaskedStridedInnerLoopFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyUFunc_MaskedStridedInnerLoopFunc

    Source
    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 f9804996..4e01ce11 100644 --- a/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html +++ b/numpy/npyffi/objects/type.PyUFunc_TypeResolutionFunc.html @@ -1,6 +1,6 @@ -PyUFunc_TypeResolutionFunc in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias PyUFunc_TypeResolutionFunc

    source
    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
    numpy::npyffi::objects

    Type Alias PyUFunc_TypeResolutionFunc

    Source
    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 282c8a66..81162005 100644 --- a/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html +++ b/numpy/npyffi/objects/type.npy_iter_get_dataptr_t.html @@ -1,6 +1,6 @@ -npy_iter_get_dataptr_t in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias npy_iter_get_dataptr_t

    source
    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
    numpy::npyffi::objects

    Type Alias npy_iter_get_dataptr_t

    Source
    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/objects/type.npy_packed_static_string.html b/numpy/npyffi/objects/type.npy_packed_static_string.html index 80a869be..c9d89fe0 100644 --- a/numpy/npyffi/objects/type.npy_packed_static_string.html +++ b/numpy/npyffi/objects/type.npy_packed_static_string.html @@ -1 +1 @@ -npy_packed_static_string in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias npy_packed_static_string

    source
    pub type npy_packed_static_string = c_void;

    Aliased Type§

    enum npy_packed_static_string {}

    Variants§

    \ No newline at end of file +npy_packed_static_string in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias npy_packed_static_string

    Source
    pub type npy_packed_static_string = c_void;

    Aliased Type§

    enum npy_packed_static_string {}

    Variants§

    \ No newline at end of file diff --git a/numpy/npyffi/objects/type.npy_string_allocator.html b/numpy/npyffi/objects/type.npy_string_allocator.html index 82554466..e65ef8e1 100644 --- a/numpy/npyffi/objects/type.npy_string_allocator.html +++ b/numpy/npyffi/objects/type.npy_string_allocator.html @@ -1 +1 @@ -npy_string_allocator in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias npy_string_allocator

    source
    pub type npy_string_allocator = c_void;

    Aliased Type§

    enum npy_string_allocator {}

    Variants§

    \ No newline at end of file +npy_string_allocator in numpy::npyffi::objects - Rust
    numpy::npyffi::objects

    Type Alias npy_string_allocator

    Source
    pub type npy_string_allocator = c_void;

    Aliased Type§

    enum npy_string_allocator {}

    Variants§

    \ No newline at end of file diff --git a/numpy/npyffi/types/enum.NPY_ARRAYMETHOD_FLAGS.html b/numpy/npyffi/types/enum.NPY_ARRAYMETHOD_FLAGS.html index 8e1b96f4..dd1ae057 100644 --- a/numpy/npyffi/types/enum.NPY_ARRAYMETHOD_FLAGS.html +++ b/numpy/npyffi/types/enum.NPY_ARRAYMETHOD_FLAGS.html @@ -1,27 +1,27 @@ -NPY_ARRAYMETHOD_FLAGS in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_ARRAYMETHOD_FLAGS

    source
    #[repr(i32)]
    pub enum NPY_ARRAYMETHOD_FLAGS { +NPY_ARRAYMETHOD_FLAGS in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_ARRAYMETHOD_FLAGS

    Source
    #[repr(i32)]
    pub enum NPY_ARRAYMETHOD_FLAGS { NPY_METH_REQUIRES_PYAPI = 1, NPY_METH_NO_FLOATINGPOINT_ERRORS = 2, NPY_METH_SUPPORTS_UNALIGNED = 4, NPY_METH_IS_REORDERABLE = 8, _NPY_METH_FORCE_CAST_INPUTS = 131_072, NPY_METH_RUNTIME_FLAGS = 3, -}

    Variants§

    §

    NPY_METH_REQUIRES_PYAPI = 1

    §

    NPY_METH_NO_FLOATINGPOINT_ERRORS = 2

    §

    NPY_METH_SUPPORTS_UNALIGNED = 4

    §

    NPY_METH_IS_REORDERABLE = 8

    §

    _NPY_METH_FORCE_CAST_INPUTS = 131_072

    §

    NPY_METH_RUNTIME_FLAGS = 3

    Trait Implementations§

    source§

    impl Clone for NPY_ARRAYMETHOD_FLAGS

    source§

    fn clone(&self) -> NPY_ARRAYMETHOD_FLAGS

    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_ARRAYMETHOD_FLAGS

    source§

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

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

    impl Hash for NPY_ARRAYMETHOD_FLAGS

    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_ARRAYMETHOD_FLAGS

    source§

    fn eq(&self, other: &NPY_ARRAYMETHOD_FLAGS) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for NPY_ARRAYMETHOD_FLAGS

    source§

    impl Eq for NPY_ARRAYMETHOD_FLAGS

    source§

    impl StructuralPartialEq for NPY_ARRAYMETHOD_FLAGS

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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_METH_REQUIRES_PYAPI = 1

    §

    NPY_METH_NO_FLOATINGPOINT_ERRORS = 2

    §

    NPY_METH_SUPPORTS_UNALIGNED = 4

    §

    NPY_METH_IS_REORDERABLE = 8

    §

    _NPY_METH_FORCE_CAST_INPUTS = 131_072

    §

    NPY_METH_RUNTIME_FLAGS = 3

    Trait Implementations§

    Source§

    impl Clone for NPY_ARRAYMETHOD_FLAGS

    Source§

    fn clone(&self) -> NPY_ARRAYMETHOD_FLAGS

    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_ARRAYMETHOD_FLAGS

    Source§

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

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

    impl Hash for NPY_ARRAYMETHOD_FLAGS

    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_ARRAYMETHOD_FLAGS

    Source§

    fn eq(&self, other: &NPY_ARRAYMETHOD_FLAGS) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for NPY_ARRAYMETHOD_FLAGS

    Source§

    impl Eq for NPY_ARRAYMETHOD_FLAGS

    Source§

    impl StructuralPartialEq for NPY_ARRAYMETHOD_FLAGS

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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_BYTEORDER_CHAR.html b/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html index 0f58168b..e5644a02 100644 --- a/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html +++ b/numpy/npyffi/types/enum.NPY_BYTEORDER_CHAR.html @@ -1,26 +1,26 @@ -NPY_BYTEORDER_CHAR in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_BYTEORDER_CHAR

    source
    #[repr(u8)]
    pub enum NPY_BYTEORDER_CHAR { +NPY_BYTEORDER_CHAR in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_BYTEORDER_CHAR

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 16439cb6..44a4a2ba 100644 --- a/numpy/npyffi/types/enum.NPY_CASTING.html +++ b/numpy/npyffi/types/enum.NPY_CASTING.html @@ -1,26 +1,26 @@ -NPY_CASTING in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_CASTING

    source
    #[repr(u32)]
    pub enum NPY_CASTING { +NPY_CASTING in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_CASTING

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 51104867..ce5d91bb 100644 --- a/numpy/npyffi/types/enum.NPY_CLIPMODE.html +++ b/numpy/npyffi/types/enum.NPY_CLIPMODE.html @@ -1,23 +1,23 @@ -NPY_CLIPMODE in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_CLIPMODE

    source
    #[repr(u32)]
    pub enum NPY_CLIPMODE { +NPY_CLIPMODE in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_CLIPMODE

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 b7d7e4e0..ef0d4eb8 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
    numpy::npyffi::types

    Enum NPY_DATETIMEUNIT

    source
    #[repr(u32)]
    pub enum NPY_DATETIMEUNIT { +NPY_DATETIMEUNIT in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_DATETIMEUNIT

    Source
    #[repr(u32)]
    pub enum NPY_DATETIMEUNIT {
    Show 14 variants NPY_FR_Y = 0, NPY_FR_M = 1, NPY_FR_W = 2, @@ -13,23 +13,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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 f46984fc..d19bb5f9 100644 --- a/numpy/npyffi/types/enum.NPY_ORDER.html +++ b/numpy/npyffi/types/enum.NPY_ORDER.html @@ -1,25 +1,25 @@ -NPY_ORDER in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_ORDER

    source
    #[repr(i32)]
    pub enum NPY_ORDER { +NPY_ORDER in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_ORDER

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 65cfea95..de597e3b 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
    numpy::npyffi::types

    Enum NPY_SCALARKIND

    source
    #[repr(i32)]
    pub enum NPY_SCALARKIND { +NPY_SCALARKIND in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SCALARKIND

    Source
    #[repr(i32)]
    pub enum NPY_SCALARKIND { NPY_NOSCALAR = -1, NPY_BOOL_SCALAR = 0, NPY_INTPOS_SCALAR = 1, @@ -6,23 +6,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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 3fb02509..e74b7dad 100644 --- a/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html +++ b/numpy/npyffi/types/enum.NPY_SEARCHSIDE.html @@ -1,23 +1,23 @@ -NPY_SEARCHSIDE in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SEARCHSIDE

    source
    #[repr(u32)]
    pub enum NPY_SEARCHSIDE { +NPY_SEARCHSIDE in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SEARCHSIDE

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 efa06028..7353f3f9 100644 --- a/numpy/npyffi/types/enum.NPY_SELECTKIND.html +++ b/numpy/npyffi/types/enum.NPY_SELECTKIND.html @@ -1,22 +1,22 @@ -NPY_SELECTKIND in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SELECTKIND

    source
    #[repr(u32)]
    pub enum NPY_SELECTKIND { +NPY_SELECTKIND in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SELECTKIND

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 445274b1..05c0626b 100644 --- a/numpy/npyffi/types/enum.NPY_SORTKIND.html +++ b/numpy/npyffi/types/enum.NPY_SORTKIND.html @@ -1,24 +1,24 @@ -NPY_SORTKIND in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SORTKIND

    source
    #[repr(u32)]
    pub enum NPY_SORTKIND { +NPY_SORTKIND in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_SORTKIND

    Source
    #[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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 6e8bdcf5..61593b6a 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
    numpy::npyffi::types

    Enum NPY_TYPECHAR

    source
    #[repr(u8)]
    pub enum NPY_TYPECHAR { +NPY_TYPECHAR in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_TYPECHAR

    Source
    #[repr(u8)]
    pub enum NPY_TYPECHAR {
    Show 28 variants NPY_BOOLLTR = 63, NPY_BYTELTR = 98, NPY_UBYTELTR = 66, @@ -27,19 +27,19 @@ 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 74581646..e8bc266b 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
    numpy::npyffi::types

    Enum NPY_TYPEKINDCHAR

    source
    #[repr(u8)]
    pub enum NPY_TYPEKINDCHAR { +NPY_TYPEKINDCHAR in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_TYPEKINDCHAR

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 a88fd812..0f159eb0 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
    numpy::npyffi::types

    Enum NPY_TYPES

    source
    #[repr(u32)]
    pub enum NPY_TYPES { +NPY_TYPES in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Enum NPY_TYPES

    Source
    #[repr(u32)]
    pub enum NPY_TYPES {
    Show 29 variants NPY_BOOL = 0, NPY_BYTE = 1, NPY_UBYTE = 2, @@ -28,29 +28,29 @@ NPY_CHAR = 26, NPY_USERDEF = 256, NPY_VSTRING = 2_056, -
    }

    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_LEGACY = 24

    §

    NPY_NOTYPE = 25

    §

    NPY_CHAR = 26

    §

    NPY_USERDEF = 256

    §

    NPY_VSTRING = 2_056

    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,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for NPY_TYPES

    source§

    fn eq(&self, other: &NPY_TYPES) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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_LEGACY = 24

    §

    NPY_NOTYPE = 25

    §

    NPY_CHAR = 26

    §

    NPY_USERDEF = 256

    §

    NPY_VSTRING = 2_056

    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,

    Restrict a value to a certain interval. Read more
    Source§

    impl PartialEq for NPY_TYPES

    Source§

    fn eq(&self, other: &NPY_TYPES) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 1d33d7d2..da6e7223 100644 --- a/numpy/npyffi/types/index.html +++ b/numpy/npyffi/types/index.html @@ -1 +1 @@ -numpy::npyffi::types - Rust
    \ No newline at end of file +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 2a6b9ab5..85f3f933 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
    numpy::npyffi::types

    Struct 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +npy_cdouble in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 44ba7f5f..2c61b588 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
    numpy::npyffi::types

    Struct 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    +npy_cfloat in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 9a27cb21..7a7c137d 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
    numpy::npyffi::types

    Struct npy_clongdouble

    source
    #[repr(C)]
    pub struct npy_clongdouble { +npy_clongdouble in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct npy_clongdouble

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 6e20e182..be69012d 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
    numpy::npyffi::types

    Struct npy_datetimestruct

    source
    #[repr(C)]
    pub struct npy_datetimestruct { +npy_datetimestruct in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct npy_datetimestruct

    Source
    #[repr(C)]
    pub struct npy_datetimestruct { pub year: npy_int64, pub month: npy_int32, pub day: npy_int32, @@ -8,19 +8,19 @@ 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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 7225d54a..4923b1bc 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
    numpy::npyffi::types

    Struct npy_stride_sort_item

    source
    #[repr(C)]
    pub struct npy_stride_sort_item { +npy_stride_sort_item in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct npy_stride_sort_item

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 7af0a55b..98e644d2 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
    numpy::npyffi::types

    Struct npy_timedeltastruct

    source
    #[repr(C)]
    pub struct npy_timedeltastruct { +npy_timedeltastruct in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Struct npy_timedeltastruct

    Source
    #[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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 2d7b7c8b..c3bc85af 100644 --- a/numpy/npyffi/types/type.npy_bool.html +++ b/numpy/npyffi/types/type.npy_bool.html @@ -1 +1 @@ -npy_bool in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_bool

    source
    pub type npy_bool = c_uchar;
    \ No newline at end of file +npy_bool in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 69ea08f4..39299c5c 100644 --- a/numpy/npyffi/types/type.npy_byte.html +++ b/numpy/npyffi/types/type.npy_byte.html @@ -1 +1 @@ -npy_byte in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_byte

    source
    pub type npy_byte = c_char;
    \ No newline at end of file +npy_byte in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 508fe8cb..a32452b6 100644 --- a/numpy/npyffi/types/type.npy_char.html +++ b/numpy/npyffi/types/type.npy_char.html @@ -1 +1 @@ -npy_char in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_char

    source
    pub type npy_char = c_char;
    \ No newline at end of file +npy_char in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 8305313f..34f510a7 100644 --- a/numpy/npyffi/types/type.npy_complex128.html +++ b/numpy/npyffi/types/type.npy_complex128.html @@ -1,4 +1,4 @@ -npy_complex128 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 +npy_complex128 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 diff --git a/numpy/npyffi/types/type.npy_complex256.html b/numpy/npyffi/types/type.npy_complex256.html index 3646a410..d94885b4 100644 --- a/numpy/npyffi/types/type.npy_complex256.html +++ b/numpy/npyffi/types/type.npy_complex256.html @@ -1,4 +1,4 @@ -npy_complex256 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 +npy_complex256 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 diff --git a/numpy/npyffi/types/type.npy_complex64.html b/numpy/npyffi/types/type.npy_complex64.html index 0c4d3af9..6298de67 100644 --- a/numpy/npyffi/types/type.npy_complex64.html +++ b/numpy/npyffi/types/type.npy_complex64.html @@ -1,4 +1,4 @@ -npy_complex64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 +npy_complex64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 diff --git a/numpy/npyffi/types/type.npy_datetime.html b/numpy/npyffi/types/type.npy_datetime.html index fe65fe0b..f9db0c28 100644 --- a/numpy/npyffi/types/type.npy_datetime.html +++ b/numpy/npyffi/types/type.npy_datetime.html @@ -1 +1 @@ -npy_datetime in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_datetime

    source
    pub type npy_datetime = npy_int64;
    \ No newline at end of file +npy_datetime in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 8b19c966..560a0ffb 100644 --- a/numpy/npyffi/types/type.npy_double.html +++ b/numpy/npyffi/types/type.npy_double.html @@ -1 +1 @@ -npy_double in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_double

    source
    pub type npy_double = f64;
    \ No newline at end of file +npy_double in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 7f2cf386..d09e872d 100644 --- a/numpy/npyffi/types/type.npy_float.html +++ b/numpy/npyffi/types/type.npy_float.html @@ -1 +1 @@ -npy_float in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_float

    source
    pub type npy_float = f32;
    \ No newline at end of file +npy_float in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 26d2d2eb..15919152 100644 --- a/numpy/npyffi/types/type.npy_float128.html +++ b/numpy/npyffi/types/type.npy_float128.html @@ -1 +1 @@ -npy_float128 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_float128

    source
    pub type npy_float128 = npy_longdouble;
    \ No newline at end of file +npy_float128 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 0c231299..da5e163b 100644 --- a/numpy/npyffi/types/type.npy_float16.html +++ b/numpy/npyffi/types/type.npy_float16.html @@ -1 +1 @@ -npy_float16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_float16

    source
    pub type npy_float16 = npy_half;
    \ No newline at end of file +npy_float16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 083331a9..4233abec 100644 --- a/numpy/npyffi/types/type.npy_float32.html +++ b/numpy/npyffi/types/type.npy_float32.html @@ -1 +1 @@ -npy_float32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_float32

    source
    pub type npy_float32 = f32;
    \ No newline at end of file +npy_float32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 7459d187..2ad37ec6 100644 --- a/numpy/npyffi/types/type.npy_float64.html +++ b/numpy/npyffi/types/type.npy_float64.html @@ -1 +1 @@ -npy_float64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_float64

    source
    pub type npy_float64 = f64;
    \ No newline at end of file +npy_float64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 7951791b..f31b784a 100644 --- a/numpy/npyffi/types/type.npy_half.html +++ b/numpy/npyffi/types/type.npy_half.html @@ -1 +1 @@ -npy_half in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_half

    source
    pub type npy_half = npy_uint16;
    \ No newline at end of file +npy_half in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 90d77ed3..55c7d2d9 100644 --- a/numpy/npyffi/types/type.npy_hash_t.html +++ b/numpy/npyffi/types/type.npy_hash_t.html @@ -1 +1 @@ -npy_hash_t in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_hash_t

    source
    pub type npy_hash_t = Py_hash_t;
    \ No newline at end of file +npy_hash_t in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 71c14b06..56e93f54 100644 --- a/numpy/npyffi/types/type.npy_int.html +++ b/numpy/npyffi/types/type.npy_int.html @@ -1 +1 @@ -npy_int in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int

    source
    pub type npy_int = c_int;
    \ No newline at end of file +npy_int in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 ee4dc49e..20f3085d 100644 --- a/numpy/npyffi/types/type.npy_int16.html +++ b/numpy/npyffi/types/type.npy_int16.html @@ -1 +1 @@ -npy_int16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int16

    source
    pub type npy_int16 = i16;
    \ No newline at end of file +npy_int16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int16

    Source
    pub type npy_int16 = i16;
    \ 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 49f49003..244a72aa 100644 --- a/numpy/npyffi/types/type.npy_int32.html +++ b/numpy/npyffi/types/type.npy_int32.html @@ -1 +1 @@ -npy_int32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int32

    source
    pub type npy_int32 = i32;
    \ No newline at end of file +npy_int32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int32

    Source
    pub type npy_int32 = i32;
    \ 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 72bfdd20..ab3541da 100644 --- a/numpy/npyffi/types/type.npy_int64.html +++ b/numpy/npyffi/types/type.npy_int64.html @@ -1 +1 @@ -npy_int64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int64

    source
    pub type npy_int64 = i64;
    \ No newline at end of file +npy_int64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int64

    Source
    pub type npy_int64 = i64;
    \ 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 44d225db..2b871384 100644 --- a/numpy/npyffi/types/type.npy_int8.html +++ b/numpy/npyffi/types/type.npy_int8.html @@ -1 +1 @@ -npy_int8 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int8

    source
    pub type npy_int8 = i8;
    \ No newline at end of file +npy_int8 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_int8

    Source
    pub type npy_int8 = i8;
    \ 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 adc1de98..c2359f35 100644 --- a/numpy/npyffi/types/type.npy_intp.html +++ b/numpy/npyffi/types/type.npy_intp.html @@ -1 +1 @@ -npy_intp in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_intp

    source
    pub type npy_intp = Py_intptr_t;
    \ No newline at end of file +npy_intp in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 40f09d7a..1713b5ec 100644 --- a/numpy/npyffi/types/type.npy_long.html +++ b/numpy/npyffi/types/type.npy_long.html @@ -1 +1 @@ -npy_long in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_long

    source
    pub type npy_long = c_long;
    \ No newline at end of file +npy_long in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 c6906e64..18d5f687 100644 --- a/numpy/npyffi/types/type.npy_longdouble.html +++ b/numpy/npyffi/types/type.npy_longdouble.html @@ -1 +1 @@ -npy_longdouble in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_longdouble

    source
    pub type npy_longdouble = f64;
    \ No newline at end of file +npy_longdouble in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 b931a0f4..3d684b78 100644 --- a/numpy/npyffi/types/type.npy_longlong.html +++ b/numpy/npyffi/types/type.npy_longlong.html @@ -1 +1 @@ -npy_longlong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_longlong

    source
    pub type npy_longlong = c_longlong;
    \ No newline at end of file +npy_longlong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 1cc76008..0469dd5f 100644 --- a/numpy/npyffi/types/type.npy_short.html +++ b/numpy/npyffi/types/type.npy_short.html @@ -1 +1 @@ -npy_short in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_short

    source
    pub type npy_short = c_short;
    \ No newline at end of file +npy_short in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 4b698364..09fe9543 100644 --- a/numpy/npyffi/types/type.npy_timedelta.html +++ b/numpy/npyffi/types/type.npy_timedelta.html @@ -1 +1 @@ -npy_timedelta in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_timedelta

    source
    pub type npy_timedelta = npy_int64;
    \ No newline at end of file +npy_timedelta in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 0493f4b8..cc61d49f 100644 --- a/numpy/npyffi/types/type.npy_ubyte.html +++ b/numpy/npyffi/types/type.npy_ubyte.html @@ -1 +1 @@ -npy_ubyte in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_ubyte

    source
    pub type npy_ubyte = c_uchar;
    \ No newline at end of file +npy_ubyte in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 3563791e..e3cddbb2 100644 --- a/numpy/npyffi/types/type.npy_ucs4.html +++ b/numpy/npyffi/types/type.npy_ucs4.html @@ -1 +1 @@ -npy_ucs4 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_ucs4

    source
    pub type npy_ucs4 = c_uint;
    \ No newline at end of file +npy_ucs4 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 69d8dd5d..6dbb96f9 100644 --- a/numpy/npyffi/types/type.npy_uint.html +++ b/numpy/npyffi/types/type.npy_uint.html @@ -1 +1 @@ -npy_uint in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint

    source
    pub type npy_uint = c_uint;
    \ No newline at end of file +npy_uint in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 4327e8af..3abda926 100644 --- a/numpy/npyffi/types/type.npy_uint16.html +++ b/numpy/npyffi/types/type.npy_uint16.html @@ -1 +1 @@ -npy_uint16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint16

    source
    pub type npy_uint16 = u16;
    \ No newline at end of file +npy_uint16 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint16

    Source
    pub type npy_uint16 = u16;
    \ 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 44e3efd4..6580563c 100644 --- a/numpy/npyffi/types/type.npy_uint32.html +++ b/numpy/npyffi/types/type.npy_uint32.html @@ -1 +1 @@ -npy_uint32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint32

    source
    pub type npy_uint32 = u32;
    \ No newline at end of file +npy_uint32 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint32

    Source
    pub type npy_uint32 = u32;
    \ 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 41a38af7..8ac11144 100644 --- a/numpy/npyffi/types/type.npy_uint64.html +++ b/numpy/npyffi/types/type.npy_uint64.html @@ -1 +1 @@ -npy_uint64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint64

    source
    pub type npy_uint64 = u64;
    \ No newline at end of file +npy_uint64 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint64

    Source
    pub type npy_uint64 = u64;
    \ 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 f3536b40..aa168272 100644 --- a/numpy/npyffi/types/type.npy_uint8.html +++ b/numpy/npyffi/types/type.npy_uint8.html @@ -1 +1 @@ -npy_uint8 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint8

    source
    pub type npy_uint8 = u8;
    \ No newline at end of file +npy_uint8 in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uint8

    Source
    pub type npy_uint8 = u8;
    \ 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 6622a566..db334d4a 100644 --- a/numpy/npyffi/types/type.npy_uintp.html +++ b/numpy/npyffi/types/type.npy_uintp.html @@ -1 +1 @@ -npy_uintp in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_uintp

    source
    pub type npy_uintp = Py_uintptr_t;
    \ No newline at end of file +npy_uintp in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 7f622bd5..76ba1072 100644 --- a/numpy/npyffi/types/type.npy_ulong.html +++ b/numpy/npyffi/types/type.npy_ulong.html @@ -1 +1 @@ -npy_ulong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_ulong

    source
    pub type npy_ulong = c_ulong;
    \ No newline at end of file +npy_ulong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 905178c5..45892599 100644 --- a/numpy/npyffi/types/type.npy_ulonglong.html +++ b/numpy/npyffi/types/type.npy_ulonglong.html @@ -1 +1 @@ -npy_ulonglong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_ulonglong

    source
    pub type npy_ulonglong = c_ulonglong;
    \ No newline at end of file +npy_ulonglong in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 7d73aba4..e91b1025 100644 --- a/numpy/npyffi/types/type.npy_ushort.html +++ b/numpy/npyffi/types/type.npy_ushort.html @@ -1 +1 @@ -npy_ushort in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias npy_ushort

    source
    pub type npy_ushort = c_ushort;
    \ No newline at end of file +npy_ushort in numpy::npyffi::types - Rust
    numpy::npyffi::types

    Type Alias 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 bef1ef1e..860845d3 100644 --- a/numpy/npyffi/ufunc/index.html +++ b/numpy/npyffi/ufunc/index.html @@ -1,3 +1,3 @@ -numpy::npyffi::ufunc - Rust
    numpy::npyffi

    Module ufunc

    source
    Expand description

    Low-Level binding for UFunc API

    +numpy::npyffi::ufunc - Rust
    numpy::npyffi

    Module 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 9cca11cf..f431e453 100644 --- a/numpy/npyffi/ufunc/static.PY_UFUNC_API.html +++ b/numpy/npyffi/ufunc/static.PY_UFUNC_API.html @@ -1,3 +1,3 @@ -PY_UFUNC_API in numpy::npyffi::ufunc - Rust
    numpy::npyffi::ufunc

    Static PY_UFUNC_API

    source
    pub static PY_UFUNC_API: PyUFuncAPI
    Expand description

    A global variable which stores a ‘capsule’ +PY_UFUNC_API in numpy::npyffi::ufunc - Rust

    numpy::npyffi::ufunc

    Static PY_UFUNC_API

    Source
    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 21a3f207..4c97a392 100644 --- a/numpy/npyffi/ufunc/struct.PyUFuncAPI.html +++ b/numpy/npyffi/ufunc/struct.PyUFuncAPI.html @@ -1,315 +1,315 @@ -PyUFuncAPI in numpy::npyffi::ufunc - Rust
    numpy::npyffi::ufunc

    Struct PyUFuncAPI

    source
    pub struct PyUFuncAPI(/* private fields */);

    Implementations§

    source§

    impl PyUFuncAPI

    source

    pub unsafe fn PyUFunc_FromFuncAndData<'py>( +PyUFuncAPI in numpy::npyffi::ufunc - Rust
    numpy::npyffi::ufunc

    Struct 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, -)

    source

    pub unsafe fn PyUFunc_d_d<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_f_f<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_g_g<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_F_F_As_D_D<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_F_F<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_D_D<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_G_G<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_O_O<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_ff_f_As_dd_d<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_ff_f<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_dd_d<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_gg_g<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_FF_F_As_DD_D<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_DD_D<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_FF_F<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_GG_G<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_OO_O<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_O_O_method<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_OO_O_method<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_On_Om<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_GetPyValues<'py>( + 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>( + 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>( + 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>( + 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>( + 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, -)

    source

    pub unsafe fn PyUFunc_e_e_As_d_d<'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_d_d<'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_ee_e<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_ee_e_As_ff_f<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_ee_e_As_dd_d<'py>( + 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, -)

    source

    pub unsafe fn PyUFunc_DefaultTypeResolver<'py>( + 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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 aa7e49ba..047276a2 100644 --- a/numpy/prelude/index.html +++ b/numpy/prelude/index.html @@ -1,4 +1,4 @@ -numpy::prelude - Rust
    numpy

    Module prelude

    source
    Expand description

    A prelude

    +numpy::prelude - Rust
    numpy

    Module 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 9278f06c..ca03934e 100644 --- a/numpy/prelude/trait.PyArrayDescrMethods.html +++ b/numpy/prelude/trait.PyArrayDescrMethods.html @@ -1,82 +1,82 @@ -PyArrayDescrMethods in numpy::prelude - Rust
    numpy::prelude

    Trait PyArrayDescrMethods

    source
    pub trait PyArrayDescrMethods<'py>: Sealed {
    +PyArrayDescrMethods in numpy::prelude - Rust
    numpy::prelude

    Trait PyArrayDescrMethods

    Source
    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 itemsize(&self) -> usize; - fn alignment(&self) -> usize; - fn flags(&self) -> u64; - fn ndim(&self) -> usize; + fn itemsize(&self) -> usize; + fn alignment(&self) -> usize; + fn flags(&self) -> u64; + fn ndim(&self) -> usize; fn base(&self) -> Bound<'py, PyArrayDescr>; - fn shape(&self) -> Vec<usize>; - fn has_subarray(&self) -> bool; - fn has_fields(&self) -> bool; - fn names(&self) -> Option<Vec<String>>; + fn shape(&self) -> Vec<usize>; + fn has_subarray(&self) -> bool; + fn has_fields(&self) -> bool; + 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 byteorder(&self) -> u8 { ... } - fn char(&self) -> u8 { ... } - fn kind(&self) -> u8 { ... } - fn has_object(&self) -> bool { ... } - fn is_aligned_struct(&self) -> bool { ... } - fn is_native_byteorder(&self) -> Option<bool> { ... } + fn num(&self) -> c_int { ... } + fn byteorder(&self) -> u8 { ... } + fn char(&self) -> u8 { ... } + fn kind(&self) -> u8 { ... } + fn has_object(&self) -> bool { ... } + fn is_aligned_struct(&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 typeobj(&self) -> Bound<'py, PyType>

    Returns the array scalar corresponding to this type descriptor.

    +
    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 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 flags(&self) -> u64

    Returns bit-flags describing how this type descriptor is to be interpreted.

    +
    Source

    fn flags(&self) -> u64

    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 base(&self) -> Bound<'py, PyArrayDescr>

    Returns the type descriptor for the base element of subarrays, regardless of their dimension or shape.

    +
    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 has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    +
    Source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    Equivalent to PyDataType_HASSUBARRAY(self).

    -
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    +
    Source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    Equivalent to PyDataType_HASFIELDS(self).

    -
    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 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 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 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 itemsize(&self) -> usize

    source§

    fn alignment(&self) -> usize

    source§

    fn flags(&self) -> u64

    source§

    fn ndim(&self) -> usize

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn has_subarray(&self) -> bool

    source§

    fn has_fields(&self) -> bool

    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 is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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 itemsize(&self) -> usize

    Source§

    fn alignment(&self) -> usize

    Source§

    fn flags(&self) -> u64

    Source§

    fn ndim(&self) -> usize

    Source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    Source§

    fn shape(&self) -> Vec<usize>

    Source§

    fn has_subarray(&self) -> bool

    Source§

    fn has_fields(&self) -> bool

    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 d42f0e39..febf2e15 100644 --- a/numpy/prelude/trait.PyUntypedArrayMethods.html +++ b/numpy/prelude/trait.PyUntypedArrayMethods.html @@ -1,20 +1,20 @@ -PyUntypedArrayMethods in numpy::prelude - Rust
    numpy::prelude

    Trait PyUntypedArrayMethods

    source
    pub trait PyUntypedArrayMethods<'py>: Sealed {
    +PyUntypedArrayMethods in numpy::prelude - Rust
    numpy::prelude

    Trait PyUntypedArrayMethods

    Source
    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.

    -
    source

    fn dtype(&self) -> Bound<'py, PyArrayDescr>

    Returns the dtype of the array.

    +

    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
    use numpy::prelude::*;
    @@ -26,7 +26,7 @@ 
    §Example
    assert!(array.dtype().is_equiv_to(&dtype::<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};
    @@ -41,9 +41,9 @@ 
    §Example
    .downcast_into::<PyArray1<i32>>()?; 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};
    @@ -54,7 +54,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};
    @@ -65,7 +65,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};
    @@ -76,6 +76,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 c04f007c..444aa695 100644 --- a/numpy/struct.AllowTypeChange.html +++ b/numpy/struct.AllowTypeChange.html @@ -1,15 +1,15 @@ -AllowTypeChange in numpy - Rust
    numpy

    Struct 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).

    +AllowTypeChange in numpy - Rust
    numpy

    Struct 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).

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

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 42e00376..19b60161 100644 --- a/numpy/struct.FromVecError.html +++ b/numpy/struct.FromVecError.html @@ -1,16 +1,16 @@ -FromVecError in numpy - Rust
    numpy

    Struct 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)>

    Returns 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).

    +FromVecError in numpy - Rust
    numpy

    Struct 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)>

    Returns 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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 c3238cb8..b7e33b99 100644 --- a/numpy/struct.NotContiguousError.html +++ b/numpy/struct.NotContiguousError.html @@ -1,16 +1,16 @@ -NotContiguousError in numpy - Rust
    numpy

    Struct NotContiguousError

    source
    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)>

    Returns 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).

    +NotContiguousError in numpy - Rust
    numpy

    Struct NotContiguousError

    Source
    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)>

    Returns 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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 8ad06e86..43af94ca 100644 --- a/numpy/struct.PyArrayDescr.html +++ b/numpy/struct.PyArrayDescr.html @@ -1,4 +1,4 @@ -PyArrayDescr in numpy - Rust
    numpy

    Struct PyArrayDescr

    source
    pub struct PyArrayDescr(/* private fields */);
    Expand description

    Binding of numpy.dtype.

    +PyArrayDescr in numpy - Rust
    numpy

    Struct PyArrayDescr

    Source
    pub struct PyArrayDescr(/* private fields */);
    Expand description

    Binding of numpy.dtype.

    §Example

    use numpy::{dtype, get_array_module, PyArrayDescr, PyArrayDescrMethods};
     use numpy::pyo3::{types::{IntoPyDict, PyAnyMethods}, Python, ffi::c_str};
    @@ -12,28 +12,30 @@ 

    §Example

    assert!(dt.is_equiv_to(&dtype::<f64>(py))); })
    -

    Implementations§

    source§

    impl PyArrayDescr

    source

    pub fn new<'a, 'py, T>(py: Python<'py>, ob: T) -> PyResult<Bound<'py, Self>>
    where +

    Implementations§

    Source§

    impl PyArrayDescr

    Source

    pub fn new<'a, 'py, T>(py: Python<'py>, ob: T) -> PyResult<Bound<'py, Self>>
    where T: IntoPyObject<'py>,

    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>>

    👎Deprecated since 0.23.0: renamed to PyArrayDescr::new

    Deprecated name for PyArrayDescr::new.

    -
    source

    pub fn object(py: Python<'_>) -> Bound<'_, Self>

    Shortcut for creating a type descriptor of object type.

    -
    source

    pub fn object_bound(py: Python<'_>) -> Bound<'_, Self>

    👎Deprecated since 0.23.0: renamed to PyArrayDescr::object

    Deprecated name for PyArrayDescr::object.

    -
    source

    pub fn of<'py, T: Element>(py: Python<'py>) -> Bound<'py, Self>

    Returns the type descriptor for a registered type.

    -
    source

    pub fn of_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, Self>

    👎Deprecated since 0.23.0: renamed to PyArrayDescr::of

    Deprecated name for PyArrayDescr::of.

    -

    Trait Implementations§

    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 Deref for PyArrayDescr

    source§

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    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.
    §

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

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

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    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.

    -
    source§

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

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn object(py: Python<'_>) -> Bound<'_, Self>

    Shortcut for creating a type descriptor of object type.

    +
    Source

    pub fn object_bound(py: Python<'_>) -> Bound<'_, Self>

    👎Deprecated since 0.23.0: renamed to PyArrayDescr::object

    Deprecated name for PyArrayDescr::object.

    +
    Source

    pub fn of<'py, T: Element>(py: Python<'py>) -> Bound<'py, Self>

    Returns the type descriptor for a registered type.

    +
    Source

    pub fn of_bound<'py, T: Element>(py: Python<'py>) -> Bound<'py, Self>

    👎Deprecated since 0.23.0: renamed to PyArrayDescr::of

    Deprecated name for PyArrayDescr::of.

    +

    Trait Implementations§

    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 Deref for PyArrayDescr

    Source§

    type Target = PyAny

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    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.
    §

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

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

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    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.

    +
    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<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

    source§

    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>,

    source§

    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>,

    source§

    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<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 df493ee2..dc60a07a 100644 --- a/numpy/struct.PyArrayLike.html +++ b/numpy/struct.PyArrayLike.html @@ -1,4 +1,4 @@ -PyArrayLike in numpy - Rust
    numpy

    Struct PyArrayLike

    source
    pub struct PyArrayLike<'py, T, D, C = TypeMustMatch>(/* private fields */)
    +PyArrayLike in numpy - Rust
    numpy

    Struct PyArrayLike

    Source
    pub struct PyArrayLike<'py, T, D, C = TypeMustMatch>(/* private fields */)
     where
         T: Element,
         D: Dimension,
    @@ -61,13 +61,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>( +

    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, @@ -104,13 +104,13 @@

    §Example

    py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2), order='F')) == 4."); py_run!(py, np sum_dynamic_strides, r"assert sum_dynamic_strides(np.ones((2, 2, 2))[:,:,0]) == 4."); })
    -

    source

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

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

    +
    Source

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

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

    §Panics

    Panics if the array has negative strides.

    -
    source

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

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

    +
    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.

    @@ -149,17 +149,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};
     
    @@ -209,7 +209,7 @@ 
    assert!(obj.as_super().pyrepr().is_ok()); })

    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 @@ -218,33 +218,35 @@

    §Safety

    pub fn as_borrowed<'a>(&'a self) -> Borrowed<'a, 'py, T>

    Casts this Bound<T> to a Borrowed<T> smart pointer.

    pub fn as_unbound(&self) -> &Py<T>

    Removes the connection for this Bound<T> from the GIL, allowing it to cross thread boundaries, without transferring ownership.

    -

    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,

    source§

    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,

    Source§

    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

    Auto Trait Implementations§

    §

    impl<'py, T, D, C> Freeze for PyArrayLike<'py, T, D, C>

    §

    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, - T: Unpin, - D: Unpin,

    §

    impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where - C: UnwindSafe, - T: UnwindSafe, - D: 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

    Auto Trait Implementations§

    §

    impl<'py, T, D, C> Freeze for PyArrayLike<'py, T, D, C>

    §

    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, + T: Unpin, + D: Unpin,

    §

    impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where + C: UnwindSafe, + T: UnwindSafe, + D: 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.

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 a3573ca1..f04c0976 100644 --- a/numpy/struct.PyFixedString.html +++ b/numpy/struct.PyFixedString.html @@ -1,4 +1,4 @@ -PyFixedString in numpy - Rust
    numpy

    Struct 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
    numpy

    Struct 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,

    @@ -15,34 +15,34 @@

    §Example

    let array = PyArray1::<PyFixedString<3>>::from_vec(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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( +

    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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for PyFixedString<N>

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    + D: Dimension,
    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for PyFixedString<N>

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 cafb5706..da562c5b 100644 --- a/numpy/struct.PyFixedUnicode.html +++ b/numpy/struct.PyFixedUnicode.html @@ -1,4 +1,4 @@ -PyFixedUnicode in numpy - Rust
    numpy

    Struct 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
    numpy

    Struct 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,

    @@ -15,34 +15,34 @@

    §Example

    let array = PyArray1::<PyFixedUnicode<3>>::from_vec(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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( +

    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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for PyFixedUnicode<N>

    §

    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> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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).

    + D: Dimension,
    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    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,

    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

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    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

    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

    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

    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

    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> Freeze for PyFixedUnicode<N>

    §

    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> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. 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.

    -
    source§

    impl<T> Same for T

    source§

    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,

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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,

    Source§

    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>,

    Source§

    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>,

    Source§

    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 c22504e9..8a561069 100644 --- a/numpy/struct.PyUntypedArray.html +++ b/numpy/struct.PyUntypedArray.html @@ -1,4 +1,4 @@ -PyUntypedArray in numpy - Rust
    numpy

    Struct PyUntypedArray

    source
    pub struct PyUntypedArray(/* private fields */);
    Expand description

    A safe, untyped wrapper for NumPy’s ndarray class.

    +PyUntypedArray in numpy - Rust
    numpy

    Struct 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.

    When both element type T and index type D are known, these values can be downcast to PyArray<T, D>. In addition, @@ -32,17 +32,19 @@

    §Example

    Err(PyTypeError::new_err(format!("Unsupported element type: {}", element_type))) } }
    -

    Trait Implementations§

    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 Deref for PyUntypedArray

    source§

    type Target = PyAny

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    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(ob: &Bound<'_, PyAny>) -> bool

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

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    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.

    -
    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 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 Deref for PyUntypedArray

    Source§

    type Target = PyAny

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &PyAny

    Dereferences the value.
    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(ob: &Bound<'_, PyAny>) -> bool

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

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    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.

    +
    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<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

    source§

    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>,

    source§

    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>,

    source§

    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<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 59aa13ee..31901356 100644 --- a/numpy/struct.TypeMustMatch.html +++ b/numpy/struct.TypeMustMatch.html @@ -1,15 +1,15 @@ -TypeMustMatch in numpy - Rust
    numpy

    Struct 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).

    +TypeMustMatch in numpy - Rust
    numpy

    Struct 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).

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

    -
    source§

    impl<T> Same for T

    source§

    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>,

    source§

    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>,

    source§

    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 +From<T> for U chooses to do.

    +
    Source§

    impl<T> Same for T

    Source§

    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>,

    Source§

    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>,

    Source§

    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 14990514..62448e92 100644 --- a/numpy/trait.Element.html +++ b/numpy/trait.Element.html @@ -1,8 +1,8 @@ -Element in numpy - Rust
    numpy

    Trait Element

    source
    pub unsafe trait Element:
    -    Sized
    -    + Send
    -    + Sync {
    -    const IS_COPY: bool;
    +Element in numpy - Rust
    numpy

    Trait Element

    Source
    pub unsafe trait Element:
    +    Sized
    +    + Send
    +    + Sync {
    +    const IS_COPY: bool;
     
         // Required methods
         fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>;
    @@ -10,7 +10,7 @@
     
         // Provided methods
         fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr> { ... }
    -    fn vec_from_slice(py: Python<'_>, slc: &[Self]) -> Vec<Self> { ... }
    +    fn vec_from_slice(py: Python<'_>, slc: &[Self]) -> Vec<Self> { ... }
         fn array_from_view<D>(
             py: Python<'_>,
             view: ArrayView<'_, Self, D>,
    @@ -23,9 +23,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 @@ -42,84 +42,84 @@

    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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.

    -
    source

    fn clone_ref(&self, py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.

    -

    Provided Methods§

    source

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype

    Deprecated name for Element::get_dtype.

    -
    source

    fn vec_from_slice(py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held.

    +

    Required Methods§

    Source

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.

    +
    Source

    fn clone_ref(&self, py: Python<'_>) -> Self

    Create a clone of the value while the GIL is guaranteed to be held.

    +

    Provided Methods§

    Source

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype

    Deprecated name for Element::get_dtype.

    +
    Source

    fn vec_from_slice(py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Create an owned copy of the slice while the GIL is guaranteed to be held.

    Some types may provide implementations of this method that are more efficient than simply mapping the py_clone method to each element in the slice.

    -
    source

    fn array_from_view<D>( +

    Source

    fn array_from_view<D>( py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held.

    Some types may provide implementations of this method that are more efficient than simply mapping the py_clone method to each element in the view.

    -

    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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> bool

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[bool]) -> Vec<bool>

    source§

    fn array_from_view<D>( +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> bool

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[bool]) -> Vec<bool>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, bool, D>, -) -> Array<bool, D>
    where - D: Dimension,

    source§

    impl Element for f32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> f32

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f32]) -> Vec<f32>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, bool, D>, +) -> Array<bool, D>
    where + D: Dimension,

    Source§

    impl Element for f32

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> f32

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f32]) -> Vec<f32>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, f32, D>, -) -> Array<f32, D>
    where - D: Dimension,

    source§

    impl Element for f64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> f64

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f64]) -> Vec<f64>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, f32, D>, +) -> Array<f32, D>
    where + D: Dimension,

    Source§

    impl Element for f64

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> f64

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f64]) -> Vec<f64>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, f64, D>, -) -> Array<f64, D>
    where - D: Dimension,

    source§

    impl Element for i8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> i8

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i8]) -> Vec<i8>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, f64, D>, +) -> Array<f64, D>
    where + D: Dimension,

    Source§

    impl Element for i8

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i8

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i8]) -> Vec<i8>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, i8, D>, -) -> Array<i8, D>
    where - D: Dimension,

    source§

    impl Element for i16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> i16

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i16]) -> Vec<i16>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, i8, D>, +) -> Array<i8, D>
    where + D: Dimension,

    Source§

    impl Element for i16

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i16

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i16]) -> Vec<i16>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, i16, D>, -) -> Array<i16, D>
    where - D: Dimension,

    source§

    impl Element for i32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> i32

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i32]) -> Vec<i32>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, i16, D>, +) -> Array<i16, D>
    where + D: Dimension,

    Source§

    impl Element for i32

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i32

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i32]) -> Vec<i32>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, i32, D>, -) -> Array<i32, D>
    where - D: Dimension,

    source§

    impl Element for i64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> i64

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i64]) -> Vec<i64>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, i32, D>, +) -> Array<i32, D>
    where + D: Dimension,

    Source§

    impl Element for i64

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i64

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i64]) -> Vec<i64>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, i64, D>, -) -> Array<i64, D>
    where - D: Dimension,

    source§

    impl Element for isize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> isize

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[isize]) -> Vec<isize>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, i64, D>, +) -> Array<i64, D>
    where + D: Dimension,

    Source§

    impl Element for isize

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> isize

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[isize]) -> Vec<isize>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, isize, D>, -) -> Array<isize, D>
    where - D: Dimension,

    source§

    impl Element for u8

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> u8

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u8]) -> Vec<u8>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, isize, D>, +) -> Array<isize, D>
    where + D: Dimension,

    Source§

    impl Element for u8

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u8

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u8]) -> Vec<u8>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, u8, D>, -) -> Array<u8, D>
    where - D: Dimension,

    source§

    impl Element for u16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> u16

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u16]) -> Vec<u16>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, u8, D>, +) -> Array<u8, D>
    where + D: Dimension,

    Source§

    impl Element for u16

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u16

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u16]) -> Vec<u16>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, u16, D>, -) -> Array<u16, D>
    where - D: Dimension,

    source§

    impl Element for u32

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> u32

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u32]) -> Vec<u32>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, u16, D>, +) -> Array<u16, D>
    where + D: Dimension,

    Source§

    impl Element for u32

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u32

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u32]) -> Vec<u32>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, u32, D>, -) -> Array<u32, D>
    where - D: Dimension,

    source§

    impl Element for u64

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> u64

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u64]) -> Vec<u64>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, u32, D>, +) -> Array<u32, D>
    where + D: Dimension,

    Source§

    impl Element for u64

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u64

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u64]) -> Vec<u64>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, u64, D>, -) -> Array<u64, D>
    where - D: Dimension,

    source§

    impl Element for usize

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> usize

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[usize]) -> Vec<usize>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, u64, D>, +) -> Array<u64, D>
    where + D: Dimension,

    Source§

    impl Element for usize

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> usize

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[usize]) -> Vec<usize>

    Source§

    fn array_from_view<D>( _py: Python<'_>, - view: ArrayView<'_, usize, D>, -) -> Array<usize, D>
    where - D: Dimension,

    source§

    impl Element for bf16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    source§

    fn array_from_view<D>( + view: ArrayView<'_, usize, D>, +) -> Array<usize, D>
    where + D: Dimension,

    Source§

    impl Element for bf16

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Self

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Self]) -> Vec<Self>

    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Self, D>, ) -> Array<Self, D>
    where - D: Dimension,

    source§

    impl Element for f16

    source§

    const IS_COPY: bool = true

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, _py: Python<'_>) -> f16

    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f16]) -> Vec<f16>

    source§

    fn array_from_view<D>( + D: Dimension,

    Source§

    impl Element for f16

    Source§

    const IS_COPY: bool = true

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, _py: Python<'_>) -> f16

    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f16]) -> Vec<f16>

    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, f16, D>, ) -> Array<f16, D>
    where - D: Dimension,

    source§

    impl Element for PyObject

    source§

    const IS_COPY: bool = false

    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    source§

    fn clone_ref(&self, py: Python<'_>) -> Self

    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 + D: Dimension,
    Source§

    impl Element for PyObject

    Source§

    const IS_COPY: bool = false

    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Source§

    fn clone_ref(&self, py: Python<'_>) -> Self

    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 68ca1071..c7e1f63a 100644 --- a/numpy/trait.PyArrayDescrMethods.html +++ b/numpy/trait.PyArrayDescrMethods.html @@ -1,82 +1,82 @@ -PyArrayDescrMethods in numpy - Rust
    numpy

    Trait PyArrayDescrMethods

    source
    pub trait PyArrayDescrMethods<'py>: Sealed {
    +PyArrayDescrMethods in numpy - Rust
    numpy

    Trait PyArrayDescrMethods

    Source
    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 itemsize(&self) -> usize; - fn alignment(&self) -> usize; - fn flags(&self) -> u64; - fn ndim(&self) -> usize; + fn itemsize(&self) -> usize; + fn alignment(&self) -> usize; + fn flags(&self) -> u64; + fn ndim(&self) -> usize; fn base(&self) -> Bound<'py, PyArrayDescr>; - fn shape(&self) -> Vec<usize>; - fn has_subarray(&self) -> bool; - fn has_fields(&self) -> bool; - fn names(&self) -> Option<Vec<String>>; + fn shape(&self) -> Vec<usize>; + fn has_subarray(&self) -> bool; + fn has_fields(&self) -> bool; + 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 byteorder(&self) -> u8 { ... } - fn char(&self) -> u8 { ... } - fn kind(&self) -> u8 { ... } - fn has_object(&self) -> bool { ... } - fn is_aligned_struct(&self) -> bool { ... } - fn is_native_byteorder(&self) -> Option<bool> { ... } + fn num(&self) -> c_int { ... } + fn byteorder(&self) -> u8 { ... } + fn char(&self) -> u8 { ... } + fn kind(&self) -> u8 { ... } + fn has_object(&self) -> bool { ... } + fn is_aligned_struct(&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 typeobj(&self) -> Bound<'py, PyType>

    Returns the array scalar corresponding to this type descriptor.

    +
    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 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 flags(&self) -> u64

    Returns bit-flags describing how this type descriptor is to be interpreted.

    +
    Source

    fn flags(&self) -> u64

    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 base(&self) -> Bound<'py, PyArrayDescr>

    Returns the type descriptor for the base element of subarrays, regardless of their dimension or shape.

    +
    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 has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    +
    Source

    fn has_subarray(&self) -> bool

    Returns true if the type descriptor is a sub-array.

    Equivalent to PyDataType_HASSUBARRAY(self).

    -
    source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    +
    Source

    fn has_fields(&self) -> bool

    Returns true if the type descriptor is a structured type.

    Equivalent to PyDataType_HASFIELDS(self).

    -
    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 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 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 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 itemsize(&self) -> usize

    source§

    fn alignment(&self) -> usize

    source§

    fn flags(&self) -> u64

    source§

    fn ndim(&self) -> usize

    source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    source§

    fn shape(&self) -> Vec<usize>

    source§

    fn has_subarray(&self) -> bool

    source§

    fn has_fields(&self) -> bool

    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 is_native_byteorder(&self) -> Option<bool>

    Returns true if type descriptor byteorder is native, or None if not applicable.

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so 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 itemsize(&self) -> usize

    Source§

    fn alignment(&self) -> usize

    Source§

    fn flags(&self) -> u64

    Source§

    fn ndim(&self) -> usize

    Source§

    fn base(&self) -> Bound<'py, PyArrayDescr>

    Source§

    fn shape(&self) -> Vec<usize>

    Source§

    fn has_subarray(&self) -> bool

    Source§

    fn has_fields(&self) -> bool

    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 e486eb0e..f7fb5581 100644 --- a/numpy/trait.PyUntypedArrayMethods.html +++ b/numpy/trait.PyUntypedArrayMethods.html @@ -1,20 +1,20 @@ -PyUntypedArrayMethods in numpy - Rust
    numpy

    Trait PyUntypedArrayMethods

    source
    pub trait PyUntypedArrayMethods<'py>: Sealed {
    +PyUntypedArrayMethods in numpy - Rust
    numpy

    Trait PyUntypedArrayMethods

    Source
    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.

    -
    source

    fn dtype(&self) -> Bound<'py, PyArrayDescr>

    Returns the dtype of the array.

    +

    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
    use numpy::prelude::*;
    @@ -26,7 +26,7 @@ 
    §Example
    assert!(array.dtype().is_equiv_to(&dtype::<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};
    @@ -41,9 +41,9 @@ 
    §Example
    .downcast_into::<PyArray1<i32>>()?; 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};
    @@ -54,7 +54,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};
    @@ -65,7 +65,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};
    @@ -76,6 +76,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 3f9cc8ec..727ff275 100644 --- a/numpy/type.Complex32.html +++ b/numpy/type.Complex32.html @@ -1,12 +1,12 @@ -Complex32 in numpy - Rust
    numpy

    Type Alias Complex32

    source
    pub type Complex32 = Complex<f32>;
    Expand description

    Alias for a Complex<f32>

    +Complex32 in numpy - Rust
    numpy

    Type Alias Complex32

    Source
    pub type Complex32 = Complex<f32>;
    Expand description

    Alias for a 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Complex32

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Complex32]) -> Vec<Complex32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( + 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Complex32

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Complex32]) -> Vec<Complex32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Complex32, D>, ) -> Array<Complex32, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    \ No newline at end of file + D: Dimension,
    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    \ No newline at end of file diff --git a/numpy/type.Complex64.html b/numpy/type.Complex64.html index 020f8251..0bf0020c 100644 --- a/numpy/type.Complex64.html +++ b/numpy/type.Complex64.html @@ -1,12 +1,12 @@ -Complex64 in numpy - Rust
    numpy

    Type Alias Complex64

    source
    pub type Complex64 = Complex<f64>;
    Expand description

    Alias for a Complex<f64>

    +Complex64 in numpy - Rust
    numpy

    Type Alias Complex64

    Source
    pub type Complex64 = Complex<f64>;
    Expand description

    Alias for a 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> Complex64

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Complex64]) -> Vec<Complex64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>( + 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(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> Complex64

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[Complex64]) -> Vec<Complex64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>( _py: Python<'_>, view: ArrayView<'_, Complex64, D>, ) -> Array<Complex64, D>
    where - D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    \ No newline at end of file + D: Dimension,
    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    \ No newline at end of file diff --git a/numpy/type.Ix1.html b/numpy/type.Ix1.html index 22b83a47..4975cdbb 100644 --- a/numpy/type.Ix1.html +++ b/numpy/type.Ix1.html @@ -1,2 +1,2 @@ -Ix1 in numpy - Rust
    numpy

    Type Alias Ix1

    source
    pub type Ix1 = Dim<[usize; 1]>;
    Expand description

    one-dimensional

    +Ix1 in numpy - Rust
    numpy

    Type Alias 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 8f9bd11e..90597ff9 100644 --- a/numpy/type.Ix2.html +++ b/numpy/type.Ix2.html @@ -1,2 +1,2 @@ -Ix2 in numpy - Rust
    numpy

    Type Alias Ix2

    source
    pub type Ix2 = Dim<[usize; 2]>;
    Expand description

    two-dimensional

    +Ix2 in numpy - Rust
    numpy

    Type Alias 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 8206f72a..a61f7827 100644 --- a/numpy/type.Ix3.html +++ b/numpy/type.Ix3.html @@ -1,2 +1,2 @@ -Ix3 in numpy - Rust
    numpy

    Type Alias Ix3

    source
    pub type Ix3 = Dim<[usize; 3]>;
    Expand description

    three-dimensional

    +Ix3 in numpy - Rust
    numpy

    Type Alias 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 566651e9..97c5760d 100644 --- a/numpy/type.Ix4.html +++ b/numpy/type.Ix4.html @@ -1,2 +1,2 @@ -Ix4 in numpy - Rust
    numpy

    Type Alias Ix4

    source
    pub type Ix4 = Dim<[usize; 4]>;
    Expand description

    four-dimensional

    +Ix4 in numpy - Rust
    numpy

    Type Alias 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 dfc09b38..29eb8ea9 100644 --- a/numpy/type.Ix5.html +++ b/numpy/type.Ix5.html @@ -1,2 +1,2 @@ -Ix5 in numpy - Rust
    numpy

    Type Alias Ix5

    source
    pub type Ix5 = Dim<[usize; 5]>;
    Expand description

    five-dimensional

    +Ix5 in numpy - Rust
    numpy

    Type Alias 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 846c1389..d79fc2cd 100644 --- a/numpy/type.Ix6.html +++ b/numpy/type.Ix6.html @@ -1,2 +1,2 @@ -Ix6 in numpy - Rust
    numpy

    Type Alias Ix6

    source
    pub type Ix6 = Dim<[usize; 6]>;
    Expand description

    six-dimensional

    +Ix6 in numpy - Rust
    numpy

    Type Alias 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 d54b7ad6..56f63f62 100644 --- a/numpy/type.IxDyn.html +++ b/numpy/type.IxDyn.html @@ -1,4 +1,4 @@ -IxDyn in numpy - Rust
    numpy

    Type Alias IxDyn

    source
    pub type IxDyn = Dim<IxDynImpl>;
    Expand description

    dynamic-dimensional

    +IxDyn in numpy - Rust
    numpy

    Type Alias 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 IntoDimension to produce IxDyn).

    diff --git a/numpy/type.PyArrayLike0.html b/numpy/type.PyArrayLike0.html index d544f2ad..c171de51 100644 --- a/numpy/type.PyArrayLike0.html +++ b/numpy/type.PyArrayLike0.html @@ -1,2 +1,2 @@ -PyArrayLike0 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike0 in numpy - Rust
    numpy

    Type Alias 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 a0b5810c..25231576 100644 --- a/numpy/type.PyArrayLike1.html +++ b/numpy/type.PyArrayLike1.html @@ -1,2 +1,2 @@ -PyArrayLike1 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike1 in numpy - Rust
    numpy

    Type Alias 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 99957222..8c1947fb 100644 --- a/numpy/type.PyArrayLike2.html +++ b/numpy/type.PyArrayLike2.html @@ -1,2 +1,2 @@ -PyArrayLike2 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike2 in numpy - Rust
    numpy

    Type Alias 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 c6fa2d2f..58af75ef 100644 --- a/numpy/type.PyArrayLike3.html +++ b/numpy/type.PyArrayLike3.html @@ -1,2 +1,2 @@ -PyArrayLike3 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike3 in numpy - Rust
    numpy

    Type Alias 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 cec708f0..89d8eaf5 100644 --- a/numpy/type.PyArrayLike4.html +++ b/numpy/type.PyArrayLike4.html @@ -1,2 +1,2 @@ -PyArrayLike4 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike4 in numpy - Rust
    numpy

    Type Alias 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 62c1398f..ffd3b098 100644 --- a/numpy/type.PyArrayLike5.html +++ b/numpy/type.PyArrayLike5.html @@ -1,2 +1,2 @@ -PyArrayLike5 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike5 in numpy - Rust
    numpy

    Type Alias 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 7a89a147..ea672cf9 100644 --- a/numpy/type.PyArrayLike6.html +++ b/numpy/type.PyArrayLike6.html @@ -1,2 +1,2 @@ -PyArrayLike6 in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLike6 in numpy - Rust
    numpy

    Type Alias 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 4bbe639d..42d47be0 100644 --- a/numpy/type.PyArrayLikeDyn.html +++ b/numpy/type.PyArrayLikeDyn.html @@ -1,2 +1,2 @@ -PyArrayLikeDyn in numpy - Rust
    numpy

    Type Alias 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.

    +PyArrayLikeDyn in numpy - Rust
    numpy

    Type Alias 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 9d0b2037..772d5245 100644 --- a/search-index.js +++ b/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["numpy",{"t":"FPGIIKFTEHIHIHIHIHIHIHIFPEEEEEEEEEEEEFKEFIIIIIIIIEFFEEEEEEEEEEEEEEEEEEFKEEFMNNNCQNNNNNNMMNNMCNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNCCNNNHHHMHHQHQNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEMNNNNNNMMMNNOOHHNNNNNNNNNNMMNNNNNNNNNNNMEMEMNNCNNNNNNCQQEOOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNFIKIIIIIIIKNNMMMMNNMNNNNMMMNNNNNNNNNNNNNNNNNNNMHMMNNNNNNMNNNMMMMNNMNMMNNMMNNNNNNNNFIIIIIIIIFIIIIIIIINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNRRKRRKKKMNMNTFFTKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSCCHCCCPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGJFPPNPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPNNNNNNNNNPPPPPPPPNNNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFIIFIIFFFFFFFFFIIIFFFIIIIFFFFFIIIIIIIIIIIIIIFIIHHHHHHHHHHIFIIIIPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOONNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIIFIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOPGPPPPPPGGPPPPPPPGPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPTPPPPPPPPTGPPPPGPPGGPPPGPPPPPPGGGPPPPPPPPPPPPPPPPPPPPPOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOIIFFIFIIIIFIIIIIIIIIIIIIIIIIIFIFIIIIIIIIIIINOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOJFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEEKEKEMMMMNNNNNNMMMMNNNMMNNNNNNNNNNNNMNNNNNNMNNNNNNMMNNNNNNMNNNNNNM","n":["AllowTypeChange","AlreadyBorrowed","BorrowError","Complex32","Complex64","Element","FromVecError","IS_COPY","IntoPyArray","Ix1","","Ix2","","Ix3","","Ix4","","Ix5","","Ix6","","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","","","array","","array_from_view","","","","","","as_array_ptr","as_dtype_ptr","as_ref","","base","borrow","","","","","","","","","","","borrow_mut","","","","","","","","","","clone","","clone_into","","clone_ref","","","","","clone_to_uninit","","cmp","","convert","datetime","deref","","","dot","dot_bound","dtype","","dtype_bound","einsum","","einsum_bound","","eq","","extract_bound","flags","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","from_py_object_bound","from_subset","","","","","","","","","","get_array_module","get_dtype","","","","","get_dtype_bound","","get_field","has_fields","has_subarray","hash","","im","","inner","inner_bound","into","","","","","","","","","","into_dtype_ptr","is_equiv_to","is_in_subset","","","","","","","","","","is_type_of","itemsize","nalgebra","names","ndarray","ndim","new","new_bound","npyffi","object","object_bound","of","of_bound","partial_cmp","","prelude","pyarray","pyarray_bound","pyo3","re","","shape","to_owned","","to_string","","","","","to_subset","","","","","","","","","","to_subset_unchecked","","","","","","","","","","try_from","","","","","","","","","","try_into","","","","","","","","","","type_check","","type_id","","","","","","","","","","type_object_raw","","typeobj","vec_from_slice","","","","","","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDyn","PyArrayMethods","arange","arange_bound","as_array","as_array_mut","as_raw_array","as_raw_array_mut","as_slice","as_slice_mut","as_untyped","borrow","borrow_from_array","borrow_from_array_bound","borrow_mut","cast","copy_to","data","dims","from","from_array","from_array_bound","from_iter","from_iter_bound","from_owned_array","from_owned_array_bound","from_owned_object_array","from_owned_object_array_bound","from_slice","from_slice_bound","from_subset","from_vec","from_vec2","from_vec2_bound","from_vec3","from_vec3_bound","from_vec_bound","get","get_array_module","get_mut","get_owned","into","is_in_subset","is_type_of","item","new","new_bound","permute","readonly","readwrite","reshape","reshape_with_order","resize","to_dyn","to_owned_array","to_subset","to_subset_unchecked","to_vec","transpose","try_as_matrix","try_as_matrix_mut","try_from","try_into","try_readonly","try_readwrite","type_check","type_id","type_object_raw","uget","uget_mut","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_mut","","as_slice","as_slice_mut","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deref","","drop","","extract_bound","","fmt","","from","","","from_py_object_bound","","from_subset","","get","get_mut","into","","is_in_subset","","make_nonwriteable","resize","to_owned","to_subset","","to_subset_unchecked","","try_as_matrix","try_as_matrix_mut","try_from","","try_into","","type_id","","Dim","","IntoPyArray","Item","","NpyIndex","ToNpyDims","ToPyArray","into_pyarray","into_pyarray_bound","to_pyarray","to_pyarray_bound","ABBREV","Datetime","Timedelta","UNIT","Unit","array_from_view","","borrow","","borrow_mut","","clone","","clone_into","","clone_ref","","clone_to_uninit","","cmp","","eq","","fmt","","from","","","","from_subset","","get_dtype","","hash","","into","","is_in_subset","","partial_cmp","","to_owned","","to_subset","","to_subset_unchecked","","try_from","","try_into","","type_id","","units","vec_from_slice","","Attoseconds","Days","Femtoseconds","Hours","Microseconds","Milliseconds","Minutes","Months","Nanoseconds","Picoseconds","Seconds","Weeks","Years","borrow","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","clone","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","cmp","","","","","","","","","","","","","eq","","","","","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","hash","","","","","","","","","","","","","into","","","","","","","","","","","","","is_in_subset","","","","","","","","","","","","","partial_cmp","","","","","","","","","","","","","to_owned","","","","","","","","","","","","","to_subset","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","try_from","","","","","","","","","","","","","try_into","","","","","","","","","","","","","type_id","","","","","","","","","","","","","API_VERSION_2_0","array","flags","is_numpy_2","objects","types","ufunc","NPY_NUMUSERTYPES","NpyDatetime_ConvertDatetime64ToDatetimeStruct","NpyDatetime_ConvertDatetimeStructToDatetime64","NpyDatetime_ConvertPyDateTimeToDatetimeStruct","NpyDatetime_GetDatetimeISO8601StrLen","NpyDatetime_MakeISO8601Datetime","NpyDatetime_ParseISO8601Datetime","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","NpyString_acquire_allocator","NpyString_acquire_allocators","NpyString_load","NpyString_pack","NpyString_pack_null","NpyString_release_allocator","NpyString_release_allocators","NpyTypes","PY_ARRAY_API","PyArrayAPI","PyArrayDescr_Type","PyArrayFlags_Type","PyArrayInitDTypeMeta_FromSpec","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_CommonDType","PyArray_CompareLists","PyArray_CompareString","PyArray_CompareUCS4","PyArray_Compress","PyArray_Concatenate","PyArray_Conjugate","PyArray_ConvertClipmodeSequence","PyArray_ConvertToCommonType","PyArray_Converter","PyArray_CopyAndTranspose","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_GetDefaultDescr","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_Pack","PyArray_Partition","PyArray_Prod","PyArray_PromoteDTypeSequence","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_GetHandler","PyDataMem_NEW","PyDataMem_NEW_ZEROED","PyDataMem_RENEW","PyDataMem_SetEventHook","PyDataMem_SetHandler","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","_PyDataType_GetArrFuncs","borrow","","borrow_mut","","from","","from_subset","","get_type_object","into","","is_in_subset","","to_subset","","to_subset_unchecked","","try_from","","try_into","","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","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NpyAuxData","NpyAuxData_CloneFunc","NpyAuxData_FreeFunc","NpyIter","NpyIter_GetMultiIndexFunc","NpyIter_IterNextFunc","PyArrayDTypeMeta_Spec","PyArrayFlagsObject","PyArrayInterface","PyArrayIterObject","PyArrayMapIterObject","PyArrayMethod_Spec","PyArrayMultiIterObject","PyArrayNeighborhoodIterObject","PyArrayObject","PyArray_ArgFunc","PyArray_ArgPartitionFunc","PyArray_ArgSortFunc","PyArray_ArrFuncs","PyArray_ArrayDescr","PyArray_Chunk","PyArray_CompareFunc","PyArray_CopySwapFunc","PyArray_CopySwapNFunc","PyArray_DTypeMeta","PyArray_DatetimeDTypeMetaData","PyArray_DatetimeMetaData","PyArray_Descr","PyArray_DescrProto","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_StringDTypeObject","PyArray_VectorUnaryFunc","PyDataMem_EventHookFunc","PyDataType_ALIGNMENT","PyDataType_C_METADATA","PyDataType_ELSIZE","PyDataType_FIELDS","PyDataType_FLAGS","PyDataType_ISLEGACY","PyDataType_METADATA","PyDataType_NAMES","PyDataType_SET_ELSIZE","PyDataType_SUBARRAY","PyUFuncGenericFunction","PyUFuncObject","PyUFunc_LegacyInnerLoopSelectionFunc","PyUFunc_MaskedInnerLoopSelectionFunc","PyUFunc_MaskedStridedInnerLoopFunc","PyUFunc_TypeResolutionFunc","Some","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","_PyArray_DescrNumPy2","_former_flags","","_internal_iter","ait","alignment","","allocator","ao","","argmax","argmin","argsort","arr","array","array_owned","backstrides","","base","","","","","","baseclass","baseoffset","borrow","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","bounds","","buf","byteorder","","","c_metadata","cancastscalarkindto","cancastto","cast","castdict","casting","casts","clone","","","","","","","","","","","","clone_into","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","coerce","compare","consec","constant","contiguous","","coordinates","","copyswap","copyswapn","core_dim_ixs","core_enabled","core_num_dim_ix","core_num_dims","core_offsets","core_signature","data","","","dataptr","","","default_string","descr","","dimensions","","","","dims_m1","","doc","dotfunc","dtypes","elsize","","extra_op","extra_op_dtype","extra_op_flags","extra_op_iter","extra_op_next","extra_op_ptrs","f","factors","","fancy_dims","fancy_strides","fastclip","fastputmask","fasttake","fields","fill","fillwithscalar","flags","","","","","","","","fmt","free","from","","","","","","","","","","","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","","","","","","","","","","","fromstr","functions","getitem","has_nan_na","has_string_na","hash","","identity","index","","","","into","","","","","","","","","","","","","","","","","","","","","","","is_in_subset","","","","","","","","","","","","","","","","","","","","","","","itemsize","iter_count","iter_flags","iteraxes","iters","kind","","","legacy_inner_loop_selector","len","","limits","","limits_sizes","","masked_inner_loop_selector","meta","metadata","","mode","na_name","na_object","name","","names","nargs","nd","","","","","nd_fancy","nd_m1","","needs_api","nin","","nonzero","nout","","npy_iter_get_dataptr_t","npy_packed_static_string","npy_static_string","npy_string_allocator","ntypes","num","numiter","","ob_base","","","","","","","","","","","","obj","op_flags","outer","outer_next","outer_ptrs","outer_strides","ptr","","","reserved","reserved1","reserved2","reserved_null","scalarkind","scanfunc","setitem","shape","","size","","","","","slots","","sort","strides","","","","subarray","subspace","subspace_iter","subspace_next","subspace_ptrs","subspace_strides","to_owned","","","","","","","","","","","to_subset","","","","","","","","","","","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","","","","","","","","","","","tp_alloc","tp_as_async","tp_as_buffer","tp_as_mapping","tp_as_number","tp_as_sequence","tp_base","tp_bases","tp_basicsize","tp_cache","tp_call","tp_clear","tp_dealloc","tp_del","tp_descr_get","tp_descr_set","tp_dict","tp_dictoffset","tp_doc","tp_finalize","tp_flags","tp_free","tp_getattr","tp_getattro","tp_getset","tp_hash","tp_init","tp_is_gc","tp_itemsize","tp_iter","tp_iternext","tp_members","tp_methods","tp_mro","tp_name","tp_new","tp_repr","tp_richcompare","tp_setattr","tp_setattro","tp_str","tp_subclasses","tp_traverse","tp_vectorcall","tp_vectorcall_offset","tp_version_tag","tp_weaklist","tp_weaklistoffset","translate","","try_from","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","two","type_","","","type_id","","","","","","","","","","","","","","","","","","","","","","","type_num","","","type_resolver","typekind","typeobj","","","","types","unused","userloops","weakreflist","NPY_ANYORDER","NPY_ARRAYMETHOD_FLAGS","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_METH_IS_REORDERABLE","NPY_METH_NO_FLOATINGPOINT_ERRORS","NPY_METH_REQUIRES_PYAPI","NPY_METH_RUNTIME_FLAGS","NPY_METH_SUPPORTS_UNALIGNED","NPY_NATBYTE","NPY_NATIVE","NPY_NOSCALAR","NPY_NOTYPE","NPY_NO_CASTING","NPY_NTYPES_LEGACY","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_VSTRING","NPY_WRAP","_NPY_METH_FORCE_CAST_INPUTS","as_","","borrow","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","clone","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","cmp","day","","eq","","","","","","","","","","","fmt","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","","","","","","","hash","","","","","","","","","","","hour","imag","","","","","","into","","","","","","","","","","","","","","","","","","","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","","real","","","","","","sec","","stride","to_owned","","","","","","","","","","","","","","","","","","","to_subset","","","","","","","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","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","as_array_ptr","as_dtype_ptr","base","byteorder","","","char","","","dtype","flags","get_field","has_fields","has_object","","","has_subarray","into_dtype_ptr","is_aligned_struct","","","is_c_contiguous","","","is_contiguous","","","is_empty","","","is_equiv_to","is_fortran_contiguous","","","is_native_byteorder","","","itemsize","kind","","","len","","","names","ndim","","","","num","","","shape","","","","strides","","","typeobj"],"q":[[0,"numpy"],[309,"numpy::array"],[391,"numpy::borrow"],[460,"numpy::convert"],[472,"numpy::datetime"],[528,"numpy::datetime::units"],[801,"numpy::npyffi"],[808,"numpy::npyffi::array"],[1152,"numpy::npyffi::flags"],[1222,"numpy::npyffi::objects"],[1924,"numpy::npyffi::types"],[2449,"numpy::npyffi::ufunc"],[2504,"numpy::prelude"],[2571,"ndarray::dimension::dim"],[2572,"ndarray::dimension::dynindeximpl"],[2573,"numpy::dtype"],[2574,"numpy::error"],[2575,"pyo3::marker"],[2576,"pyo3::instance"],[2577,"num_complex"],[2578,"ndarray"],[2579,"ndarray::dimension::dimension_trait"],[2580,"numpy::strings"],[2581,"numpy::untyped_array"],[2582,"pyo3::types::any"],[2583,"core::cmp"],[2584,"numpy::array_like"],[2585,"pyo3::err"],[2586,"ndarray::aliases"],[2587,"core::fmt"],[2588,"pyo3_ffi::unicodeobject"],[2589,"core::result"],[2590,"core::hash"],[2591,"alloc::string"],[2592,"alloc::vec"],[2593,"core::option"],[2594,"pyo3::conversion"],[2595,"core::marker"],[2596,"core::any"],[2597,"pyo3_ffi::cpython::object"],[2598,"pyo3::types::typeobject"],[2599,"num_traits::cast"],[2600,"ndarray::data_traits"],[2601,"core::iter::traits::collect"],[2602,"pyo3::types::module"],[2603,"ndarray::dimension::conversion"],[2604,"nalgebra::base::matrix_view"],[2605,"nalgebra::base::scalar"],[2606,"nalgebra::base::dimension"],[2607,"nalgebra::base::alias_view"],[2608,"core::clone"],[2609,"std::os::raw"],[2610,"pyo3_ffi::object"],[2611,"pyo3_ffi::pyport"],[2612,"libc::unix"],[2613,"numpy::sum_products"]],"i":"`Ah`````Bd````````````````1``````````````````````````````````````````````````nA`Af4``AjBb55BfBhBj7C`Cd9`10DnEdCn;:>7643210;:>767676=98767676``430```5`````760<210;;::>>776643210;:>7766043210;:>76`=9876==<<<7698``43210;:>76<<43210;:>763<`<`<44`444476````98<76;:>7643210;:>7643210;:>7643210;:>7643210;:>764343210;:>7643<98==76```````````D`0Gl000000111100001111111111111111110`00111Ij2211111111221111221122211122``````````````````J`Jb1100101010111101010101101010101010001101010101010KdKf`10```1100Kj``0`KhKl1010101010101010101100101010101010101010101010`10`````````````LjLlLnM`MbMdMfMhMjMlMnN`Nb<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210```````AClNd0000000000000000000000000000000000000000000000000000000000```11011000000000000000000000000000000`00`00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000111111110000000111111111111111111111111100001010101001010101010101``````````````````````````````````````````````````````````````````````AFdAFfAFhAFjAFlAFnAG`AGbABfAGdAGfAGhAGjAGlAGnAH`AHbAHdAHfAHhAHjAEnAHlAHnAI`AIbA@bA@`ACjAIdAIfAIh```````````````````````````````````````````````````````````````AFdAFfAFhAFjAFlAFnAG`AGbABfAGdAGfAGhAGjAGlAGnAH`AHbAHdAHfAHhAHjAEnAHlAHnAI`AIbA@bA@`ACjAIdAIfAIh`BnAIjAIlABnACb3A@dAC`4ABj00AIn5326BlAAh5ADbNfADfA@n;5>:=64AEl9AAf>=;59ABlADdOnACn87A@jADh8=BnACbAIjAInAAh=2BnACbAIj1<<<<43=<;:98765438=<;:9876543=<;:9876543>>AEl00000Bl1>23ABnA@d2ADd3AAf73675ABj=:9444444:7844000:005:9AInAAh4?>OnACn9?>=32:;5<87ADb5ABl832NfADfA@jADhA@nBlBnACbAIj>=AElAC`AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@n9AEl:<ACbAIj?>AElAC`AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@n7````9584A@l??5555;?ABlACnAEl0?666ADb8>:=9A@jADhA@n:>AC`AIl=ACb?????6=9>On9=ADf765BlBn4AIjAInAAh>9AAf9ABnA@dADbABjABlADd=ACnNf>A@jADhA@nBlBnACbAIjAInAAhAElAC`AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@nA@l00000000000000000000000000000000000000000000000AC`?BlBnACbAIjAInAAhAEl7AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@nBlBnACbAIjAInAAhAElAC`AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@n7BnACbAIjBl321AInAAhAElAC`AAfAIlABnA@dADbABjABlADdOnACnNfADfA@jADhA@nBnACbAIjAEl;32140ABn1BlJd`AEfAE`AEbAAj21``212121AAl`32AEd2643`43Of51437O`0000000000000265AAb876565AA`:98878771AEh0000::7949987:`2644`ACd0``:96`:99;:9```:9:99::99:956::9:9:71NjACfADjADlADnJd>96:AE`9<>65AB`AEb?AEf;7654AAj>;?4=OfAAl<;54AEd4?;:983AAb?O`9AA`54NjACf;:59AEhADjADlADnJd=9ACd9AE`9>=87AB`AEb>AEf98765AAj?5>4=OfAAl>=54AEd4=7?>93AAb9O`9AA`547AEhADjADlADnJd;7ACd7AE`7AEf;:987AAj?7>6=OfAAl7654AEd4?>=<;3AAb;O`;AA`54;:9837AEh?73>2=16580:ACd:AE`:?>NjACfAB`AEbAEdAEf?;:98AAjAAb9O`9AA`OfAAl;:9876AEh<<```````````````````````````````````````````=:<;AJ`AJbAJdADjADlADnNjACfAB`543JdAAjAAbACdO`AE`AA`OfAAl;:9AEbAEdAEfAEhADjADlADn?>=<;:987NjACfAB`9876543JdAAjAAbACdO`AE`AA`OfAAl;:9AEbAEdAEfAEhADjADlADn?>=<;:987NjACfAB`9876543JdAAjAAbACdO`AE`AA`OfAAl;:9AEbAEdAEfAEhADjADlADn?>=<;:987NjACfAB`9876212``AEj0000000000000000000000000000000000000000000000000000``````nBj11111111011111111111000000000100011111110001100011110000001","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}}}}}}`{{{j{{h{b}}}}}{{f{l}}}}`````````````````````````````````````````````````````{{{j{n}}}b}{{A`Ab}Ad}{{AfAb}Ad}{{AhAb}Ad}``{{Ab{Al{Ajc}}}{{An{Ajc}}}B`}{{Ab{Al{Bbc}}}{{An{Bbc}}}B`}{{Ab{Al{Bdc}}}{{An{Bdc}}}B`}0{{Ab{Al{Bfc}}}{{An{Bfc}}}B`}{{Ab{Al{Bhc}}}{{An{Bhc}}}B`}{{{j{Bj}}}Bl}{{{j{n}}}Bn}{{{j{C`}}}{{j{Cb}}}}{{{j{Cd}}}{{j{Cb}}}}{{{j{n}}}{{Cf{C`}}}}`{j{{j{c}}}{}}000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000{{{j{Bf}}}Bf}{{{j{Bh}}}Bh}{{j{j{Chc}}}Cj{}}0{{{j{Bd}}Ab}Bd}{{{j{Aj}}Ab}Aj}{{{j{Bb}}Ab}Bb}{{{j{Bf}}Ab}Bf}{{{j{Bh}}Ab}Bh}{jCj}0{{{j{Bf}}{j{Bf}}}Cl}{{{j{Bh}}{j{Bh}}}Cl}``?>{{{j{{Cn{ceg}}}}}{{j{i}}}BdB``{}}{{{j{{Cf{{D`{ce}}}}}}{j{{Cf{{D`{cg}}}}}}}{{Db{i}}}BdB`B`{{`{c}}}}0{Ab{{Cf{C`}}}}{{{j{Bj}}}{{Cf{C`}}}}1{{{j{Dd}}{j{{h{{Dh{{D`{cDf}}}}}}}}}{{Db{e}}}Bd{{`{c}}}}`0`{{{j{Bf}}{j{Bf}}}Dj}{{{j{Bh}}{j{Bh}}}Dj}{{{j{{Cf{Cb}}}}}{{Db{{Cn{ceg}}}}}BdB``}{{{j{n}}}Dl}{{{j{Dn}}{j{ChE`}}}Eb}{{{j{Ed}}{j{ChE`}}}Eb}{{{j{{Cn{ceg}}}}{j{ChE`}}}Eb{BdEf}{B`Ef}{`Ef}}{{{j{A`}}{j{ChE`}}}Eb}0{{{j{Af}}{j{ChE`}}}Eb}0{{{j{Ah}}{j{ChE`}}}Eb}0{{{j{Bf}}{j{ChE`}}}Eb}0{{{j{Bh}}{j{ChE`}}}Eb}0{cc{}}00000000{{{d{Eh}}}Bf}1{{{d{Ej}}}Bh}{{{Dh{Cb}}}{{En{cEl}}}{}}{{{j{c}}}e{}{}}000000000`{Ab{{Cf{C`}}}}000000{{{j{n}}{j{Dd}}}{{Db{{F`{{Cf{C`}}b}}}}}}{{{j{n}}}Dj}0{{{j{Bf}}{j{Chc}}}CjFb}{{{j{Bh}}{j{Chc}}}CjFb}``{{{j{{Cf{{D`{ce}}}}}}{j{{Cf{{D`{cg}}}}}}}{{Db{i}}}BdB`B`{{`{c}}}}0{{}c{}}000000000{nBn}{{{j{n}}{j{n}}}Dj}{jDj}000000000{{{j{{Cf{Cb}}}}}Dj}{{{j{n}}}b}`{{{j{n}}}{{Fh{{Ff{Fd}}}}}}`1{{Abc}{{Db{{Cf{C`}}}}}Fj}{{Ab{j{c}}}{{Db{{Cf{C`}}}}}{FlFn}}`>>>>{{{j{Bf}}{j{Bf}}}{{Fh{Cl}}}}{{{j{Bh}}{j{Bh}}}{{Fh{Cl}}}}``````{{{j{n}}}{{Ff{b}}}}{jc{}}0{jFd}0000{j{{Fh{c}}}{}}0000000002222222222{c{{En{e}}}{}{}}000000000{{}{{En{c}}}{}}000000000<<{jG`}000000000{AbGb}0{{{j{n}}}{{Cf{Gd}}}}{{Ab{j{{h{Aj}}}}}{{Ff{Aj}}}}{{Ab{j{{h{Bb}}}}}{{Ff{Bb}}}}{{Ab{j{{h{Bd}}}}}{{Ff{Bd}}}}0{{Ab{j{{h{Bf}}}}}{{Ff{Bf}}}}{{Ab{j{{h{Bh}}}}}{{Ff{Bh}}}}```````````{{Abccc}{{Cf{{D`{cGf}}}}}{Bd{Gj{Gh}}}}0{{{j{Gl}}}{{Al{ce}}}BdB`}{{{j{Gl}}}{{Gn{ce}}}BdB`}{{{j{Gl}}}{{H`{ce}}}BdB`}{{{j{Gl}}}{{Hb{ce}}}BdB`}{{{j{Gl}}}{{En{{j{{h{c}}}}Af}}}Bd}{{{j{Gl}}}{{En{{j{Ch{h{c}}}}Af}}}Bd}{{{j{Gl}}}{{j{{Cf{Cd}}}}}}{j{{j{c}}}{}}{{{j{{Hd{eg}}}}{Cf{Cb}}}{{Cf{{D`{cg}}}}}Bd{{Hh{}{{Hf{c}}}}}B`}0{{{j{Ch}}}{{j{Chc}}}{}}{{{j{Gl}}Dj}{{Db{{Cf{{D`{ce}}}}}}}Bd{}}{{{j{Gl}}{j{{Cf{{D`{ce}}}}}}}{{Db{Cj}}}Bd{}}{{{j{Gl}}}}{{{j{Gl}}}cB`}{cc{}}{{Ab{j{{Hd{eg}}}}}{{Cf{{D`{cg}}}}}Bd{{Hh{}{{Hf{c}}}}}B`}0{{Abe}{{Cf{{D`{cGf}}}}}Bd{{Hl{}{{Hj{c}}}}}}0{{Ab{An{ce}}}{{Cf{{D`{ce}}}}}BdB`}0{{Ab{An{{Hn{c}}e}}}{{Cf{{D`{Ade}}}}}{}B`}0{{Ab{j{{h{c}}}}}{{Cf{{D`{cGf}}}}}Bd}0{{{j{c}}}e{}{}}{{Ab{Ff{c}}}{{Cf{{D`{cGf}}}}}Bd}{{Ab{j{{h{{Ff{c}}}}}}}{{En{{Cf{{D`{cI`}}}}A`}}}Bd}0{{Ab{j{{h{{Ff{{Ff{c}}}}}}}}}{{En{{Cf{{D`{cIb}}}}A`}}}Bd}02{{{j{Gl}}e}{{Fh{{j{g}}}}}B`{{If{}{{Id{c}}}}}Bd}{Ab{{Db{{Cf{Ih}}}}}}{{{j{Gl}}e}{{Fh{{j{Chg}}}}}B`{{If{}{{Id{c}}}}}Bd}{{{j{Gl}}e}{{Fh{g}}}B`{{If{}{{Id{c}}}}}Bd}{{}c{}}{jDj}{{{j{{Cf{Cb}}}}}Dj}{{{j{Ij}}}c{BdIl}}{{AbeDj}{{Cf{{D`{gc}}}}}B`{{In{}{{Id{c}}}}}Bd}0{{{j{Gl}}{Fh{c}}}{{Db{{Cf{{D`{eg}}}}}}}InBd{}}{{{j{Gl}}}{{J`{ce}}}BdB`}{{{j{Gl}}}{{Jb{ce}}}BdB`}{{{j{Gl}}c}{{Db{{Cf{{D`{e}}}}}}}InBd}{{{j{Gl}}cJd}{{Db{{Cf{{D`{e}}}}}}}InBd}{{{j{Gl}}c}{{Db{Cj}}}In}{{{j{Gl}}}{{j{{Cf{{D`{cDf}}}}}}}Bd}{{{j{Gl}}}{{An{ce}}}BdB`}{j{{Fh{c}}}{}}{jc{}}{{{j{Gl}}}{{En{{Ff{c}}Af}}}Bd}{{{j{Gl}}}{{Db{{Cf{{D`{ce}}}}}}}Bd{}}{{{j{Gl}}}{{Fh{{Jf{cegik}}}}}{JhBd}JjJjJjJj}{{{j{Gl}}}{{Fh{{Jl{cegik}}}}}{JhBd}JjJjJjJj}{c{{En{e}}}{}{}}{{}{{En{c}}}{}}{{{j{Gl}}}{{En{{J`{ce}}Ah}}}BdB`}{{{j{Gl}}}{{En{{Jb{ce}}Ah}}}BdB`}{{{j{{Cf{Cb}}}}}Dj}{jG`}{AbGb}{{{j{Gl}}e}{{j{g}}}B`{{If{}{{Id{c}}}}}Bd}{{{j{Gl}}e}{{j{Chg}}}B`{{If{}{{Id{c}}}}}Bd}{{{j{Gl}}e}{}B`{{If{}{{Id{c}}}}}}{{AbeDj}{{Cf{{D`{gc}}}}}B`{{In{}{{Id{c}}}}}Bd}0``````````````````{{{j{{J`{ce}}}}}{{Al{ce}}}BdB`}{{{j{Ch{Jb{ce}}}}}{{Gn{ce}}}BdB`}{{{j{{J`{cGf}}}}}{{K`{cJnJn}}}{JhBd}}{{{j{{J`{cI`}}}}}{{K`{cJnJn}}}{JhBd}}{{{j{{Jb{cI`}}}}}{{Kb{cJnJn}}}{JhBd}}{{{j{{Jb{cGf}}}}}{{Kb{cJnJn}}}{JhBd}}{{{j{{J`{ce}}}}}{{En{{j{{h{c}}}}Af}}}BdB`}{{{j{Ch{Jb{ce}}}}}{{En{{j{Ch{h{c}}}}Af}}}BdB`}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{{{j{{J`{ce}}}}}{{J`{ce}}}BdB`}{{j{j{Chc}}}Cj{}}{jCj}{{{j{{J`{ce}}}}}{{j{g}}}BdB`{}}{{{j{{Jb{ce}}}}}{{j{g}}}BdB`{}}{{{j{Ch{J`{ce}}}}}CjBdB`}{{{j{Ch{Jb{ce}}}}}CjBdB`}{{{j{{Cf{Cb}}}}}{{Db{{J`{ce}}}}}BdB`}{{{j{{Cf{Cb}}}}}{{Db{{Jb{ce}}}}}BdB`}{{{j{{J`{ce}}}}{j{ChE`}}}EbBdB`}{{{j{{Jb{ce}}}}{j{ChE`}}}EbBdB`}{cc{}}{{{Jb{ce}}}{{J`{ce}}}BdB`}1{{{Dh{Cb}}}{{En{cEl}}}{}}0{{{j{c}}}e{}{}}0{{{j{{J`{ce}}}}g}{{Fh{{j{c}}}}}BdB`{{If{}{{Id{e}}}}}}{{{j{Ch{Jb{ce}}}}g}{{Fh{{j{Chc}}}}}BdB`{{If{}{{Id{e}}}}}}{{}c{}}0{jDj}06{{{Jb{cGf}}e}{{Db{{Jb{cGf}}}}}BdIn}{jc{}}{j{{Fh{c}}}{}}011{{{j{{J`{ce}}}}}{{Fh{{Jf{cgikm}}}}}{JhBd}B`JjJjJjJj}{{{j{{Jb{ce}}}}}{{Fh{{Jl{cgikm}}}}}{JhBd}B`JjJjJjJj}{c{{En{e}}}{}{}}0{{}{{En{c}}}{}}0{jG`}0````````{{{Kd{}{{Hj{c}}{Id{e}}}}Ab}{{Cf{{D`{ce}}}}}BdB`}0{{{j{{Kf{}{{Hj{c}}{Id{e}}}}}}Ab}{{Cf{{D`{ce}}}}}BdB`}0`````{{Ab{Al{{Kh{c}}e}}}{{An{{Kh{c}}e}}}KjB`}{{Ab{Al{{Kl{c}}e}}}{{An{{Kl{c}}e}}}KjB`}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{{{j{{Kh{c}}}}}{{Kh{c}}}{KnKj}}{{{j{{Kl{c}}}}}{{Kl{c}}}{KnKj}}{{j{j{Chc}}}Cj{}}0{{{j{{Kh{c}}}}Ab}{{Kh{c}}}Kj}{{{j{{Kl{c}}}}Ab}{{Kl{c}}}Kj}{jCj}0{{{j{{Kh{c}}}}{j{{Kh{c}}}}}Cl{L`Kj}}{{{j{{Kl{c}}}}{j{{Kl{c}}}}}Cl{L`Kj}}{{{j{{Kh{c}}}}{j{{Kh{c}}}}}Dj{LbKj}}{{{j{{Kl{c}}}}{j{{Kl{c}}}}}Dj{LbKj}}{{{j{{Kh{c}}}}{j{ChE`}}}EbKj}{{{j{{Kl{c}}}}{j{ChE`}}}EbKj}{Ld{{Kh{c}}}Kj}{cc{}}{Ld{{Kl{c}}}Kj}1{{{j{c}}}e{}{}}0{Ab{{Cf{C`}}}}0{{{j{{Kh{c}}}}{j{Che}}}Cj{LfKj}Fb}{{{j{{Kl{c}}}}{j{Che}}}Cj{LfKj}Fb}{{}c{}}0{jDj}0{{{j{{Kh{c}}}}{j{{Kh{c}}}}}{{Fh{Cl}}}{LhKj}}{{{j{{Kl{c}}}}{j{{Kl{c}}}}}{{Fh{Cl}}}{LhKj}}{jc{}}0{j{{Fh{c}}}{}}011{c{{En{e}}}{}{}}0{{}{{En{c}}}{}}0{jG`}0`{{Ab{j{{h{{Kh{c}}}}}}}{{Ff{{Kh{c}}}}}Kj}{{Ab{j{{h{{Kl{c}}}}}}}{{Ff{{Kl{c}}}}}Kj}`````````````{j{{j{c}}}{}}000000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000000{{{j{Lj}}}Lj}{{{j{Ll}}}Ll}{{{j{Ln}}}Ln}{{{j{M`}}}M`}{{{j{Mb}}}Mb}{{{j{Md}}}Md}{{{j{Mf}}}Mf}{{{j{Mh}}}Mh}{{{j{Mj}}}Mj}{{{j{Ml}}}Ml}{{{j{Mn}}}Mn}{{{j{N`}}}N`}{{{j{Nb}}}Nb}{{j{j{Chc}}}Cj{}}000000000000{jCj}000000000000{{{j{Lj}}{j{Lj}}}Cl}{{{j{Ll}}{j{Ll}}}Cl}{{{j{Ln}}{j{Ln}}}Cl}{{{j{M`}}{j{M`}}}Cl}{{{j{Mb}}{j{Mb}}}Cl}{{{j{Md}}{j{Md}}}Cl}{{{j{Mf}}{j{Mf}}}Cl}{{{j{Mh}}{j{Mh}}}Cl}{{{j{Mj}}{j{Mj}}}Cl}{{{j{Ml}}{j{Ml}}}Cl}{{{j{Mn}}{j{Mn}}}Cl}{{{j{N`}}{j{N`}}}Cl}{{{j{Nb}}{j{Nb}}}Cl}{{{j{Lj}}{j{Lj}}}Dj}{{{j{Ll}}{j{Ll}}}Dj}{{{j{Ln}}{j{Ln}}}Dj}{{{j{M`}}{j{M`}}}Dj}{{{j{Mb}}{j{Mb}}}Dj}{{{j{Md}}{j{Md}}}Dj}{{{j{Mf}}{j{Mf}}}Dj}{{{j{Mh}}{j{Mh}}}Dj}{{{j{Mj}}{j{Mj}}}Dj}{{{j{Ml}}{j{Ml}}}Dj}{{{j{Mn}}{j{Mn}}}Dj}{{{j{N`}}{j{N`}}}Dj}{{{j{Nb}}{j{Nb}}}Dj}{{{j{Lj}}{j{ChE`}}}Eb}{{{j{Ll}}{j{ChE`}}}Eb}{{{j{Ln}}{j{ChE`}}}Eb}{{{j{M`}}{j{ChE`}}}Eb}{{{j{Mb}}{j{ChE`}}}Eb}{{{j{Md}}{j{ChE`}}}Eb}{{{j{Mf}}{j{ChE`}}}Eb}{{{j{Mh}}{j{ChE`}}}Eb}{{{j{Mj}}{j{ChE`}}}Eb}{{{j{Ml}}{j{ChE`}}}Eb}{{{j{Mn}}{j{ChE`}}}Eb}{{{j{N`}}{j{ChE`}}}Eb}{{{j{Nb}}{j{ChE`}}}Eb}{cc{}}000000000000{{{j{c}}}e{}{}}000000000000{{{j{Lj}}{j{Chc}}}CjFb}{{{j{Ll}}{j{Chc}}}CjFb}{{{j{Ln}}{j{Chc}}}CjFb}{{{j{M`}}{j{Chc}}}CjFb}{{{j{Mb}}{j{Chc}}}CjFb}{{{j{Md}}{j{Chc}}}CjFb}{{{j{Mf}}{j{Chc}}}CjFb}{{{j{Mh}}{j{Chc}}}CjFb}{{{j{Mj}}{j{Chc}}}CjFb}{{{j{Ml}}{j{Chc}}}CjFb}{{{j{Mn}}{j{Chc}}}CjFb}{{{j{N`}}{j{Chc}}}CjFb}{{{j{Nb}}{j{Chc}}}CjFb}{{}c{}}000000000000{jDj}000000000000{{{j{Lj}}{j{Lj}}}{{Fh{Cl}}}}{{{j{Ll}}{j{Ll}}}{{Fh{Cl}}}}{{{j{Ln}}{j{Ln}}}{{Fh{Cl}}}}{{{j{M`}}{j{M`}}}{{Fh{Cl}}}}{{{j{Mb}}{j{Mb}}}{{Fh{Cl}}}}{{{j{Md}}{j{Md}}}{{Fh{Cl}}}}{{{j{Mf}}{j{Mf}}}{{Fh{Cl}}}}{{{j{Mh}}{j{Mh}}}{{Fh{Cl}}}}{{{j{Mj}}{j{Mj}}}{{Fh{Cl}}}}{{{j{Ml}}{j{Ml}}}{{Fh{Cl}}}}{{{j{Mn}}{j{Mn}}}{{Fh{Cl}}}}{{{j{N`}}{j{N`}}}{{Fh{Cl}}}}{{{j{Nb}}{j{Nb}}}{{Fh{Cl}}}}{jc{}}000000000000{j{{Fh{c}}}{}}0000000000001111111111111{c{{En{e}}}{}{}}000000000000{{}{{En{c}}}{}}000000000000{jG`}000000000000```{AbDj}````{{{j{Nd}}AbNfNhNj}Nl}{{{j{Nd}}AbNfNjNh}Nl}{{{j{Nd}}AbNnNjO`Nl}Nl}{{{j{Nd}}AbNlO`}Nl}{{{j{Nd}}AbNjObOdNlNlO`NlOf}Nl}{{{j{Nd}}AbObOhO`OfNjO`Oj}Nl}{{{j{Nd}}AbNlBlOlJdOfOlBnNlNlOdOd}On}{{{j{Nd}}AbOn}On}{{{j{Nd}}AbOnOdOd}Nl}{{{j{Nd}}AbOn}Nl}{{{j{Nd}}AbOn}Cj}1{{{j{Nd}}AbOnNl}Od}{{{j{Nd}}AbOn}Od}{{{j{Nd}}AbOn}Ob}{{{j{Nd}}AbOn}Bn}{{{j{Nd}}AbOnOb}A@`}32{{{j{Nd}}AbOnOd}Cj}444{{{j{Nd}}AbOnOdOd}Cj}{{{j{Nd}}AbOnOb}A@b}6{{{j{Nd}}AbOnOd}Bl}::{{{j{Nd}}AbOn}Bl}{{{j{Nd}}AbOnOb}Cj}{{{j{Nd}}AbOnOd}Nl}1000{{{j{Nd}}AbOn}Oj}0000{{{j{Nd}}AbOnNl}Oj}11{{{j{Nd}}AbNlBlOlJdOfOlBn}On}{{{j{Nd}}AbBlOlJdOfBn}On}{{{j{Nd}}AbOnNl}Nl}{{{j{Nd}}AbOn}Nl}5{{{j{Nd}}AbOnOb}Nl}{{{j{Nd}}AbOnObOb}Nl}{{{j{Nd}}AbOnOdOdOb}Nl}{{{j{Nd}}AbA@d}A@f}{{{j{Nd}}AbbBnA@f}Cj}{{{j{Nd}}AbA@fA@hA@j}Nl}{{{j{Nd}}AbA@h}Nl}{{{j{Nd}}AbA@fA@h}Nl}{{{j{Nd}}AbA@f}Cj}{{{j{Nd}}AbbA@f}Cj}`````{{{j{Nd}}AbA@lA@n}Nl}``{{{j{Nd}}AbBlNlBl}Nn}0{{{j{Nd}}AbGhGhGhNl}Nn}{{{j{Nd}}AbNnNnNnBn}Nn}22{{{j{Nd}}AbBlBlNlAA`}Nn}{{{j{Nd}}AbBlNlAAb}Nn}{{{j{Nd}}AbNnObNlNl}Nl}{{{j{Nd}}AbNnObNlNlNl}Nl}{{{j{Nd}}AbNnAAdOdNlBn}Nl}{{{j{Nd}}AbNnNl}Nl}{{{j{Nd}}AbNnOj}Nl}{{{j{Nd}}AbAAf}Nl}{{{j{Nd}}AbNnOdNl}Nn}{{{j{Nd}}AbNnAAh}Nl}{{{j{Nd}}AbNnOb}Nl}{{{j{Nd}}AbBlOj}Nn}{{{j{Nd}}AbBlBnOf}Oj}{{{j{Nd}}AbNlNl}Nl}{{{j{Nd}}AbGbGb}Oj}{{{j{Nd}}AbBnBn}Oj}{{{j{Nd}}AbBnBnOf}Oj}{{{j{Nd}}AbNlNlAAj}Nl}{{{j{Nd}}AbBlBl}Nl}{{{j{Nd}}AbNnBnAAdNl}Nl}{{{j{Nd}}AbNnAAdBn}Nl}2{{{j{Nd}}AbBlBnNl}Nn}{{{j{Nd}}AbNnOf}Nl}{{AbNn}Nl}{{{j{Nd}}AbNn}Nl}{{{j{Nd}}AbBlNlNl}Nn}2{{{j{Nd}}AbNnBnNlNlNlNn}Nn}{{{j{Nd}}AbNlNlOdOdOdOd}Oj}{{{j{Nd}}AbBlNnBlAAl}Nn}{{{j{Nd}}AbBlNnNnBl}Nn}{{{j{Nd}}AbNnAAl}Nl}{{{j{Nd}}AbA@lA@l}A@l}{{{j{Nd}}AbOdOdNl}Nl}{{{j{Nd}}AbObObb}Nl}{{{j{Nd}}AbAAnAAnb}Nl}{{{j{Nd}}AbBlNnNlBl}Nn}{{{j{Nd}}AbNnNl}Nn}{{{j{Nd}}AbBlBl}Nn}{{{j{Nd}}AbNnAAlNl}Nl}{{{j{Nd}}AbNnNl}Bl}{{{j{Nd}}AbNnNn}Nl}{{{j{Nd}}AbNn}Nn}{{{j{Nd}}AbBlBl}Nl}{{{j{Nd}}AbBlNn}Nl}{{{j{Nd}}AbNnNnNl}Nn}0{{{j{Nd}}AbBl}Od}{{{j{Nd}}AbNlOdAB`}Cj}{{{j{Nd}}AbBlNlNlBl}Nn}0{{{j{Nd}}AbO`Nj}Nh}{{{j{Nd}}AbNhO`Nj}Cj}{{{j{Nd}}AbBl}Cj}{{{j{Nd}}AbNnBn}Nl}000{{{j{Nd}}AbNnBn}Bn}{{{j{Nd}}AbNn}Bn}{{{j{Nd}}AbNl}Bn}1{{{j{Nd}}AbBn}Bn}{{{j{Nd}}AbBnOb}Bn}2{{{j{Nd}}AbBlNlNlNl}Nn}{{{j{Nd}}AbNnNnNl}Nl}{{{j{Nd}}AbNnNl}Nn}{{{j{Nd}}AbObOdBlBnJdOfBl}Nn}{{{j{Nd}}AbOb}Nl}{{{j{Nd}}AbNn}Nl}{{{j{Nd}}AbNlOdBnNl}Nn}{{{j{Nd}}AbNn}Nn}0{{{j{Nd}}AbNlNl}ABb}{{{j{Nd}}AbBnBn}ABb}{{{j{Nd}}AbBlOb}Nl}3{{{j{Nd}}AbBlNn}Cj}{{{j{Nd}}AbBlNn}Nl}{{{j{Nd}}AbBlJd}Nn}{{{j{Nd}}AbNnAAd}Nl}{{{j{Nd}}AbNnBnNlNlNlNn}Nn}{{{j{Nd}}AbBlBnNl}Nn}{{{j{Nd}}AbNnBnNn}Nn}{{{j{Nd}}AbNnBnOdOd}Nn}{{{j{Nd}}AbNlNlNl}Nn}{{{j{Nd}}AbNlNlBnOb}Nn}{{{j{Nd}}AbABdBnOdOb}Nn}>{{{j{Nd}}AbNnBnOd}Nn}{{{j{Nd}}AbNnBn}Nn}{{{j{Nd}}AbObOdBnOdOb}Nn}{{{j{Nd}}AbNn}Nn}{{{j{Nd}}AbNnBnOjBnNlOdBlNn}Nl}{{{j{Nd}}AbBnNl}ABf}{{{j{Nd}}AbA@l}Bn}{{{j{Nd}}Ab}Nl}={{{j{Nd}}Ab}ABh}0{{{j{Nd}}Ab}Nn}{{{j{Nd}}AbNnGh}Gh}{{{j{Nd}}AbBlOd}AAd}{{{j{Nd}}AbBl}Nl}{{{j{Nd}}AbABj}Cj}{{{j{Nd}}AbNnNn}Nn}{{{j{Nd}}AbNlOd}Nn}{{{j{Nd}}AbNnABl}Nl}{{{j{Nd}}AbNnOdNl}Nl}{{{j{Nd}}AbObBn}Cj}0{{{j{Nd}}AbNnNl}Nn}{{{j{Nd}}AbNn}Nn}1{{{j{Nd}}AbBlNn}Nn}{{{j{Nd}}AbBlNnNlBl}Nn}{{{j{Nd}}AbABn}Cj}{{{j{Nd}}AbABnBlNl}Cj}:{{{j{Nd}}AbNnNnBl}Nn}{{{j{Nd}}AbBlNlBl}Nn}{{{j{Nd}}AbBlNlNlBl}Nn}1{{{j{Nd}}AbBl}Bn}{{{j{Nd}}AbBlBl}Nl}{{{j{Nd}}AbNlNl}Nl}{{{j{Nd}}AbOdNl}Od}{{{j{Nd}}AbAC`OdNlBl}Nn}{{{j{Nd}}AbGbNlOdNlOdAAdNlNlNn}Nn}{{{j{Nd}}AbBlJd}Nn}>{{{j{Nd}}AbGbBnNlOdOdAAdNlNn}Nn}{{{j{Nd}}AbBlJdBnNl}Nn}{{{j{Nd}}AbBlABlJd}Nn}{{{j{Nd}}AbBl}Nn}{{{j{Nd}}AbNnNl}Nl}{{{j{Nd}}AbBl}Ob}{{{j{Nd}}AbNnJd}Nl}{{{j{Nd}}AbNnBl}Nl};{{{j{Nd}}AbBnAAdNn}Nn}{{{j{Nd}}AbBlBlNlAA`}Nl}{{{j{Nd}}AbBlNlNlBl}Nn}{{{j{Nd}}AbOdA@l}A@l}{{{j{Nd}}AbBnBn}Bn}{{{j{Nd}}AbBlNlBl}Nn}{{{j{Nd}}AbBlNnNn}Nn}{{{j{Nd}}AbBlNnNnAAl}Nn}{{{j{Nd}}AbNn}Nl}{{{j{Nd}}AbNn}Od}{{{j{Nd}}AbBlJd}Nn}{{{j{Nd}}AbBnNlAAj}Nl}{{{j{Nd}}AbBnNlABf}Nl}{{{j{Nd}}AbACb}Nl}{{{j{Nd}}AbBlOj}Cj}{{{j{Nd}}AbAAf}Nl}{{{j{Nd}}AbBlNnNl}Nn}{{{j{Nd}}AbBlNn}Nn}{{{j{Nd}}AbBlABlNlJd}Nn}{{{j{Nd}}AbBl}Nl}{{{j{Nd}}AbOdBlOdBn}Bn}{{{j{Nd}}AbBl}Nn}{{{j{Nd}}AbBlNlBl}Nn}{{{j{Nd}}AbAAdBnNn}Nn}{{{j{Nd}}AbNnAAd}Cj}{{{j{Nd}}AbNn}Nn}{{{j{Nd}}AbNlBl}AAj}{{{j{Nd}}AbBlNnACdNn}Nn}{{{j{Nd}}AbNnAAd}Nl}{{{j{Nd}}AbNnAA`}Nl}{{{j{Nd}}AbBlNn}Nl}{{{j{Nd}}AbNn}Cj}{{{j{Nd}}AbBlBnNlNn}Nl}{{{j{Nd}}AbNn}Nl}{{{j{Nd}}AbNnNl}Cj}{{{j{Nd}}AbBlBl}Nl}0{{{j{Nd}}AbNn}Od}{{{j{Nd}}AbBlNlAAb}Nl}{{{j{Nd}}AbNnAAb}Nl}{{{j{Nd}}AbBl}Nn}{{{j{Nd}}AbBlNlNlBlNl}Nn}{{{j{Nd}}AbBlNlNlBl}Nn}{{{j{Nd}}AbBlNlNl}Nn}{{{j{Nd}}AbBlNnNlBlAAl}Nn}{{{j{Nd}}AbO`ACf}Nh}{{{j{Nd}}AbAChO`ACf}Cj}{{{j{Nd}}AbBlABdObOb}Nl}7{{{j{Nd}}AbBlJd}Nn}{{{j{Nd}}AbBlNlNlNlNlBl}Nn}{{{j{Nd}}AbBlABl}Nn}`{{{j{Nd}}AbNl}Nn}{{{j{Nd}}AbNlNl}Nl}{{{j{Nd}}AbBlNl}Cj}{{{j{Nd}}AbNl}Nl}{{{j{Nd}}AbBlBnGb}Nn}{{{j{Nd}}AbNnNnNn}Nn}{{{j{Nd}}AbBl}Nl}{{{j{Nd}}AbBl}Ob}{{{j{Nd}}AbNlOdBnNl}Nn}````````{{{j{Nd}}AbAAd}Cj}{{{j{Nd}}Ab}Nn}{{{j{Nd}}Abb}AAd}{{{j{Nd}}Abbb}AAd}{{{j{Nd}}AbAAdb}AAd}{{{j{Nd}}AbACjAAdAAd}ACj}{{{j{Nd}}AbNn}Nn}`````````````````````````{{{j{Nd}}Ab}AAd}{{{j{Nd}}AbNl}Cj}{{{j{Nd}}AbBn}ABj}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{cc{}}0{{{j{c}}}e{}{}}0{{{j{Nd}}AbACl}Gb}{{}c{}}0{jDj}0{j{{Fh{c}}}{}}0{jc{}}0{c{{En{e}}}{}{}}0{{}{{En{c}}}{}}0{jG`}0`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{AbBn}Od}{{AbBn}ACn}1{{AbBn}Nn}{{AbBn}AD`}{BnDj}22{{AbBnOd}Cj}{{AbBn}ADb}````````````````````````````````````````````````````````````````{j{{j{c}}}{}}0000000000000000000000{{{j{Ch}}}{{j{Chc}}}{}}0000000000000000000000`````````````{{{j{ADb}}}ADb}{{{j{ABj}}}ABj}{{{j{ABl}}}ABl}{{{j{ADd}}}ADd}{{{j{On}}}On}{{{j{ACn}}}ACn}{{{j{Nf}}}Nf}{{{j{ADf}}}ADf}{{{j{A@j}}}A@j}{{{j{ADh}}}ADh}{{{j{A@n}}}A@n}`{{j{j{Chc}}}Cj{}}0000000000{jCj}0000000000`````````````````````````````````````````````````````````````{{{j{On}}{j{ChE`}}}Eb}`{cc{}}0000000000000000000000{{{j{c}}}e{}{}}0000000000000000000000````````````{{}c{}}0000000000000000000000{jDj}0000000000000000000000````````````````````````````````````````````````````````````````````````````````````````````````{jc{}}0000000000{j{{Fh{c}}}{}}000000000000000000000011111111111111111111111``````````````````````````````````````````````````{c{{En{e}}}{}{}}0000000000000000000000{{}{{En{c}}}{}}0000000000000000000000````{jG`}0000000000000000000000``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{j{{j{c}}}{}}000000000000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000000000000{{{j{ADj}}}ADj}{{{j{ADl}}}ADl}{{{j{ADn}}}ADn}{{{j{Jd}}}Jd}{{{j{AAj}}}AAj}{{{j{AAb}}}AAb}{{{j{ACd}}}ACd}{{{j{O`}}}O`}{{{j{AE`}}}AE`}{{{j{AA`}}}AA`}{{{j{Of}}}Of}{{{j{AAl}}}AAl}{{{j{Nj}}}Nj}{{{j{ACf}}}ACf}{{{j{AB`}}}AB`}{{{j{AEb}}}AEb}{{{j{AEd}}}AEd}{{{j{AEf}}}AEf}{{{j{AEh}}}AEh}{{j{j{Chc}}}Cj{}}000000000000000000{jCj}000000000000000000{{{j{AE`}}{j{AE`}}}Cl}``{{{j{Jd}}{j{Jd}}}Dj}{{{j{AAj}}{j{AAj}}}Dj}{{{j{AAb}}{j{AAb}}}Dj}{{{j{ACd}}{j{ACd}}}Dj}{{{j{O`}}{j{O`}}}Dj}{{{j{AE`}}{j{AE`}}}Dj}{{{j{AA`}}{j{AA`}}}Dj}{{{j{Of}}{j{Of}}}Dj}{{{j{AAl}}{j{AAl}}}Dj}{{{j{AEf}}{j{AEf}}}Dj}{{{j{AEh}}{j{AEh}}}Dj}{{{j{ADj}}{j{ChE`}}}Eb}{{{j{ADl}}{j{ChE`}}}Eb}{{{j{ADn}}{j{ChE`}}}Eb}{{{j{Jd}}{j{ChE`}}}Eb}{{{j{AAj}}{j{ChE`}}}Eb}{{{j{AAb}}{j{ChE`}}}Eb}{{{j{ACd}}{j{ChE`}}}Eb}{{{j{O`}}{j{ChE`}}}Eb}{{{j{AE`}}{j{ChE`}}}Eb}{{{j{AA`}}{j{ChE`}}}Eb}{{{j{Of}}{j{ChE`}}}Eb}{{{j{Nj}}{j{ChE`}}}Eb}{{{j{ACf}}{j{ChE`}}}Eb}{{{j{AB`}}{j{ChE`}}}Eb}{{{j{AEb}}{j{ChE`}}}Eb}{{{j{AEd}}{j{ChE`}}}Eb}{{{j{AEf}}{j{ChE`}}}Eb}{{{j{AEh}}{j{ChE`}}}Eb}{cc{}}000000000000000000{{{j{c}}}e{}{}}000000000000000000{{{j{Jd}}{j{Chc}}}CjFb}{{{j{AAj}}{j{Chc}}}CjFb}{{{j{AAb}}{j{Chc}}}CjFb}{{{j{ACd}}{j{Chc}}}CjFb}{{{j{O`}}{j{Chc}}}CjFb}{{{j{AE`}}{j{Chc}}}CjFb}{{{j{AA`}}{j{Chc}}}CjFb}{{{j{Of}}{j{Chc}}}CjFb}{{{j{AAl}}{j{Chc}}}CjFb}{{{j{AEf}}{j{Chc}}}CjFb}{{{j{AEh}}{j{Chc}}}CjFb}```````{{}c{}}000000000000000000{jDj}000000000000000000`````````````````````````````````````````````{{{j{AE`}}{j{AE`}}}{{Fh{Cl}}}}````````````{jc{}}000000000000000000{j{{Fh{c}}}{}}0000000000000000001111111111111111111{c{{En{e}}}{}{}}000000000000000000{{}{{En{c}}}{}}000000000000000000{jG`}000000000000000000`````{{{j{AEj}}AbObOdOdAAd}Cj}0{{{j{AEj}}AbAElOfBlNnBn}Nl}1111{{{j{AEj}}AbAEnAAdObNlNlNlNlObObNl}Nn}{{{j{AEj}}AbAEnAAdObNlNlNlNlObObNlOb}Nn}{{{j{AEj}}AbAElAAdObNlNlNlNlObObNlObOb}Nl}44{{{j{AEj}}AbAElNnNnBl}Nl}{{{j{AEj}}AbObNlNlNn}Nl}66666{{{j{AEj}}AbAElBnAEnBnAAd}Nl}{{{j{AEj}}AbAElNlAEnNlAAd}Nl}{{{j{AEj}}AbAElAEnNlAEn}Nl}{{{j{AEj}}AbAAdb}Nl}{{{j{AEj}}AbAElOfBlBn}Nl}{{{j{AEj}}AbNlNnNl}Nl}{{{j{AEj}}Ab}Cj}============={{{j{AEj}}Ab}Nl}>{{{j{AEj}}AbNlNnNlNl}Nl}{j{{j{c}}}{}}{{{j{Ch}}}{{j{Chc}}}{}}{cc{}}{{{j{c}}}e{}{}}{{}c{}}{jDj}{j{{Fh{c}}}{}}{jc{}}{c{{En{e}}}{}{}}{{}{{En{c}}}{}}{jG`}``````{{{j{n}}}b}{{{j{Bj}}}Bl}{{{j{n}}}Bn}{{{j{n}}}{{Cf{C`}}}}{{{j{n}}}AF`}00000{{{j{Bj}}}{{Cf{C`}}}}{{{j{n}}}Dl}{{{j{n}}{j{Dd}}}{{Db{{F`{{Cf{C`}}b}}}}}}{{{j{n}}}Dj}0000{nBn}111{{{j{Bj}}}Dj}00000000{{{j{n}}{j{n}}}Dj}111{{{j{n}}}{{Fh{Dj}}}}00<888{{{j{Bj}}}b}00{{{j{n}}}{{Fh{{Ff{Fd}}}}}}>111{{{j{n}}}Nl}00{{{j{n}}}{{Ff{b}}}}{{{j{Bj}}}{{j{{h{b}}}}}}00{{{j{Bj}}}{{j{{h{AFb}}}}}}00{{{j{n}}}{{Cf{Gd}}}}","D":"COj","p":[[1,"usize"],[1,"array"],[5,"Dim",2571],[1,"slice"],[1,"reference"],[5,"IxDynImpl",2572],[10,"PyArrayDescrMethods",2504,2573],[5,"FromVecError",0,2574],[5,"Python",2575],[8,"PyObject",2576],[5,"NotContiguousError",0,2574],[6,"BorrowError",0,2574],[8,"Complex32",0,2577],[8,"ArrayView",2578],[8,"Array",2578],[10,"Dimension",2579],[8,"Complex64",0,2577],[10,"Element",0,2573],[5,"PyFixedString",0,2580],[5,"PyFixedUnicode",0,2580],[10,"PyUntypedArrayMethods",2504,2581],[5,"PyArrayObject",1222],[5,"PyArray_Descr",1222],[5,"PyArrayDescr",0,2573],[5,"PyAny",2582],[5,"PyUntypedArray",0,2581],[5,"Bound",2576],[0,"mut"],[1,"unit"],[6,"Ordering",2583],[5,"PyArrayLike",0,2584],[5,"PyArray",309],[8,"PyResult",2585],[1,"str"],[8,"IxDyn",0,2586],[5,"Borrowed",2576],[1,"bool"],[1,"u64"],[5,"TypeMustMatch",0,2584],[5,"Formatter",2587],[8,"Result",2587],[5,"AllowTypeChange",0,2584],[10,"Debug",2587],[8,"Py_UCS1",2588],[8,"Py_UCS4",2588],[5,"PyErr",2585],[6,"Result",2589],[1,"tuple"],[10,"Hasher",2590],[5,"String",2591],[5,"Vec",2592],[6,"Option",2593],[10,"IntoPyObject",2594],[10,"ToPyObject",2594],[10,"Sized",2595],[5,"TypeId",2596],[5,"PyTypeObject",2597],[5,"PyType",2598],[8,"Ix1",0,2586],[1,"f64"],[10,"AsPrimitive",2599],[10,"PyArrayMethods",309],[8,"ArrayViewMut",2578],[8,"RawArrayView",2578],[8,"RawArrayViewMut",2578],[5,"ArrayBase",2578],[17,"Elem"],[10,"Data",2600],[17,"Item"],[10,"IntoIterator",2601],[5,"Py",2576],[8,"Ix2",0,2586],[8,"Ix3",0,2586],[17,"Dim"],[10,"NpyIndex",460],[5,"PyModule",2602],[10,"PyArray0Methods",309],[10,"Copy",2595],[10,"IntoDimension",2603],[5,"PyReadonlyArray",391],[5,"PyReadwriteArray",391],[6,"NPY_ORDER",1924],[8,"MatrixView",2604],[10,"Scalar",2605],[10,"Dim",2606],[8,"MatrixViewMut",2604],[5,"Dyn",2606],[8,"DMatrixView",2607],[8,"DMatrixViewMut",2607],[10,"IntoPyArray",460],[10,"ToPyArray",460],[5,"Datetime",472],[10,"Unit",472],[5,"Timedelta",472],[10,"Clone",2608],[10,"Ord",2583],[10,"PartialEq",2583],[1,"i64"],[10,"Hash",2590],[10,"PartialOrd",2583],[5,"Years",528],[5,"Months",528],[5,"Weeks",528],[5,"Days",528],[5,"Hours",528],[5,"Minutes",528],[5,"Seconds",528],[5,"Milliseconds",528],[5,"Microseconds",528],[5,"Nanoseconds",528],[5,"Picoseconds",528],[5,"Femtoseconds",528],[5,"Attoseconds",528],[5,"PyArrayAPI",808],[5,"PyArray_DatetimeMetaData",1222],[8,"npy_datetime",1924],[5,"npy_datetimestruct",1924],[8,"c_int",2609],[5,"PyObject",2610],[6,"NPY_DATETIMEUNIT",1924],[8,"c_char",2609],[8,"npy_intp",1924],[6,"NPY_CASTING",1924],[8,"Py_ssize_t",2611],[8,"npy_bool",1924],[8,"npy_uint32",1924],[5,"NpyIter",1222],[8,"NpyIter_GetMultiIndexFunc",1222],[8,"NpyIter_IterNextFunc",1222],[5,"PyArray_StringDTypeObject",1222],[8,"npy_string_allocator",1222],[8,"npy_packed_static_string",1222],[5,"npy_static_string",1222],[8,"PyArray_DTypeMeta",1222],[5,"PyArrayDTypeMeta_Spec",1222],[6,"NPY_SELECTKIND",1924],[6,"NPY_SORTKIND",1924],[8,"c_void",2609],[5,"PyArrayMultiIterObject",1222],[5,"PyArray_Chunk",1222],[6,"NPY_SCALARKIND",1924],[6,"NPY_CLIPMODE",1924],[8,"npy_ucs4",1924],[5,"npy_stride_sort_item",1924],[8,"c_uchar",2609],[6,"FILE",2612],[8,"PyArray_VectorUnaryFunc",1222],[8,"c_uint",2609],[5,"PyArray_ArrFuncs",1222],[5,"PyArray_Dims",1222],[5,"PyArrayMapIterObject",1222],[5,"PyArrayIterObject",1222],[5,"PyArray_DescrProto",1222],[6,"NPY_SEARCHSIDE",1924],[5,"npy_timedeltastruct",1924],[8,"npy_timedelta",1924],[8,"PyDataMem_EventHookFunc",1222],[6,"NpyTypes",808],[5,"NpyAuxData",1222],[8,"npy_uint64",1924],[5,"PyArray_ArrayDescr",1222],[5,"PyArrayInterface",1222],[5,"PyArray_DatetimeDTypeMetaData",1222],[5,"PyArrayMethod_Spec",1222],[5,"npy_cdouble",1924],[5,"npy_cfloat",1924],[5,"npy_clongdouble",1924],[6,"NPY_TYPES",1924],[6,"NPY_TYPECHAR",1924],[6,"NPY_TYPEKINDCHAR",1924],[6,"NPY_BYTEORDER_CHAR",1924],[6,"NPY_ARRAYMETHOD_FLAGS",1924],[5,"PyUFuncAPI",2449],[5,"PyUFuncObject",1222],[8,"PyUFuncGenericFunction",1222],[1,"u8"],[1,"isize"],[8,"PyArray_GetItemFunc",1222],[8,"PyArray_SetItemFunc",1222],[8,"PyArray_CopySwapNFunc",1222],[8,"PyArray_CopySwapFunc",1222],[8,"PyArray_NonzeroFunc",1222],[8,"PyArray_CompareFunc",1222],[8,"PyArray_ArgFunc",1222],[8,"PyArray_DotFunc",1222],[8,"PyArray_ScanFunc",1222],[8,"PyArray_FromStrFunc",1222],[8,"PyArray_FillFunc",1222],[8,"PyArray_SortFunc",1222],[8,"PyArray_ArgSortFunc",1222],[8,"PyArray_PartitionFunc",1222],[8,"PyArray_ArgPartitionFunc",1222],[8,"PyArray_FillWithScalarFunc",1222],[8,"PyArray_ScalarKindFunc",1222],[8,"PyArray_FastClipFunc",1222],[8,"PyArray_FastPutmaskFunc",1222],[8,"PyArray_FastTakeFunc",1222],[8,"PyUFunc_MaskedStridedInnerLoopFunc",1222],[8,"PyUFunc_TypeResolutionFunc",1222],[8,"PyUFunc_LegacyInnerLoopSelectionFunc",1222],[8,"PyUFunc_MaskedInnerLoopSelectionFunc",1222],[8,"npy_iter_get_dataptr_t",1222],[8,"NpyAuxData_FreeFunc",1222],[8,"NpyAuxData_CloneFunc",1222],[5,"_PyArray_DescrNumPy2",1222],[5,"PyArrayNeighborhoodIterObject",1222],[5,"PyArrayFlagsObject",1222],[8,"npy_complex128",1924],[8,"npy_complex64",1924],[8,"npy_complex256",1924]],"r":[[0,2584],[2,2574],[3,2577],[4,2577],[5,2573],[6,2574],[8,460],[9,2586],[10,2586],[11,2586],[12,2586],[13,2586],[14,2586],[15,2586],[16,2586],[17,2586],[18,2586],[19,2586],[20,2586],[21,2586],[22,2586],[23,2574],[25,460],[26,808],[27,2449],[28,309],[29,309],[30,309],[31,309],[32,309],[33,309],[34,309],[35,309],[36,309],[37,2573],[38,2573],[39,309],[40,2584],[41,2584],[42,2584],[43,2584],[44,2584],[45,2584],[46,2584],[47,2584],[48,2584],[49,309],[50,2580],[51,2580],[52,391],[53,391],[54,391],[55,391],[56,391],[57,391],[58,391],[59,391],[60,391],[61,391],[62,391],[63,391],[64,391],[65,391],[66,391],[67,391],[68,391],[69,391],[70,2581],[71,2581],[72,460],[73,460],[74,2584],[80,2578],[131,2613],[132,2613],[133,2573],[135,2573],[136,2613],[138,2613],[180,309],[195,2613],[196,2613],[2504,460],[2505,309],[2506,2573],[2507,309],[2508,2581],[2509,460]],"b":[[147,"impl-Display-for-FromVecError"],[148,"impl-Debug-for-FromVecError"],[149,"impl-Display-for-NotContiguousError"],[150,"impl-Debug-for-NotContiguousError"],[151,"impl-Display-for-BorrowError"],[152,"impl-Debug-for-BorrowError"],[153,"impl-Display-for-PyFixedString%3CN%3E"],[154,"impl-Debug-for-PyFixedString%3CN%3E"],[155,"impl-Display-for-PyFixedUnicode%3CN%3E"],[156,"impl-Debug-for-PyFixedUnicode%3CN%3E"],[411,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[412,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[413,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[414,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"]],"c":"OjAAAAEAAAAAABgAEAAAAIUAiACLAIwAuwC8AMUA4wDmAOgA7QBCAUwBVAFWAVgBWgFcAWABYgFjAW0BhwHWAdgB","e":"OzAAAAEAAA4IQwAJAAAAGgALACgAAAAyAAAANQARAEkAAQBNAAIAUgABAFYAAQBaAAEAXgAXAHcABwCBAAIAjQACAJEADACnAAAAqQAMALcAAwDAAAEA0gAKAN4AAADgAAAA6QABAO4AAADyADwAMAEBADQBAQBKAQAATQEAAF0BAABpAQEAdgEBAHwBAQCAAQIAogEOALIBAAC0AQMAvAEBAMABBADHAQUA3gEUAPQBAAD2AQUA/gEPAA8CAQAeAmcAkwIZALoCaAAkAwAAJwMAACkDOwBoAyIAjAMBAI8D3gBwBAEAdQRRAOcEPgBGBbUAEwYiAE0GNwKYCCQA0AjBAJMJLADBCQAAwwkHAMwJAADOCQAA","a":{"nalgebra":[377,378,411,412,413,414,452,453],"pyarray":[311,319],"pyarray0":[311],"pyarraydescr":[38,2506],"pyuntypedarray":[71,2508]}}]]')); +var searchIndex = new Map(JSON.parse('[["numpy",{"t":"FPGIIKFTEHIHIHIHIHIHIHIFPEEEEEEEEEEEEFKEFIIIIIIIIEFFEEEEEEEEEEEEEEEEEEFKEEFMNNNCQNNNNNNMMNNMCNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNCCNNNHHHMHHQHQNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEMNNNNNNMMMNNOOHHNNNNNNNNNNMMNNNNNNNNNNNMEMEMNNCNNNNNNCQQEOOMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNFIKIIIIIIIKNNMMMMNNMNNNNMMMNNNNNNNNNNNNNNNNNNNMHMMNNNNNNMNNNMMMMNNMNMMNNMMNNNNNNNNFIIIIIIIIFIIIIIIIINNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNRRKRRKKKMNMNTFFTKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNSCCHCCCPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGJFPPNPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPNNNNNNNNNPPPPPPPPNNNNNNNPPPPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFIIFIIFFFFFFFFFIIIFFFIIIIFFFFFIIIIIIIIIIIIIIFIIHHHHHHHHHHIFIIIIPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOONNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIIFIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOPGPPPPPPGGPPPPPPPGPPPPPPPGPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPTPPPPPPPPTGPPPPGPPGGPPPGPPPPPPGGGPPPPPPPPPPPPPPPPPPPPPOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOIIFFIFIIIIFIIIIIIIIIIIIIIIIIIFIFIIIIIIIIIIINOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOJFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNEEKEKEMMMMNNNNNNMMMMNNNMMNNNNNNNNNNNNMNNNNNNMNNNNNNMMNNNNNNMNNNNNNM","n":["AllowTypeChange","AlreadyBorrowed","BorrowError","Complex32","Complex64","Element","FromVecError","IS_COPY","IntoPyArray","Ix1","","Ix2","","Ix3","","Ix4","","Ix5","","Ix6","","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","","","array","","array_from_view","","","","","","as_array_ptr","as_dtype_ptr","as_ref","","base","borrow","","","","","","","","","","","borrow_mut","","","","","","","","","","clone","","clone_into","","clone_ref","","","","","clone_to_uninit","","cmp","","convert","datetime","deref","","","dot","dot_bound","dtype","","dtype_bound","einsum","","einsum_bound","","eq","","extract_bound","flags","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","from_py_object_bound","from_subset","","","","","","","","","","get_array_module","get_dtype","","","","","get_dtype_bound","","get_field","has_fields","has_subarray","hash","","im","","inner","inner_bound","into","","","","","","","","","","into_dtype_ptr","is_equiv_to","is_in_subset","","","","","","","","","","is_type_of","itemsize","nalgebra","names","ndarray","ndim","new","new_bound","npyffi","object","object_bound","of","of_bound","partial_cmp","","prelude","pyarray","pyarray_bound","pyo3","re","","shape","to_owned","","to_string","","","","","to_subset","","","","","","","","","","to_subset_unchecked","","","","","","","","","","try_from","","","","","","","","","","try_into","","","","","","","","","","type_check","","type_id","","","","","","","","","","type_object_raw","","typeobj","vec_from_slice","","","","","","PyArray","PyArray0","PyArray0Methods","PyArray1","PyArray2","PyArray3","PyArray4","PyArray5","PyArray6","PyArrayDyn","PyArrayMethods","arange","arange_bound","as_array","as_array_mut","as_raw_array","as_raw_array_mut","as_slice","as_slice_mut","as_untyped","borrow","borrow_from_array","borrow_from_array_bound","borrow_mut","cast","copy_to","data","dims","from","from_array","from_array_bound","from_iter","from_iter_bound","from_owned_array","from_owned_array_bound","from_owned_object_array","from_owned_object_array_bound","from_slice","from_slice_bound","from_subset","from_vec","from_vec2","from_vec2_bound","from_vec3","from_vec3_bound","from_vec_bound","get","get_array_module","get_mut","get_owned","into","is_in_subset","is_type_of","item","new","new_bound","permute","readonly","readwrite","reshape","reshape_with_order","resize","to_dyn","to_owned_array","to_subset","to_subset_unchecked","to_vec","transpose","try_as_matrix","try_as_matrix_mut","try_from","try_into","try_readonly","try_readwrite","type_check","type_id","type_object_raw","uget","uget_mut","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_mut","","as_slice","as_slice_mut","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","deref","","drop","","extract_bound","","fmt","","from","","","from_py_object_bound","","from_subset","","get","get_mut","into","","is_in_subset","","make_nonwriteable","resize","to_owned","to_subset","","to_subset_unchecked","","try_as_matrix","try_as_matrix_mut","try_from","","try_into","","type_id","","Dim","","IntoPyArray","Item","","NpyIndex","ToNpyDims","ToPyArray","into_pyarray","into_pyarray_bound","to_pyarray","to_pyarray_bound","ABBREV","Datetime","Timedelta","UNIT","Unit","array_from_view","","borrow","","borrow_mut","","clone","","clone_into","","clone_ref","","clone_to_uninit","","cmp","","eq","","fmt","","from","","","","from_subset","","get_dtype","","hash","","into","","is_in_subset","","partial_cmp","","to_owned","","to_subset","","to_subset_unchecked","","try_from","","try_into","","type_id","","units","vec_from_slice","","Attoseconds","Days","Femtoseconds","Hours","Microseconds","Milliseconds","Minutes","Months","Nanoseconds","Picoseconds","Seconds","Weeks","Years","borrow","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","clone","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","cmp","","","","","","","","","","","","","eq","","","","","","","","","","","","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","hash","","","","","","","","","","","","","into","","","","","","","","","","","","","is_in_subset","","","","","","","","","","","","","partial_cmp","","","","","","","","","","","","","to_owned","","","","","","","","","","","","","to_subset","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","try_from","","","","","","","","","","","","","try_into","","","","","","","","","","","","","type_id","","","","","","","","","","","","","API_VERSION_2_0","array","flags","is_numpy_2","objects","types","ufunc","NPY_NUMUSERTYPES","NpyDatetime_ConvertDatetime64ToDatetimeStruct","NpyDatetime_ConvertDatetimeStructToDatetime64","NpyDatetime_ConvertPyDateTimeToDatetimeStruct","NpyDatetime_GetDatetimeISO8601StrLen","NpyDatetime_MakeISO8601Datetime","NpyDatetime_ParseISO8601Datetime","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","NpyString_acquire_allocator","NpyString_acquire_allocators","NpyString_load","NpyString_pack","NpyString_pack_null","NpyString_release_allocator","NpyString_release_allocators","NpyTypes","PY_ARRAY_API","PyArrayAPI","PyArrayDescr_Type","PyArrayFlags_Type","PyArrayInitDTypeMeta_FromSpec","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_CommonDType","PyArray_CompareLists","PyArray_CompareString","PyArray_CompareUCS4","PyArray_Compress","PyArray_Concatenate","PyArray_Conjugate","PyArray_ConvertClipmodeSequence","PyArray_ConvertToCommonType","PyArray_Converter","PyArray_CopyAndTranspose","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_GetDefaultDescr","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_Pack","PyArray_Partition","PyArray_Prod","PyArray_PromoteDTypeSequence","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_GetHandler","PyDataMem_NEW","PyDataMem_NEW_ZEROED","PyDataMem_RENEW","PyDataMem_SetEventHook","PyDataMem_SetHandler","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","_PyDataType_GetArrFuncs","borrow","","borrow_mut","","from","","from_subset","","get_type_object","into","","is_in_subset","","to_subset","","to_subset_unchecked","","try_from","","try_into","","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","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","NpyAuxData","NpyAuxData_CloneFunc","NpyAuxData_FreeFunc","NpyIter","NpyIter_GetMultiIndexFunc","NpyIter_IterNextFunc","PyArrayDTypeMeta_Spec","PyArrayFlagsObject","PyArrayInterface","PyArrayIterObject","PyArrayMapIterObject","PyArrayMethod_Spec","PyArrayMultiIterObject","PyArrayNeighborhoodIterObject","PyArrayObject","PyArray_ArgFunc","PyArray_ArgPartitionFunc","PyArray_ArgSortFunc","PyArray_ArrFuncs","PyArray_ArrayDescr","PyArray_Chunk","PyArray_CompareFunc","PyArray_CopySwapFunc","PyArray_CopySwapNFunc","PyArray_DTypeMeta","PyArray_DatetimeDTypeMetaData","PyArray_DatetimeMetaData","PyArray_Descr","PyArray_DescrProto","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_StringDTypeObject","PyArray_VectorUnaryFunc","PyDataMem_EventHookFunc","PyDataType_ALIGNMENT","PyDataType_C_METADATA","PyDataType_ELSIZE","PyDataType_FIELDS","PyDataType_FLAGS","PyDataType_ISLEGACY","PyDataType_METADATA","PyDataType_NAMES","PyDataType_SET_ELSIZE","PyDataType_SUBARRAY","PyUFuncGenericFunction","PyUFuncObject","PyUFunc_LegacyInnerLoopSelectionFunc","PyUFunc_MaskedInnerLoopSelectionFunc","PyUFunc_MaskedStridedInnerLoopFunc","PyUFunc_TypeResolutionFunc","Some","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","_PyArray_DescrNumPy2","_former_flags","","_internal_iter","ait","alignment","","allocator","ao","","argmax","argmin","argsort","arr","array","array_owned","backstrides","","base","","","","","","baseclass","baseoffset","borrow","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","bounds","","buf","byteorder","","","c_metadata","cancastscalarkindto","cancastto","cast","castdict","casting","casts","clone","","","","","","","","","","","","clone_into","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","coerce","compare","consec","constant","contiguous","","coordinates","","copyswap","copyswapn","core_dim_ixs","core_enabled","core_num_dim_ix","core_num_dims","core_offsets","core_signature","data","","","dataptr","","","default_string","descr","","dimensions","","","","dims_m1","","doc","dotfunc","dtypes","elsize","","extra_op","extra_op_dtype","extra_op_flags","extra_op_iter","extra_op_next","extra_op_ptrs","f","factors","","fancy_dims","fancy_strides","fastclip","fastputmask","fasttake","fields","fill","fillwithscalar","flags","","","","","","","","fmt","free","from","","","","","","","","","","","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","","","","","","","","","","","fromstr","functions","getitem","has_nan_na","has_string_na","hash","","identity","index","","","","into","","","","","","","","","","","","","","","","","","","","","","","is_in_subset","","","","","","","","","","","","","","","","","","","","","","","itemsize","iter_count","iter_flags","iteraxes","iters","kind","","","legacy_inner_loop_selector","len","","limits","","limits_sizes","","masked_inner_loop_selector","meta","metadata","","mode","na_name","na_object","name","","names","nargs","nd","","","","","nd_fancy","nd_m1","","needs_api","nin","","nonzero","nout","","npy_iter_get_dataptr_t","npy_packed_static_string","npy_static_string","npy_string_allocator","ntypes","num","numiter","","ob_base","","","","","","","","","","","","obj","op_flags","outer","outer_next","outer_ptrs","outer_strides","ptr","","","reserved","reserved1","reserved2","reserved_null","scalarkind","scanfunc","setitem","shape","","size","","","","","slots","","sort","strides","","","","subarray","subspace","subspace_iter","subspace_next","subspace_ptrs","subspace_strides","to_owned","","","","","","","","","","","to_subset","","","","","","","","","","","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","","","","","","","","","","","tp_alloc","tp_as_async","tp_as_buffer","tp_as_mapping","tp_as_number","tp_as_sequence","tp_base","tp_bases","tp_basicsize","tp_cache","tp_call","tp_clear","tp_dealloc","tp_del","tp_descr_get","tp_descr_set","tp_dict","tp_dictoffset","tp_doc","tp_finalize","tp_flags","tp_free","tp_getattr","tp_getattro","tp_getset","tp_hash","tp_init","tp_is_gc","tp_itemsize","tp_iter","tp_iternext","tp_members","tp_methods","tp_mro","tp_name","tp_new","tp_repr","tp_richcompare","tp_setattr","tp_setattro","tp_str","tp_subclasses","tp_traverse","tp_vectorcall","tp_vectorcall_offset","tp_version_tag","tp_watched","tp_weaklist","tp_weaklistoffset","translate","","try_from","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","two","type_","","","type_id","","","","","","","","","","","","","","","","","","","","","","","type_num","","","type_resolver","typekind","typeobj","","","","types","unused","userloops","weakreflist","NPY_ANYORDER","NPY_ARRAYMETHOD_FLAGS","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_METH_IS_REORDERABLE","NPY_METH_NO_FLOATINGPOINT_ERRORS","NPY_METH_REQUIRES_PYAPI","NPY_METH_RUNTIME_FLAGS","NPY_METH_SUPPORTS_UNALIGNED","NPY_NATBYTE","NPY_NATIVE","NPY_NOSCALAR","NPY_NOTYPE","NPY_NO_CASTING","NPY_NTYPES_LEGACY","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_VSTRING","NPY_WRAP","_NPY_METH_FORCE_CAST_INPUTS","as_","","borrow","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","clone","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","cmp","day","","eq","","","","","","","","","","","fmt","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","from_subset","","","","","","","","","","","","","","","","","","","hash","","","","","","","","","","","hour","imag","","","","","","into","","","","","","","","","","","","","","","","","","","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","","real","","","","","","sec","","stride","to_owned","","","","","","","","","","","","","","","","","","","to_subset","","","","","","","","","","","","","","","","","","","to_subset_unchecked","","","","","","","","","","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","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","as_array_ptr","as_dtype_ptr","base","byteorder","","","char","","","dtype","flags","get_field","has_fields","has_object","","","has_subarray","into_dtype_ptr","is_aligned_struct","","","is_c_contiguous","","","is_contiguous","","","is_empty","","","is_equiv_to","is_fortran_contiguous","","","is_native_byteorder","","","itemsize","kind","","","len","","","names","ndim","","","","num","","","shape","","","","strides","","","typeobj"],"q":[[0,"numpy"],[309,"numpy::array"],[391,"numpy::borrow"],[460,"numpy::convert"],[472,"numpy::datetime"],[528,"numpy::datetime::units"],[801,"numpy::npyffi"],[808,"numpy::npyffi::array"],[1152,"numpy::npyffi::flags"],[1222,"numpy::npyffi::objects"],[1925,"numpy::npyffi::types"],[2450,"numpy::npyffi::ufunc"],[2505,"numpy::prelude"],[2572,"ndarray::dimension::dim"],[2573,"ndarray::dimension::dynindeximpl"],[2574,"numpy::dtype"],[2575,"numpy::error"],[2576,"pyo3::marker"],[2577,"pyo3::instance"],[2578,"num_complex"],[2579,"ndarray"],[2580,"ndarray::dimension::dimension_trait"],[2581,"numpy::strings"],[2582,"numpy::untyped_array"],[2583,"pyo3::types::any"],[2584,"core::cmp"],[2585,"numpy::array_like"],[2586,"pyo3::err"],[2587,"ndarray::aliases"],[2588,"core::fmt"],[2589,"pyo3_ffi::unicodeobject"],[2590,"core::result"],[2591,"core::hash"],[2592,"alloc::string"],[2593,"alloc::vec"],[2594,"core::option"],[2595,"pyo3::conversion"],[2596,"core::marker"],[2597,"core::any"],[2598,"pyo3_ffi::cpython::object"],[2599,"pyo3::types::typeobject"],[2600,"num_traits::cast"],[2601,"ndarray::data_traits"],[2602,"core::iter::traits::collect"],[2603,"pyo3::types::module"],[2604,"ndarray::dimension::conversion"],[2605,"nalgebra::base::matrix_view"],[2606,"nalgebra::base::scalar"],[2607,"nalgebra::base::dimension"],[2608,"nalgebra::base::alias_view"],[2609,"core::clone"],[2610,"std::os::raw"],[2611,"pyo3_ffi::object"],[2612,"pyo3_ffi::pyport"],[2613,"libc::unix"],[2614,"numpy::sum_products"]],"i":"`Ah`````Bd````````````````1``````````````````````````````````````````````````nA`Af4``AjBb55BfBhBj7C`Cd9`10E`EfD`;:>7643210;:>767676=98767676``430```5`````760<210;;::>>776643210;:>7766043210;:>76`=9876==<<<7698``43210;:>76<<43210;:>763<`<`<44`444476````98<76;:>7643210;:>7643210;:>7643210;:>7643210;:>764343210;:>7643<98==76```````````Db0Gn000000111100001111111111111111110`00111Il2211111111221111221122211122``````````````````JbJd1100101010111101010101101010101010001101010101010KfKh`10```1100Kl``0`KjKn1010101010101010101100101010101010101010101010`10`````````````LlLnM`MbMdMfMhMjMlMnN`NbNd<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210<;:9876543210```````ACnNf0000000000000000000000000000000000000000000000000000000000```11011000000000000000000000000000000`00`00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000111111110000000111111111111111111111111100001010101001010101010101``````````````````````````````````````````````````````````````````````AFdAFfAFhAFjAFlAFnAG`AGbABhAGdAGfAGhAGjAGlAGnAH`AHbAHdAHfAHhAHjAF`AHlAHnAI`AIbA@dA@bAClAIdAIfAIh```````````````````````````````````````````````````````````````AFdAFfAFhAFjAFlAFnAG`AGbABhAGdAGfAGhAGjAGlAGnAH`AHbAHdAHfAHhAHjAF`AHlAHnAI`AIbA@dA@bAClAIdAIfAIh`BnAIjAIlAC`ACd3A@fACb4ABl00AIn5326BlAAj5ADdNhADhAA`;5>:=64AEn9AAh>=;59ABnADfA@`AD`87A@lADj8=BnACdAIjAInAAj=2BnACdAIj1<<<<43=<;:98765438=<;:9876543=<;:9876543>>AEn00000Bl1>23AC`A@f2ADf3AAh73675ABl=:9444444:7844000:005:9AInAAj4?>A@`AD`9?>=32:;5<87ADd5ABn832NhADhA@lADjAA`BlBnACdAIj>=AEnACbAAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`9AEn:<ACdAIj?>AEnACbAAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`7````9584A@n??5555;?ABnAD`AEn0?666ADd8>:=9A@lADjAA`:>ACbAIl=ACd?????6=9>A@`9=ADh765BlBn4AIjAInAAj>9AAh9AC`A@fADdABlABnADf=AD`Nh>A@lADjAA`BlBnACdAIjAInAAjAEnACbAAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`A@n000000000000000000000000000000000000000000000000ACb?BlBnACdAIjAInAAjAEn7AAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`BlBnACdAIjAInAAjAEnACbAAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`7BnACdAIjBl321AInAAjAEnACbAAhAIlAC`A@fADdABlABnADfA@`AD`NhADhA@lADjAA`BnACdAIjAEn;32140AC`1BlJf`AEhAEbAEdAAl21``212121AAn`32AEf2643`43Oh51437Ob0000000000000265AAd876565AAb:98878771AEj0000::7949987:`2644`ACf0``:96`:99;:9```:9:99::99:956::9:9:71NlAChADlADnAE`Jf>96:AEb9<>65ABbAEd?AEh;7654AAl>;?4=OhAAn<;54AEf4?;:983AAd?Ob9AAb54NlACh;:59AEjADlADnAE`Jf=9ACf9AEb9>=87ABbAEd>AEh98765AAl?5>4=OhAAn>=54AEf4=7?>93AAd9Ob9AAb547AEjADlADnAE`Jf;7ACf7AEb7AEh;:987AAl?7>6=OhAAn7654AEf4?>=<;3AAd;Ob;AAb54;:9837AEj?73>2=16580:ACf:AEb:?>NlAChABbAEdAEfAEh?;:98AAlAAd9Ob9AAbOhAAn;:9876AEj<<```````````````````````````````````````````=:<;AJ`AJbAJdADlADnAE`NlAChABb543JfAAlAAdACfObAEbAAbOhAAn;:9AEdAEfAEhAEjADlADnAE`?>=<;:987NlAChABb9876543JfAAlAAdACfObAEbAAbOhAAn;:9AEdAEfAEhAEjADlADnAE`?>=<;:987NlAChABb9876543JfAAlAAdACfObAEbAAbOhAAn;:9AEdAEfAEhAEjADlADnAE`?>=<;:987NlAChABb9876212``AEl0000000000000000000000000000000000000000000000000000``````nBj11111111011111111111000000000100011111110001100011110000001","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}}}}}}`{{{j{{h{b}}}}}{{f{l}}}}`````````````````````````````````````````````````````{{{j{n}}}b}{{A`Ab}Ad}{{AfAb}Ad}{{AhAb}Ad}``{{Ab{Al{Ajc}}}{{An{Ajc}}}B`}{{Ab{Al{Bbc}}}{{An{Bbc}}}B`}{{Ab{Al{Bdc}}}{{An{Bdc}}}B`}0{{Ab{Al{Bfc}}}{{An{Bfc}}}B`}{{Ab{Al{Bhc}}}{{An{Bhc}}}B`}{{{j{Bj}}}Bl}{{{j{n}}}Bn}{{{j{C`}}}{{j{Cb}}}}{{{j{Cd}}}{{j{Cb}}}}{{{j{n}}}{{Cf{C`}}}}`{j{{j{c}}}{}}000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000{{{j{Bf}}}Bf}{{{j{Bh}}}Bh}{{j{j{Chc}}}Cj{}}0{{{j{Bd}}Ab}Bd}{{{j{Aj}}Ab}Aj}{{{j{Bb}}Ab}Bb}{{{j{Bf}}Ab}Bf}{{{j{Bh}}Ab}Bh}{{jCl}Cj}0{{{j{Bf}}{j{Bf}}}Cn}{{{j{Bh}}{j{Bh}}}Cn}``?>{{{j{{D`{ceg}}}}}{{j{i}}}BdB``{}}{{{j{{Cf{{Db{ce}}}}}}{j{{Cf{{Db{cg}}}}}}}{{Dd{i}}}BdB`B`{{`{c}}}}0{Ab{{Cf{C`}}}}{{{j{Bj}}}{{Cf{C`}}}}1{{{j{Df}}{j{{h{{Dj{{Db{cDh}}}}}}}}}{{Dd{e}}}Bd{{`{c}}}}`0`{{{j{Bf}}{j{Bf}}}Dl}{{{j{Bh}}{j{Bh}}}Dl}{{{j{{Cf{Cb}}}}}{{Dd{{D`{ceg}}}}}BdB``}{{{j{n}}}Dn}{{{j{E`}}{j{ChEb}}}Ed}{{{j{Ef}}{j{ChEb}}}Ed}{{{j{{D`{ceg}}}}{j{ChEb}}}Ed{BdEh}{B`Eh}{`Eh}}{{{j{A`}}{j{ChEb}}}Ed}0{{{j{Af}}{j{ChEb}}}Ed}0{{{j{Ah}}{j{ChEb}}}Ed}0{{{j{Bf}}{j{ChEb}}}Ed}0{{{j{Bh}}{j{ChEb}}}Ed}0{cc{}}00000000{{{d{Ej}}}Bf}1{{{d{El}}}Bh}{{{Dj{Cb}}}{{F`{cEn}}}{}}{{{j{c}}}e{}{}}000000000`{Ab{{Cf{C`}}}}000000{{{j{n}}{j{Df}}}{{Dd{{Fb{{Cf{C`}}b}}}}}}{{{j{n}}}Dl}0{{{j{Bf}}{j{Chc}}}CjFd}{{{j{Bh}}{j{Chc}}}CjFd}``{{{j{{Cf{{Db{ce}}}}}}{j{{Cf{{Db{cg}}}}}}}{{Dd{i}}}BdB`B`{{`{c}}}}0{{}c{}}000000000{nBn}{{{j{n}}{j{n}}}Dl}{jDl}000000000{{{j{{Cf{Cb}}}}}Dl}{{{j{n}}}b}`{{{j{n}}}{{Fj{{Fh{Ff}}}}}}`1{{Abc}{{Dd{{Cf{C`}}}}}Fl}{{Ab{j{c}}}{{Dd{{Cf{C`}}}}}{FnG`}}`>>>>{{{j{Bf}}{j{Bf}}}{{Fj{Cn}}}}{{{j{Bh}}{j{Bh}}}{{Fj{Cn}}}}``````{{{j{n}}}{{Fh{b}}}}{jc{}}0{jFf}0000{j{{Fj{c}}}{}}000000000{jc{}}000000000{c{{F`{e}}}{}{}}000000000{{}{{F`{c}}}{}}000000000=={jGb}000000000{AbGd}0{{{j{n}}}{{Cf{Gf}}}}{{Ab{j{{h{Aj}}}}}{{Fh{Aj}}}}{{Ab{j{{h{Bb}}}}}{{Fh{Bb}}}}{{Ab{j{{h{Bd}}}}}{{Fh{Bd}}}}0{{Ab{j{{h{Bf}}}}}{{Fh{Bf}}}}{{Ab{j{{h{Bh}}}}}{{Fh{Bh}}}}```````````{{Abccc}{{Cf{{Db{cGh}}}}}{Bd{Gl{Gj}}}}0{{{j{Gn}}}{{Al{ce}}}BdB`}{{{j{Gn}}}{{H`{ce}}}BdB`}{{{j{Gn}}}{{Hb{ce}}}BdB`}{{{j{Gn}}}{{Hd{ce}}}BdB`}{{{j{Gn}}}{{F`{{j{{h{c}}}}Af}}}Bd}{{{j{Gn}}}{{F`{{j{Ch{h{c}}}}Af}}}Bd}{{{j{Gn}}}{{j{{Cf{Cd}}}}}}{j{{j{c}}}{}}{{{j{{Hf{eg}}}}{Cf{Cb}}}{{Cf{{Db{cg}}}}}Bd{{Hj{}{{Hh{c}}}}}B`}0{{{j{Ch}}}{{j{Chc}}}{}}{{{j{Gn}}Dl}{{Dd{{Cf{{Db{ce}}}}}}}Bd{}}{{{j{Gn}}{j{{Cf{{Db{ce}}}}}}}{{Dd{Cj}}}Bd{}}{{{j{Gn}}}}{{{j{Gn}}}cB`}{cc{}}{{Ab{j{{Hf{eg}}}}}{{Cf{{Db{cg}}}}}Bd{{Hj{}{{Hh{c}}}}}B`}0{{Abe}{{Cf{{Db{cGh}}}}}Bd{{Hn{}{{Hl{c}}}}}}0{{Ab{An{ce}}}{{Cf{{Db{ce}}}}}BdB`}0{{Ab{An{{I`{c}}e}}}{{Cf{{Db{Ade}}}}}{}B`}0{{Ab{j{{h{c}}}}}{{Cf{{Db{cGh}}}}}Bd}0{{{j{c}}}e{}{}}{{Ab{Fh{c}}}{{Cf{{Db{cGh}}}}}Bd}{{Ab{j{{h{{Fh{c}}}}}}}{{F`{{Cf{{Db{cIb}}}}A`}}}Bd}0{{Ab{j{{h{{Fh{{Fh{c}}}}}}}}}{{F`{{Cf{{Db{cId}}}}A`}}}Bd}02{{{j{Gn}}e}{{Fj{{j{g}}}}}B`{{Ih{}{{If{c}}}}}Bd}{Ab{{Dd{{Cf{Ij}}}}}}{{{j{Gn}}e}{{Fj{{j{Chg}}}}}B`{{Ih{}{{If{c}}}}}Bd}{{{j{Gn}}e}{{Fj{g}}}B`{{Ih{}{{If{c}}}}}Bd}{{}c{}}{jDl}{{{j{{Cf{Cb}}}}}Dl}{{{j{Il}}}c{BdIn}}{{AbeDl}{{Cf{{Db{gc}}}}}B`{{J`{}{{If{c}}}}}Bd}0{{{j{Gn}}{Fj{c}}}{{Dd{{Cf{{Db{eg}}}}}}}J`Bd{}}{{{j{Gn}}}{{Jb{ce}}}BdB`}{{{j{Gn}}}{{Jd{ce}}}BdB`}{{{j{Gn}}c}{{Dd{{Cf{{Db{e}}}}}}}J`Bd}{{{j{Gn}}cJf}{{Dd{{Cf{{Db{e}}}}}}}J`Bd}{{{j{Gn}}c}{{Dd{Cj}}}J`}{{{j{Gn}}}{{j{{Cf{{Db{cDh}}}}}}}Bd}{{{j{Gn}}}{{An{ce}}}BdB`}{j{{Fj{c}}}{}}{jc{}}{{{j{Gn}}}{{F`{{Fh{c}}Af}}}Bd}{{{j{Gn}}}{{Dd{{Cf{{Db{ce}}}}}}}Bd{}}{{{j{Gn}}}{{Fj{{Jh{cegik}}}}}{JjBd}JlJlJlJl}{{{j{Gn}}}{{Fj{{Jn{cegik}}}}}{JjBd}JlJlJlJl}{c{{F`{e}}}{}{}}{{}{{F`{c}}}{}}{{{j{Gn}}}{{F`{{Jb{ce}}Ah}}}BdB`}{{{j{Gn}}}{{F`{{Jd{ce}}Ah}}}BdB`}{{{j{{Cf{Cb}}}}}Dl}{jGb}{AbGd}{{{j{Gn}}e}{{j{g}}}B`{{Ih{}{{If{c}}}}}Bd}{{{j{Gn}}e}{{j{Chg}}}B`{{Ih{}{{If{c}}}}}Bd}{{{j{Gn}}e}{}B`{{Ih{}{{If{c}}}}}}{{AbeDl}{{Cf{{Db{gc}}}}}B`{{J`{}{{If{c}}}}}Bd}0``````````````````{{{j{{Jb{ce}}}}}{{Al{ce}}}BdB`}{{{j{Ch{Jd{ce}}}}}{{H`{ce}}}BdB`}{{{j{{Jb{cGh}}}}}{{Kb{cK`K`}}}{JjBd}}{{{j{{Jb{cIb}}}}}{{Kb{cK`K`}}}{JjBd}}{{{j{{Jd{cIb}}}}}{{Kd{cK`K`}}}{JjBd}}{{{j{{Jd{cGh}}}}}{{Kd{cK`K`}}}{JjBd}}{{{j{{Jb{ce}}}}}{{F`{{j{{h{c}}}}Af}}}BdB`}{{{j{Ch{Jd{ce}}}}}{{F`{{j{Ch{h{c}}}}Af}}}BdB`}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{{{j{{Jb{ce}}}}}{{Jb{ce}}}BdB`}{{j{j{Chc}}}Cj{}}{{jCl}Cj}{{{j{{Jb{ce}}}}}{{j{g}}}BdB`{}}{{{j{{Jd{ce}}}}}{{j{g}}}BdB`{}}{{{j{Ch{Jb{ce}}}}}CjBdB`}{{{j{Ch{Jd{ce}}}}}CjBdB`}{{{j{{Cf{Cb}}}}}{{Dd{{Jb{ce}}}}}BdB`}{{{j{{Cf{Cb}}}}}{{Dd{{Jd{ce}}}}}BdB`}{{{j{{Jb{ce}}}}{j{ChEb}}}EdBdB`}{{{j{{Jd{ce}}}}{j{ChEb}}}EdBdB`}{{{Jd{ce}}}{{Jb{ce}}}BdB`}{cc{}}0{{{Dj{Cb}}}{{F`{cEn}}}{}}0{{{j{c}}}e{}{}}0{{{j{{Jb{ce}}}}g}{{Fj{{j{c}}}}}BdB`{{Ih{}{{If{e}}}}}}{{{j{Ch{Jd{ce}}}}g}{{Fj{{j{Chc}}}}}BdB`{{Ih{}{{If{e}}}}}}{{}c{}}0{jDl}07{{{Jd{cGh}}e}{{Dd{{Jd{cGh}}}}}BdJ`}{jc{}}{j{{Fj{c}}}{}}0{jc{}}0{{{j{{Jb{ce}}}}}{{Fj{{Jh{cgikm}}}}}{JjBd}B`JlJlJlJl}{{{j{{Jd{ce}}}}}{{Fj{{Jn{cgikm}}}}}{JjBd}B`JlJlJlJl}{c{{F`{e}}}{}{}}0{{}{{F`{c}}}{}}0{jGb}0````````{{{Kf{}{{Hl{c}}{If{e}}}}Ab}{{Cf{{Db{ce}}}}}BdB`}0{{{j{{Kh{}{{Hl{c}}{If{e}}}}}}Ab}{{Cf{{Db{ce}}}}}BdB`}0`````{{Ab{Al{{Kj{c}}e}}}{{An{{Kj{c}}e}}}KlB`}{{Ab{Al{{Kn{c}}e}}}{{An{{Kn{c}}e}}}KlB`}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{{{j{{Kj{c}}}}}{{Kj{c}}}{L`Kl}}{{{j{{Kn{c}}}}}{{Kn{c}}}{L`Kl}}{{j{j{Chc}}}Cj{}}0{{{j{{Kj{c}}}}Ab}{{Kj{c}}}Kl}{{{j{{Kn{c}}}}Ab}{{Kn{c}}}Kl}{{jCl}Cj}0{{{j{{Kj{c}}}}{j{{Kj{c}}}}}Cn{LbKl}}{{{j{{Kn{c}}}}{j{{Kn{c}}}}}Cn{LbKl}}{{{j{{Kj{c}}}}{j{{Kj{c}}}}}Dl{LdKl}}{{{j{{Kn{c}}}}{j{{Kn{c}}}}}Dl{LdKl}}{{{j{{Kj{c}}}}{j{ChEb}}}EdKl}{{{j{{Kn{c}}}}{j{ChEb}}}EdKl}{cc{}}{Lf{{Kj{c}}}Kl}{Lf{{Kn{c}}}Kl}2{{{j{c}}}e{}{}}0{Ab{{Cf{C`}}}}0{{{j{{Kj{c}}}}{j{Che}}}Cj{LhKl}Fd}{{{j{{Kn{c}}}}{j{Che}}}Cj{LhKl}Fd}{{}c{}}0{jDl}0{{{j{{Kj{c}}}}{j{{Kj{c}}}}}{{Fj{Cn}}}{LjKl}}{{{j{{Kn{c}}}}{j{{Kn{c}}}}}{{Fj{Cn}}}{LjKl}}{jc{}}0{j{{Fj{c}}}{}}0{jc{}}0{c{{F`{e}}}{}{}}0{{}{{F`{c}}}{}}0{jGb}0`{{Ab{j{{h{{Kj{c}}}}}}}{{Fh{{Kj{c}}}}}Kl}{{Ab{j{{h{{Kn{c}}}}}}}{{Fh{{Kn{c}}}}}Kl}`````````````{j{{j{c}}}{}}000000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000000{{{j{Ll}}}Ll}{{{j{Ln}}}Ln}{{{j{M`}}}M`}{{{j{Mb}}}Mb}{{{j{Md}}}Md}{{{j{Mf}}}Mf}{{{j{Mh}}}Mh}{{{j{Mj}}}Mj}{{{j{Ml}}}Ml}{{{j{Mn}}}Mn}{{{j{N`}}}N`}{{{j{Nb}}}Nb}{{{j{Nd}}}Nd}{{j{j{Chc}}}Cj{}}000000000000{{jCl}Cj}000000000000{{{j{Ll}}{j{Ll}}}Cn}{{{j{Ln}}{j{Ln}}}Cn}{{{j{M`}}{j{M`}}}Cn}{{{j{Mb}}{j{Mb}}}Cn}{{{j{Md}}{j{Md}}}Cn}{{{j{Mf}}{j{Mf}}}Cn}{{{j{Mh}}{j{Mh}}}Cn}{{{j{Mj}}{j{Mj}}}Cn}{{{j{Ml}}{j{Ml}}}Cn}{{{j{Mn}}{j{Mn}}}Cn}{{{j{N`}}{j{N`}}}Cn}{{{j{Nb}}{j{Nb}}}Cn}{{{j{Nd}}{j{Nd}}}Cn}{{{j{Ll}}{j{Ll}}}Dl}{{{j{Ln}}{j{Ln}}}Dl}{{{j{M`}}{j{M`}}}Dl}{{{j{Mb}}{j{Mb}}}Dl}{{{j{Md}}{j{Md}}}Dl}{{{j{Mf}}{j{Mf}}}Dl}{{{j{Mh}}{j{Mh}}}Dl}{{{j{Mj}}{j{Mj}}}Dl}{{{j{Ml}}{j{Ml}}}Dl}{{{j{Mn}}{j{Mn}}}Dl}{{{j{N`}}{j{N`}}}Dl}{{{j{Nb}}{j{Nb}}}Dl}{{{j{Nd}}{j{Nd}}}Dl}{{{j{Ll}}{j{ChEb}}}Ed}{{{j{Ln}}{j{ChEb}}}Ed}{{{j{M`}}{j{ChEb}}}Ed}{{{j{Mb}}{j{ChEb}}}Ed}{{{j{Md}}{j{ChEb}}}Ed}{{{j{Mf}}{j{ChEb}}}Ed}{{{j{Mh}}{j{ChEb}}}Ed}{{{j{Mj}}{j{ChEb}}}Ed}{{{j{Ml}}{j{ChEb}}}Ed}{{{j{Mn}}{j{ChEb}}}Ed}{{{j{N`}}{j{ChEb}}}Ed}{{{j{Nb}}{j{ChEb}}}Ed}{{{j{Nd}}{j{ChEb}}}Ed}{cc{}}000000000000{{{j{c}}}e{}{}}000000000000{{{j{Ll}}{j{Chc}}}CjFd}{{{j{Ln}}{j{Chc}}}CjFd}{{{j{M`}}{j{Chc}}}CjFd}{{{j{Mb}}{j{Chc}}}CjFd}{{{j{Md}}{j{Chc}}}CjFd}{{{j{Mf}}{j{Chc}}}CjFd}{{{j{Mh}}{j{Chc}}}CjFd}{{{j{Mj}}{j{Chc}}}CjFd}{{{j{Ml}}{j{Chc}}}CjFd}{{{j{Mn}}{j{Chc}}}CjFd}{{{j{N`}}{j{Chc}}}CjFd}{{{j{Nb}}{j{Chc}}}CjFd}{{{j{Nd}}{j{Chc}}}CjFd}{{}c{}}000000000000{jDl}000000000000{{{j{Ll}}{j{Ll}}}{{Fj{Cn}}}}{{{j{Ln}}{j{Ln}}}{{Fj{Cn}}}}{{{j{M`}}{j{M`}}}{{Fj{Cn}}}}{{{j{Mb}}{j{Mb}}}{{Fj{Cn}}}}{{{j{Md}}{j{Md}}}{{Fj{Cn}}}}{{{j{Mf}}{j{Mf}}}{{Fj{Cn}}}}{{{j{Mh}}{j{Mh}}}{{Fj{Cn}}}}{{{j{Mj}}{j{Mj}}}{{Fj{Cn}}}}{{{j{Ml}}{j{Ml}}}{{Fj{Cn}}}}{{{j{Mn}}{j{Mn}}}{{Fj{Cn}}}}{{{j{N`}}{j{N`}}}{{Fj{Cn}}}}{{{j{Nb}}{j{Nb}}}{{Fj{Cn}}}}{{{j{Nd}}{j{Nd}}}{{Fj{Cn}}}}{jc{}}000000000000{j{{Fj{c}}}{}}000000000000{jc{}}000000000000{c{{F`{e}}}{}{}}000000000000{{}{{F`{c}}}{}}000000000000{jGb}000000000000```{AbDl}````{{{j{Nf}}AbNhNjNl}Nn}{{{j{Nf}}AbNhNlNj}Nn}{{{j{Nf}}AbO`NlObNn}Nn}{{{j{Nf}}AbNnOb}Nn}{{{j{Nf}}AbNlOdOfNnNnObNnOh}Nn}{{{j{Nf}}AbOdOjObOhNlObOl}Nn}{{{j{Nf}}AbNnBlOnJfOhOnBnNnNnOfOf}A@`}{{{j{Nf}}AbA@`}A@`}{{{j{Nf}}AbA@`OfOf}Nn}{{{j{Nf}}AbA@`}Nn}{{{j{Nf}}AbA@`}Cj}1{{{j{Nf}}AbA@`Nn}Of}{{{j{Nf}}AbA@`}Of}{{{j{Nf}}AbA@`}Od}{{{j{Nf}}AbA@`}Bn}{{{j{Nf}}AbA@`Od}A@b}32{{{j{Nf}}AbA@`Of}Cj}444{{{j{Nf}}AbA@`OfOf}Cj}{{{j{Nf}}AbA@`Od}A@d}6{{{j{Nf}}AbA@`Of}Bl}::{{{j{Nf}}AbA@`}Bl}{{{j{Nf}}AbA@`Od}Cj}{{{j{Nf}}AbA@`Of}Nn}1000{{{j{Nf}}AbA@`}Ol}0000{{{j{Nf}}AbA@`Nn}Ol}11{{{j{Nf}}AbNnBlOnJfOhOnBn}A@`}{{{j{Nf}}AbBlOnJfOhBn}A@`}{{{j{Nf}}AbA@`Nn}Nn}{{{j{Nf}}AbA@`}Nn}5{{{j{Nf}}AbA@`Od}Nn}{{{j{Nf}}AbA@`OdOd}Nn}{{{j{Nf}}AbA@`OfOfOd}Nn}{{{j{Nf}}AbA@f}A@h}{{{j{Nf}}AbbBnA@h}Cj}{{{j{Nf}}AbA@hA@jA@l}Nn}{{{j{Nf}}AbA@j}Nn}{{{j{Nf}}AbA@hA@j}Nn}{{{j{Nf}}AbA@h}Cj}{{{j{Nf}}AbbA@h}Cj}`````{{{j{Nf}}AbA@nAA`}Nn}``{{{j{Nf}}AbBlNnBl}O`}0{{{j{Nf}}AbGjGjGjNn}O`}{{{j{Nf}}AbO`O`O`Bn}O`}22{{{j{Nf}}AbBlBlNnAAb}O`}{{{j{Nf}}AbBlNnAAd}O`}{{{j{Nf}}AbO`OdNnNn}Nn}{{{j{Nf}}AbO`OdNnNnNn}Nn}{{{j{Nf}}AbO`AAfOfNnBn}Nn}{{{j{Nf}}AbO`Nn}Nn}{{{j{Nf}}AbO`Ol}Nn}{{{j{Nf}}AbAAh}Nn}{{{j{Nf}}AbO`OfNn}O`}{{{j{Nf}}AbO`AAj}Nn}{{{j{Nf}}AbO`Od}Nn}{{{j{Nf}}AbBlOl}O`}{{{j{Nf}}AbBlBnOh}Ol}{{{j{Nf}}AbNnNn}Nn}{{{j{Nf}}AbGdGd}Ol}{{{j{Nf}}AbBnBn}Ol}{{{j{Nf}}AbBnBnOh}Ol}{{{j{Nf}}AbNnNnAAl}Nn}{{{j{Nf}}AbBlBl}Nn}{{{j{Nf}}AbO`BnAAfNn}Nn}{{{j{Nf}}AbO`AAfBn}Nn}2{{{j{Nf}}AbBlBnNn}O`}{{{j{Nf}}AbO`Oh}Nn}{{AbO`}Nn}{{{j{Nf}}AbO`}Nn}{{{j{Nf}}AbBlNnNn}O`}2{{{j{Nf}}AbO`BnNnNnNnO`}O`}{{{j{Nf}}AbNnNnOfOfOfOf}Ol}{{{j{Nf}}AbBlO`BlAAn}O`}{{{j{Nf}}AbBlO`O`Bl}O`}{{{j{Nf}}AbO`AAn}Nn}{{{j{Nf}}AbA@nA@n}A@n}{{{j{Nf}}AbOfOfNn}Nn}{{{j{Nf}}AbOdOdb}Nn}{{{j{Nf}}AbAB`AB`b}Nn}{{{j{Nf}}AbBlO`NnBl}O`}{{{j{Nf}}AbO`Nn}O`}{{{j{Nf}}AbBlBl}O`}{{{j{Nf}}AbO`AAnNn}Nn}{{{j{Nf}}AbO`Nn}Bl}{{{j{Nf}}AbO`O`}Nn}{{{j{Nf}}AbO`}O`}{{{j{Nf}}AbBlBl}Nn}{{{j{Nf}}AbBlO`}Nn}{{{j{Nf}}AbO`O`Nn}O`}0{{{j{Nf}}AbBl}Of}{{{j{Nf}}AbNnOfABb}Cj}{{{j{Nf}}AbBlNnNnBl}O`}0{{{j{Nf}}AbObNl}Nj}{{{j{Nf}}AbNjObNl}Cj}{{{j{Nf}}AbBl}Cj}{{{j{Nf}}AbO`Bn}Nn}000{{{j{Nf}}AbO`Bn}Bn}{{{j{Nf}}AbO`}Bn}{{{j{Nf}}AbNn}Bn}1{{{j{Nf}}AbBn}Bn}{{{j{Nf}}AbBnOd}Bn}2{{{j{Nf}}AbBlNnNnNn}O`}{{{j{Nf}}AbO`O`Nn}Nn}{{{j{Nf}}AbO`Nn}O`}{{{j{Nf}}AbOdOfBlBnJfOhBl}O`}{{{j{Nf}}AbOd}Nn}{{{j{Nf}}AbO`}Nn}{{{j{Nf}}AbNnOfBnNn}O`}{{{j{Nf}}AbO`}O`}0{{{j{Nf}}AbNnNn}ABd}{{{j{Nf}}AbBnBn}ABd}{{{j{Nf}}AbBlOd}Nn}3{{{j{Nf}}AbBlO`}Cj}{{{j{Nf}}AbBlO`}Nn}{{{j{Nf}}AbBlJf}O`}{{{j{Nf}}AbO`AAf}Nn}{{{j{Nf}}AbO`BnNnNnNnO`}O`}{{{j{Nf}}AbBlBnNn}O`}{{{j{Nf}}AbO`BnO`}O`}{{{j{Nf}}AbO`BnOfOf}O`}{{{j{Nf}}AbNnNnNn}O`}{{{j{Nf}}AbNnNnBnOd}O`}{{{j{Nf}}AbABfBnOfOd}O`}>{{{j{Nf}}AbO`BnOf}O`}{{{j{Nf}}AbO`Bn}O`}{{{j{Nf}}AbOdOfBnOfOd}O`}{{{j{Nf}}AbO`}O`}{{{j{Nf}}AbO`BnOlBnNnOfBlO`}Nn}{{{j{Nf}}AbBnNn}ABh}{{{j{Nf}}AbA@n}Bn}{{{j{Nf}}Ab}Nn}={{{j{Nf}}Ab}ABj}0{{{j{Nf}}Ab}O`}{{{j{Nf}}AbO`Gj}Gj}{{{j{Nf}}AbBlOf}AAf}{{{j{Nf}}AbBl}Nn}{{{j{Nf}}AbABl}Cj}{{{j{Nf}}AbO`O`}O`}{{{j{Nf}}AbNnOf}O`}{{{j{Nf}}AbO`ABn}Nn}{{{j{Nf}}AbO`OfNn}Nn}{{{j{Nf}}AbOdBn}Cj}0{{{j{Nf}}AbO`Nn}O`}{{{j{Nf}}AbO`}O`}1{{{j{Nf}}AbBlO`}O`}{{{j{Nf}}AbBlO`NnBl}O`}{{{j{Nf}}AbAC`}Cj}{{{j{Nf}}AbAC`BlNn}Cj}:{{{j{Nf}}AbO`O`Bl}O`}{{{j{Nf}}AbBlNnBl}O`}{{{j{Nf}}AbBlNnNnBl}O`}1{{{j{Nf}}AbBl}Bn}{{{j{Nf}}AbBlBl}Nn}{{{j{Nf}}AbNnNn}Nn}{{{j{Nf}}AbOfNn}Of}{{{j{Nf}}AbACbOfNnBl}O`}{{{j{Nf}}AbGdNnOfNnOfAAfNnNnO`}O`}{{{j{Nf}}AbBlJf}O`}>{{{j{Nf}}AbGdBnNnOfOfAAfNnO`}O`}{{{j{Nf}}AbBlJfBnNn}O`}{{{j{Nf}}AbBlABnJf}O`}{{{j{Nf}}AbBl}O`}{{{j{Nf}}AbO`Nn}Nn}{{{j{Nf}}AbBl}Od}{{{j{Nf}}AbO`Jf}Nn}{{{j{Nf}}AbO`Bl}Nn};{{{j{Nf}}AbBnAAfO`}O`}{{{j{Nf}}AbBlBlNnAAb}Nn}{{{j{Nf}}AbBlNnNnBl}O`}{{{j{Nf}}AbOfA@n}A@n}{{{j{Nf}}AbBnBn}Bn}{{{j{Nf}}AbBlNnBl}O`}{{{j{Nf}}AbBlO`O`}O`}{{{j{Nf}}AbBlO`O`AAn}O`}{{{j{Nf}}AbO`}Nn}{{{j{Nf}}AbO`}Of}{{{j{Nf}}AbBlJf}O`}{{{j{Nf}}AbBnNnAAl}Nn}{{{j{Nf}}AbBnNnABh}Nn}{{{j{Nf}}AbACd}Nn}{{{j{Nf}}AbBlOl}Cj}{{{j{Nf}}AbAAh}Nn}{{{j{Nf}}AbBlO`Nn}O`}{{{j{Nf}}AbBlO`}O`}{{{j{Nf}}AbBlABnNnJf}O`}{{{j{Nf}}AbBl}Nn}{{{j{Nf}}AbOfBlOfBn}Bn}{{{j{Nf}}AbBl}O`}{{{j{Nf}}AbBlNnBl}O`}{{{j{Nf}}AbAAfBnO`}O`}{{{j{Nf}}AbO`AAf}Cj}{{{j{Nf}}AbO`}O`}{{{j{Nf}}AbNnBl}AAl}{{{j{Nf}}AbBlO`ACfO`}O`}{{{j{Nf}}AbO`AAf}Nn}{{{j{Nf}}AbO`AAb}Nn}{{{j{Nf}}AbBlO`}Nn}{{{j{Nf}}AbO`}Cj}{{{j{Nf}}AbBlBnNnO`}Nn}{{{j{Nf}}AbO`}Nn}{{{j{Nf}}AbO`Nn}Cj}{{{j{Nf}}AbBlBl}Nn}0{{{j{Nf}}AbO`}Of}{{{j{Nf}}AbBlNnAAd}Nn}{{{j{Nf}}AbO`AAd}Nn}{{{j{Nf}}AbBl}O`}{{{j{Nf}}AbBlNnNnBlNn}O`}{{{j{Nf}}AbBlNnNnBl}O`}{{{j{Nf}}AbBlNnNn}O`}{{{j{Nf}}AbBlO`NnBlAAn}O`}{{{j{Nf}}AbObACh}Nj}{{{j{Nf}}AbACjObACh}Cj}{{{j{Nf}}AbBlABfOdOd}Nn}7{{{j{Nf}}AbBlJf}O`}{{{j{Nf}}AbBlNnNnNnNnBl}O`}{{{j{Nf}}AbBlABn}O`}`{{{j{Nf}}AbNn}O`}{{{j{Nf}}AbNnNn}Nn}{{{j{Nf}}AbBlNn}Cj}{{{j{Nf}}AbNn}Nn}{{{j{Nf}}AbBlBnGd}O`}{{{j{Nf}}AbO`O`O`}O`}{{{j{Nf}}AbBl}Nn}{{{j{Nf}}AbBl}Od}{{{j{Nf}}AbNnOfBnNn}O`}````````{{{j{Nf}}AbAAf}Cj}{{{j{Nf}}Ab}O`}{{{j{Nf}}Abb}AAf}{{{j{Nf}}Abbb}AAf}{{{j{Nf}}AbAAfb}AAf}{{{j{Nf}}AbAClAAfAAf}ACl}{{{j{Nf}}AbO`}O`}`````````````````````````{{{j{Nf}}Ab}AAf}{{{j{Nf}}AbNn}Cj}{{{j{Nf}}AbBn}ABl}{j{{j{c}}}{}}0{{{j{Ch}}}{{j{Chc}}}{}}0{cc{}}0{{{j{c}}}e{}{}}0{{{j{Nf}}AbACn}Gd}{{}c{}}0{jDl}0{j{{Fj{c}}}{}}0{jc{}}0{c{{F`{e}}}{}{}}0{{}{{F`{c}}}{}}0{jGb}0`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{AbBn}Of}{{AbBn}AD`}1{{AbBn}O`}{{AbBn}ADb}{BnDl}22{{AbBnOf}Cj}{{AbBn}ADd}````````````````````````````````````````````````````````````````{j{{j{c}}}{}}0000000000000000000000{{{j{Ch}}}{{j{Chc}}}{}}0000000000000000000000`````````````{{{j{ADd}}}ADd}{{{j{ABl}}}ABl}{{{j{ABn}}}ABn}{{{j{ADf}}}ADf}{{{j{A@`}}}A@`}{{{j{AD`}}}AD`}{{{j{Nh}}}Nh}{{{j{ADh}}}ADh}{{{j{A@l}}}A@l}{{{j{ADj}}}ADj}{{{j{AA`}}}AA`}`{{j{j{Chc}}}Cj{}}0000000000{{jCl}Cj}0000000000`````````````````````````````````````````````````````````````{{{j{A@`}}{j{ChEb}}}Ed}`{cc{}}0000000000000000000000{{{j{c}}}e{}{}}0000000000000000000000````````````{{}c{}}0000000000000000000000{jDl}0000000000000000000000````````````````````````````````````````````````````````````````````````````````````````````````{jc{}}0000000000{j{{Fj{c}}}{}}0000000000000000000000{jc{}}0000000000000000000000```````````````````````````````````````````````````{c{{F`{e}}}{}{}}0000000000000000000000{{}{{F`{c}}}{}}0000000000000000000000````{jGb}0000000000000000000000``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{j{{j{c}}}{}}000000000000000000{{{j{Ch}}}{{j{Chc}}}{}}000000000000000000{{{j{ADl}}}ADl}{{{j{ADn}}}ADn}{{{j{AE`}}}AE`}{{{j{Jf}}}Jf}{{{j{AAl}}}AAl}{{{j{AAd}}}AAd}{{{j{ACf}}}ACf}{{{j{Ob}}}Ob}{{{j{AEb}}}AEb}{{{j{AAb}}}AAb}{{{j{Oh}}}Oh}{{{j{AAn}}}AAn}{{{j{Nl}}}Nl}{{{j{ACh}}}ACh}{{{j{ABb}}}ABb}{{{j{AEd}}}AEd}{{{j{AEf}}}AEf}{{{j{AEh}}}AEh}{{{j{AEj}}}AEj}{{j{j{Chc}}}Cj{}}000000000000000000{{jCl}Cj}000000000000000000{{{j{AEb}}{j{AEb}}}Cn}``{{{j{Jf}}{j{Jf}}}Dl}{{{j{AAl}}{j{AAl}}}Dl}{{{j{AAd}}{j{AAd}}}Dl}{{{j{ACf}}{j{ACf}}}Dl}{{{j{Ob}}{j{Ob}}}Dl}{{{j{AEb}}{j{AEb}}}Dl}{{{j{AAb}}{j{AAb}}}Dl}{{{j{Oh}}{j{Oh}}}Dl}{{{j{AAn}}{j{AAn}}}Dl}{{{j{AEh}}{j{AEh}}}Dl}{{{j{AEj}}{j{AEj}}}Dl}{{{j{ADl}}{j{ChEb}}}Ed}{{{j{ADn}}{j{ChEb}}}Ed}{{{j{AE`}}{j{ChEb}}}Ed}{{{j{Jf}}{j{ChEb}}}Ed}{{{j{AAl}}{j{ChEb}}}Ed}{{{j{AAd}}{j{ChEb}}}Ed}{{{j{ACf}}{j{ChEb}}}Ed}{{{j{Ob}}{j{ChEb}}}Ed}{{{j{AEb}}{j{ChEb}}}Ed}{{{j{AAb}}{j{ChEb}}}Ed}{{{j{Oh}}{j{ChEb}}}Ed}{{{j{Nl}}{j{ChEb}}}Ed}{{{j{ACh}}{j{ChEb}}}Ed}{{{j{ABb}}{j{ChEb}}}Ed}{{{j{AEd}}{j{ChEb}}}Ed}{{{j{AEf}}{j{ChEb}}}Ed}{{{j{AEh}}{j{ChEb}}}Ed}{{{j{AEj}}{j{ChEb}}}Ed}{cc{}}000000000000000000{{{j{c}}}e{}{}}000000000000000000{{{j{Jf}}{j{Chc}}}CjFd}{{{j{AAl}}{j{Chc}}}CjFd}{{{j{AAd}}{j{Chc}}}CjFd}{{{j{ACf}}{j{Chc}}}CjFd}{{{j{Ob}}{j{Chc}}}CjFd}{{{j{AEb}}{j{Chc}}}CjFd}{{{j{AAb}}{j{Chc}}}CjFd}{{{j{Oh}}{j{Chc}}}CjFd}{{{j{AAn}}{j{Chc}}}CjFd}{{{j{AEh}}{j{Chc}}}CjFd}{{{j{AEj}}{j{Chc}}}CjFd}```````{{}c{}}000000000000000000{jDl}000000000000000000`````````````````````````````````````````````{{{j{AEb}}{j{AEb}}}{{Fj{Cn}}}}````````````{jc{}}000000000000000000{j{{Fj{c}}}{}}000000000000000000{jc{}}000000000000000000{c{{F`{e}}}{}{}}000000000000000000{{}{{F`{c}}}{}}000000000000000000{jGb}000000000000000000`````{{{j{AEl}}AbOdOfOfAAf}Cj}0{{{j{AEl}}AbAEnOhBlO`Bn}Nn}1111{{{j{AEl}}AbAF`AAfOdNnNnNnNnOdOdNn}O`}{{{j{AEl}}AbAF`AAfOdNnNnNnNnOdOdNnOd}O`}{{{j{AEl}}AbAEnAAfOdNnNnNnNnOdOdNnOdOd}Nn}44{{{j{AEl}}AbAEnO`O`Bl}Nn}{{{j{AEl}}AbOdNnNnO`}Nn}66666{{{j{AEl}}AbAEnBnAF`BnAAf}Nn}{{{j{AEl}}AbAEnNnAF`NnAAf}Nn}{{{j{AEl}}AbAEnAF`NnAF`}Nn}{{{j{AEl}}AbAAfb}Nn}{{{j{AEl}}AbAEnOhBlBn}Nn}{{{j{AEl}}AbNnO`Nn}Nn}{{{j{AEl}}Ab}Cj}============={{{j{AEl}}Ab}Nn}>{{{j{AEl}}AbNnO`NnNn}Nn}{j{{j{c}}}{}}{{{j{Ch}}}{{j{Chc}}}{}}{cc{}}{{{j{c}}}e{}{}}{{}c{}}{jDl}{j{{Fj{c}}}{}}{jc{}}{c{{F`{e}}}{}{}}{{}{{F`{c}}}{}}{jGb}``````{{{j{n}}}b}{{{j{Bj}}}Bl}{{{j{n}}}Bn}{{{j{n}}}{{Cf{C`}}}}{{{j{n}}}Cl}00000{{{j{Bj}}}{{Cf{C`}}}}{{{j{n}}}Dn}{{{j{n}}{j{Df}}}{{Dd{{Fb{{Cf{C`}}b}}}}}}{{{j{n}}}Dl}0000{nBn}111{{{j{Bj}}}Dl}00000000{{{j{n}}{j{n}}}Dl}111{{{j{n}}}{{Fj{Dl}}}}00<888{{{j{Bj}}}b}00{{{j{n}}}{{Fj{{Fh{Ff}}}}}}>111{{{j{n}}}Nn}00{{{j{n}}}{{Fh{b}}}}{{{j{Bj}}}{{j{{h{b}}}}}}00{{{j{Bj}}}{{j{{h{AFb}}}}}}00{{{j{n}}}{{Cf{Gf}}}}","D":"COj","p":[[1,"usize"],[1,"array"],[5,"Dim",2572],[1,"slice"],[1,"reference",null,null,1],[5,"IxDynImpl",2573],[10,"PyArrayDescrMethods",2505,2574],[5,"FromVecError",0,2575],[5,"Python",2576],[8,"PyObject",2577],[5,"NotContiguousError",0,2575],[6,"BorrowError",0,2575],[8,"Complex32",0,2578],[8,"ArrayView",2579],[8,"Array",2579],[10,"Dimension",2580],[8,"Complex64",0,2578],[10,"Element",0,2574],[5,"PyFixedString",0,2581],[5,"PyFixedUnicode",0,2581],[10,"PyUntypedArrayMethods",2505,2582],[5,"PyArrayObject",1222],[5,"PyArray_Descr",1222],[5,"PyArrayDescr",0,2574],[5,"PyAny",2583],[5,"PyUntypedArray",0,2582],[5,"Bound",2577],[0,"mut"],[1,"unit"],[1,"u8"],[6,"Ordering",2584],[5,"PyArrayLike",0,2585],[5,"PyArray",309],[8,"PyResult",2586],[1,"str"],[8,"IxDyn",0,2587],[5,"Borrowed",2577],[1,"bool"],[1,"u64"],[5,"TypeMustMatch",0,2585],[5,"Formatter",2588],[8,"Result",2588],[5,"AllowTypeChange",0,2585],[10,"Debug",2588],[8,"Py_UCS1",2589],[8,"Py_UCS4",2589],[5,"PyErr",2586],[6,"Result",2590,null,1],[1,"tuple",null,null,1],[10,"Hasher",2591],[5,"String",2592],[5,"Vec",2593],[6,"Option",2594,null,1],[10,"IntoPyObject",2595],[10,"ToPyObject",2595],[10,"Sized",2596],[5,"TypeId",2597],[5,"PyTypeObject",2598],[5,"PyType",2599],[8,"Ix1",0,2587],[1,"f64"],[10,"AsPrimitive",2600],[10,"PyArrayMethods",309],[8,"ArrayViewMut",2579],[8,"RawArrayView",2579],[8,"RawArrayViewMut",2579],[5,"ArrayBase",2579],[17,"Elem"],[10,"Data",2601],[17,"Item"],[10,"IntoIterator",2602],[5,"Py",2577],[8,"Ix2",0,2587],[8,"Ix3",0,2587],[17,"Dim"],[10,"NpyIndex",460],[5,"PyModule",2603],[10,"PyArray0Methods",309],[10,"Copy",2596],[10,"IntoDimension",2604],[5,"PyReadonlyArray",391],[5,"PyReadwriteArray",391],[6,"NPY_ORDER",1925],[8,"MatrixView",2605],[10,"Scalar",2606],[10,"Dim",2607],[8,"MatrixViewMut",2605],[5,"Dyn",2607],[8,"DMatrixView",2608],[8,"DMatrixViewMut",2608],[10,"IntoPyArray",460],[10,"ToPyArray",460],[5,"Datetime",472],[10,"Unit",472],[5,"Timedelta",472],[10,"Clone",2609],[10,"Ord",2584],[10,"PartialEq",2584],[1,"i64"],[10,"Hash",2591],[10,"PartialOrd",2584],[5,"Years",528],[5,"Months",528],[5,"Weeks",528],[5,"Days",528],[5,"Hours",528],[5,"Minutes",528],[5,"Seconds",528],[5,"Milliseconds",528],[5,"Microseconds",528],[5,"Nanoseconds",528],[5,"Picoseconds",528],[5,"Femtoseconds",528],[5,"Attoseconds",528],[5,"PyArrayAPI",808],[5,"PyArray_DatetimeMetaData",1222],[8,"npy_datetime",1925],[5,"npy_datetimestruct",1925],[8,"c_int",2610],[5,"PyObject",2611],[6,"NPY_DATETIMEUNIT",1925],[8,"c_char",2610],[8,"npy_intp",1925],[6,"NPY_CASTING",1925],[8,"Py_ssize_t",2612],[8,"npy_bool",1925],[8,"npy_uint32",1925],[5,"NpyIter",1222],[8,"NpyIter_GetMultiIndexFunc",1222],[8,"NpyIter_IterNextFunc",1222],[5,"PyArray_StringDTypeObject",1222],[8,"npy_string_allocator",1222],[8,"npy_packed_static_string",1222],[5,"npy_static_string",1222],[8,"PyArray_DTypeMeta",1222],[5,"PyArrayDTypeMeta_Spec",1222],[6,"NPY_SELECTKIND",1925],[6,"NPY_SORTKIND",1925],[8,"c_void",2610],[5,"PyArrayMultiIterObject",1222],[5,"PyArray_Chunk",1222],[6,"NPY_SCALARKIND",1925],[6,"NPY_CLIPMODE",1925],[8,"npy_ucs4",1925],[5,"npy_stride_sort_item",1925],[8,"c_uchar",2610],[6,"FILE",2613],[8,"PyArray_VectorUnaryFunc",1222],[8,"c_uint",2610],[5,"PyArray_ArrFuncs",1222],[5,"PyArray_Dims",1222],[5,"PyArrayMapIterObject",1222],[5,"PyArrayIterObject",1222],[5,"PyArray_DescrProto",1222],[6,"NPY_SEARCHSIDE",1925],[5,"npy_timedeltastruct",1925],[8,"npy_timedelta",1925],[8,"PyDataMem_EventHookFunc",1222],[6,"NpyTypes",808],[5,"NpyAuxData",1222],[8,"npy_uint64",1925],[5,"PyArray_ArrayDescr",1222],[5,"PyArrayInterface",1222],[5,"PyArray_DatetimeDTypeMetaData",1222],[5,"PyArrayMethod_Spec",1222],[5,"npy_cdouble",1925],[5,"npy_cfloat",1925],[5,"npy_clongdouble",1925],[6,"NPY_TYPES",1925],[6,"NPY_TYPECHAR",1925],[6,"NPY_TYPEKINDCHAR",1925],[6,"NPY_BYTEORDER_CHAR",1925],[6,"NPY_ARRAYMETHOD_FLAGS",1925],[5,"PyUFuncAPI",2450],[5,"PyUFuncObject",1222],[8,"PyUFuncGenericFunction",1222],[1,"isize"],[8,"PyArray_GetItemFunc",1222],[8,"PyArray_SetItemFunc",1222],[8,"PyArray_CopySwapNFunc",1222],[8,"PyArray_CopySwapFunc",1222],[8,"PyArray_NonzeroFunc",1222],[8,"PyArray_CompareFunc",1222],[8,"PyArray_ArgFunc",1222],[8,"PyArray_DotFunc",1222],[8,"PyArray_ScanFunc",1222],[8,"PyArray_FromStrFunc",1222],[8,"PyArray_FillFunc",1222],[8,"PyArray_SortFunc",1222],[8,"PyArray_ArgSortFunc",1222],[8,"PyArray_PartitionFunc",1222],[8,"PyArray_ArgPartitionFunc",1222],[8,"PyArray_FillWithScalarFunc",1222],[8,"PyArray_ScalarKindFunc",1222],[8,"PyArray_FastClipFunc",1222],[8,"PyArray_FastPutmaskFunc",1222],[8,"PyArray_FastTakeFunc",1222],[8,"PyUFunc_MaskedStridedInnerLoopFunc",1222],[8,"PyUFunc_TypeResolutionFunc",1222],[8,"PyUFunc_LegacyInnerLoopSelectionFunc",1222],[8,"PyUFunc_MaskedInnerLoopSelectionFunc",1222],[8,"npy_iter_get_dataptr_t",1222],[8,"NpyAuxData_FreeFunc",1222],[8,"NpyAuxData_CloneFunc",1222],[5,"_PyArray_DescrNumPy2",1222],[5,"PyArrayNeighborhoodIterObject",1222],[5,"PyArrayFlagsObject",1222],[8,"npy_complex128",1925],[8,"npy_complex64",1925],[8,"npy_complex256",1925]],"r":[[0,2585],[2,2575],[3,2578],[4,2578],[5,2574],[6,2575],[8,460],[9,2587],[10,2587],[11,2587],[12,2587],[13,2587],[14,2587],[15,2587],[16,2587],[17,2587],[18,2587],[19,2587],[20,2587],[21,2587],[22,2587],[23,2575],[25,460],[26,808],[27,2450],[28,309],[29,309],[30,309],[31,309],[32,309],[33,309],[34,309],[35,309],[36,309],[37,2574],[38,2574],[39,309],[40,2585],[41,2585],[42,2585],[43,2585],[44,2585],[45,2585],[46,2585],[47,2585],[48,2585],[49,309],[50,2581],[51,2581],[52,391],[53,391],[54,391],[55,391],[56,391],[57,391],[58,391],[59,391],[60,391],[61,391],[62,391],[63,391],[64,391],[65,391],[66,391],[67,391],[68,391],[69,391],[70,2582],[71,2582],[72,460],[73,460],[74,2585],[80,2579],[131,2614],[132,2614],[133,2574],[135,2574],[136,2614],[138,2614],[180,309],[195,2614],[196,2614],[2505,460],[2506,309],[2507,2574],[2508,309],[2509,2582],[2510,460]],"b":[[147,"impl-Display-for-FromVecError"],[148,"impl-Debug-for-FromVecError"],[149,"impl-Display-for-NotContiguousError"],[150,"impl-Debug-for-NotContiguousError"],[151,"impl-Display-for-BorrowError"],[152,"impl-Debug-for-BorrowError"],[153,"impl-Display-for-PyFixedString%3CN%3E"],[154,"impl-Debug-for-PyFixedString%3CN%3E"],[155,"impl-Display-for-PyFixedUnicode%3CN%3E"],[156,"impl-Debug-for-PyFixedUnicode%3CN%3E"],[411,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"],[412,"impl-PyReadonlyArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[413,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+2%5D%3E%3E"],[414,"impl-PyReadwriteArray%3C\'py,+N,+Dim%3C%5Busize;+1%5D%3E%3E"]],"c":"OjAAAAEAAAAAABgAEAAAAIUAiACLAIwAuwC8AMUA4wDmAOgA7QBCAUwBVAFWAVgBWgFcAWABYgFjAW0BhwHWAdgB","e":"OzAAAAEAAA8IQgAJAAAAGgALACgAAAAyAAAANQARAEkAAQBNAAIAUgABAFYAAQBaAAEAXgAXAHcABwCBAAIAjQACAJEADACnAAAAqQAMALcAAwDAAAEA0gAKAN4AAADgAAAA6QABAO4AAADyADwAMAEBADQBAQBKAQAATQEAAF0BAABpAQEAdgEBAHwBAQCAAQIAogEPALQBAwC8AQEAwAEEAMcBBQDeARMA8wEBAPYBBQD+AQ8ADwIBAB4CZwCTAhkAugJoACQDAAAnAwAAKQM7AGgDIgCMAwEAjwPeAHAEAQB1BFEA5wQ+AEYFtQATBiIATQY4ApkIJADRCMEAlAksAMIJAADECQcAzQkAAM8JAAA=","P":[[81,"D"],[87,""],[93,"T"],[113,""],[115,"T"],[117,""],[130,"T,D,C,Deref::Target"],[131,"T,DIN1,DIN2,OUT"],[133,""],[136,"T,OUT"],[140,""],[142,"T,D,C"],[143,""],[146,"T,D,C"],[147,""],[157,"T"],[166,""],[167,"T"],[168,""],[169,"T"],[170,"SS,SP"],[181,""],[191,"__H"],[195,"T,DIN1,DIN2,OUT"],[197,"U"],[207,""],[225,"T"],[228,""],[241,"T"],[243,""],[248,"SS"],[268,"U,T"],[278,"U"],[288,""],[320,"T"],[322,"T,D"],[326,"T"],[328,""],[329,"T"],[330,"T,S,D"],[332,"T"],[333,"U,D"],[335,""],[336,"D"],[337,"T"],[338,"T,S,D"],[340,"T,I"],[342,"T,D"],[346,"T"],[348,"SS,SP"],[349,"T"],[355,"D,,T"],[356,""],[357,"D,,T"],[358,"D,Idx,T"],[359,"U"],[360,""],[362,"T"],[363,"D,ID,T"],[365,"ID,T,D"],[366,"T,D"],[368,"ID,T"],[370,"ID"],[371,"T"],[372,"T,D"],[373,"SS"],[375,"T"],[376,"T,D"],[377,"T,R,C,RStride,CStride"],[379,"U,T"],[380,"U"],[381,"T,D"],[383,""],[386,"D,Idx,T"],[388,"D,Idx"],[389,"D,ID,T"],[409,"T,D"],[411,"N"],[415,"T,D"],[417,"T"],[421,"T,D"],[422,"T"],[423,""],[424,"T,D,Deref::Target"],[426,"T,D"],[433,"T"],[437,"SS,SP"],[439,"T,D,I"],[441,"U"],[443,""],[445,"T,D"],[446,"T,ID"],[447,"T"],[448,"SS"],[452,"N,D,R,C,RStride,CStride"],[454,"U,T"],[456,"U"],[458,""],[468,"IntoPyArray::Item,IntoPyArray::Dim"],[470,"ToPyArray::Item,ToPyArray::Dim"],[477,"U,D"],[479,"T"],[483,"U"],[485,"T"],[487,"U"],[489,""],[491,"U"],[497,"T"],[498,"U"],[500,"T"],[501,"SS,SP"],[503,""],[505,"U,__H"],[507,"U"],[509,""],[511,"U"],[513,"T"],[515,"SS"],[519,"U,T"],[521,"U"],[523,""],[526,"U"],[541,"T"],[567,""],[580,"T"],[593,""],[645,"T"],[658,"SS,SP"],[671,"__H"],[684,"U"],[697,""],[723,"T"],[736,"SS"],[762,"U,T"],[775,"U"],[788,""],[1129,"T"],[1135,"SS,SP"],[1137,""],[1138,"U"],[1140,""],[1142,"SS"],[1146,"U,T"],[1148,"U"],[1150,""],[1375,"T"],[1434,""],[1446,"T"],[1457,""],[1531,"T"],[1554,"SS,SP"],[1589,"U"],[1612,""],[1731,"T"],[1742,"SS"],[1839,"U,T"],[1862,"U"],[1889,""],[2054,"T"],[2092,""],[2111,"T"],[2130,""],[2181,"T"],[2200,"SS,SP"],[2219,"__H"],[2237,"U"],[2256,""],[2333,"T"],[2352,"SS"],[2390,"U,T"],[2409,"U"],[2428,""],[2494,"T"],[2497,"SS,SP"],[2498,"U"],[2499,""],[2500,"SS"],[2502,"U,T"],[2503,"U"],[2504,""]],"a":{"nalgebra":[377,378,411,412,413,414,452,453],"pyarray":[311,319],"pyarray0":[311],"pyarraydescr":[38,2507],"pyuntypedarray":[71,2509]}}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[57466]} \ No newline at end of file +//{"start":39,"fragment_lengths":[59749]} \ No newline at end of file diff --git a/settings.html b/settings.html index 02af8349..6e3515ef 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

    Rustdoc settings

    Back
    \ No newline at end of file +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 b6b0a2d2..1e02791e 100644 --- a/src/numpy/array.rs.html +++ b/src/numpy/array.rs.html @@ -1,4 +1,4 @@ -array.rs - source

    numpy/
    array.rs

    +array.rs - source

    numpy/
    array.rs

     1
     2
     3
    diff --git a/src/numpy/array_like.rs.html b/src/numpy/array_like.rs.html
    index 9afb29af..a02aba0e 100644
    --- a/src/numpy/array_like.rs.html
    +++ b/src/numpy/array_like.rs.html
    @@ -1,4 +1,4 @@
    -array_like.rs - source

    numpy/
    array_like.rs

    +array_like.rs - source

    numpy/
    array_like.rs

     1
     2
     3
    diff --git a/src/numpy/borrow/mod.rs.html b/src/numpy/borrow/mod.rs.html
    index 7f90b6c7..38d52073 100644
    --- a/src/numpy/borrow/mod.rs.html
    +++ b/src/numpy/borrow/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source

    numpy/borrow/
    mod.rs

    +mod.rs - source

    numpy/borrow/
    mod.rs

     1
     2
     3
    diff --git a/src/numpy/borrow/shared.rs.html b/src/numpy/borrow/shared.rs.html
    index 4aed4d77..63492a16 100644
    --- a/src/numpy/borrow/shared.rs.html
    +++ b/src/numpy/borrow/shared.rs.html
    @@ -1,4 +1,4 @@
    -shared.rs - source

    numpy/borrow/
    shared.rs

    +shared.rs - source

    numpy/borrow/
    shared.rs

     1
     2
     3
    diff --git a/src/numpy/convert.rs.html b/src/numpy/convert.rs.html
    index 7d30f179..614cba86 100644
    --- a/src/numpy/convert.rs.html
    +++ b/src/numpy/convert.rs.html
    @@ -1,4 +1,4 @@
    -convert.rs - source

    numpy/
    convert.rs

    +convert.rs - source

    numpy/
    convert.rs

     1
     2
     3
    diff --git a/src/numpy/datetime.rs.html b/src/numpy/datetime.rs.html
    index a48bcda7..792e44d5 100644
    --- a/src/numpy/datetime.rs.html
    +++ b/src/numpy/datetime.rs.html
    @@ -1,4 +1,4 @@
    -datetime.rs - source

    numpy/
    datetime.rs

    +datetime.rs - source

    numpy/
    datetime.rs

     1
     2
     3
    diff --git a/src/numpy/dtype.rs.html b/src/numpy/dtype.rs.html
    index e4c360fa..4650b294 100644
    --- a/src/numpy/dtype.rs.html
    +++ b/src/numpy/dtype.rs.html
    @@ -1,4 +1,4 @@
    -dtype.rs - source

    numpy/
    dtype.rs

    +dtype.rs - source

    numpy/
    dtype.rs

     1
     2
     3
    diff --git a/src/numpy/error.rs.html b/src/numpy/error.rs.html
    index bade2c6f..d4482a06 100644
    --- a/src/numpy/error.rs.html
    +++ b/src/numpy/error.rs.html
    @@ -1,4 +1,4 @@
    -error.rs - source

    numpy/
    error.rs

    +error.rs - source

    numpy/
    error.rs

     1
     2
     3
    diff --git a/src/numpy/lib.rs.html b/src/numpy/lib.rs.html
    index 43fa7062..09ecf52b 100644
    --- a/src/numpy/lib.rs.html
    +++ b/src/numpy/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    numpy/
    lib.rs

    +lib.rs - source

    numpy/
    lib.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/array.rs.html b/src/numpy/npyffi/array.rs.html
    index 79509496..665b6933 100644
    --- a/src/numpy/npyffi/array.rs.html
    +++ b/src/numpy/npyffi/array.rs.html
    @@ -1,4 +1,4 @@
    -array.rs - source

    numpy/npyffi/
    array.rs

    +array.rs - source

    numpy/npyffi/
    array.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/flags.rs.html b/src/numpy/npyffi/flags.rs.html
    index 56dac073..ca416168 100644
    --- a/src/numpy/npyffi/flags.rs.html
    +++ b/src/numpy/npyffi/flags.rs.html
    @@ -1,4 +1,4 @@
    -flags.rs - source

    numpy/npyffi/
    flags.rs

    +flags.rs - source

    numpy/npyffi/
    flags.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/mod.rs.html b/src/numpy/npyffi/mod.rs.html
    index 2d94719b..5f998c93 100644
    --- a/src/numpy/npyffi/mod.rs.html
    +++ b/src/numpy/npyffi/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source

    numpy/npyffi/
    mod.rs

    +mod.rs - source

    numpy/npyffi/
    mod.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/objects.rs.html b/src/numpy/npyffi/objects.rs.html
    index 784106ea..c9a3c44e 100644
    --- a/src/numpy/npyffi/objects.rs.html
    +++ b/src/numpy/npyffi/objects.rs.html
    @@ -1,4 +1,4 @@
    -objects.rs - source

    numpy/npyffi/
    objects.rs

    +objects.rs - source

    numpy/npyffi/
    objects.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/types.rs.html b/src/numpy/npyffi/types.rs.html
    index 2873ec73..0b5b8f97 100644
    --- a/src/numpy/npyffi/types.rs.html
    +++ b/src/numpy/npyffi/types.rs.html
    @@ -1,4 +1,4 @@
    -types.rs - source

    numpy/npyffi/
    types.rs

    +types.rs - source

    numpy/npyffi/
    types.rs

     1
     2
     3
    diff --git a/src/numpy/npyffi/ufunc.rs.html b/src/numpy/npyffi/ufunc.rs.html
    index 47c10bb1..79f8bbd4 100644
    --- a/src/numpy/npyffi/ufunc.rs.html
    +++ b/src/numpy/npyffi/ufunc.rs.html
    @@ -1,4 +1,4 @@
    -ufunc.rs - source

    numpy/npyffi/
    ufunc.rs

    +ufunc.rs - source

    numpy/npyffi/
    ufunc.rs

     1
     2
     3
    diff --git a/src/numpy/slice_container.rs.html b/src/numpy/slice_container.rs.html
    index 0f37d5d0..d00fb14e 100644
    --- a/src/numpy/slice_container.rs.html
    +++ b/src/numpy/slice_container.rs.html
    @@ -1,4 +1,4 @@
    -slice_container.rs - source

    numpy/
    slice_container.rs

    +slice_container.rs - source

    numpy/
    slice_container.rs

     1
     2
     3
    diff --git a/src/numpy/strings.rs.html b/src/numpy/strings.rs.html
    index 6779a41f..1e39b6ce 100644
    --- a/src/numpy/strings.rs.html
    +++ b/src/numpy/strings.rs.html
    @@ -1,4 +1,4 @@
    -strings.rs - source

    numpy/
    strings.rs

    +strings.rs - source

    numpy/
    strings.rs

     1
     2
     3
    diff --git a/src/numpy/sum_products.rs.html b/src/numpy/sum_products.rs.html
    index fa3e1562..f615c0e0 100644
    --- a/src/numpy/sum_products.rs.html
    +++ b/src/numpy/sum_products.rs.html
    @@ -1,4 +1,4 @@
    -sum_products.rs - source

    numpy/
    sum_products.rs

    +sum_products.rs - source

    numpy/
    sum_products.rs

     1
     2
     3
    diff --git a/src/numpy/untyped_array.rs.html b/src/numpy/untyped_array.rs.html
    index bd32d646..4010671d 100644
    --- a/src/numpy/untyped_array.rs.html
    +++ b/src/numpy/untyped_array.rs.html
    @@ -1,4 +1,4 @@
    -untyped_array.rs - source

    numpy/
    untyped_array.rs

    +untyped_array.rs - source

    numpy/
    untyped_array.rs

     1
     2
     3
    diff --git a/static.files/COPYRIGHT-23e9bde6c69aea69.txt b/static.files/COPYRIGHT-eb44e4cf.txt
    similarity index 100%
    rename from static.files/COPYRIGHT-23e9bde6c69aea69.txt
    rename to static.files/COPYRIGHT-eb44e4cf.txt
    diff --git a/static.files/FiraSans-LICENSE-db4b642586e02d97.txt b/static.files/FiraSans-LICENSE-05ab6dbd.txt
    similarity index 100%
    rename from static.files/FiraSans-LICENSE-db4b642586e02d97.txt
    rename to static.files/FiraSans-LICENSE-05ab6dbd.txt
    diff --git a/static.files/FiraSans-Medium-8f9a781e4970d388.woff2 b/static.files/FiraSans-Medium-e1aa3f0a.woff2
    similarity index 100%
    rename from static.files/FiraSans-Medium-8f9a781e4970d388.woff2
    rename to static.files/FiraSans-Medium-e1aa3f0a.woff2
    diff --git a/static.files/FiraSans-Regular-018c141bf0843ffd.woff2 b/static.files/FiraSans-Regular-0fe48ade.woff2
    similarity index 100%
    rename from static.files/FiraSans-Regular-018c141bf0843ffd.woff2
    rename to static.files/FiraSans-Regular-0fe48ade.woff2
    diff --git a/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt b/static.files/LICENSE-APACHE-a60eea81.txt
    similarity index 100%
    rename from static.files/LICENSE-APACHE-b91fa81cba47b86a.txt
    rename to static.files/LICENSE-APACHE-a60eea81.txt
    diff --git a/static.files/LICENSE-MIT-65090b722b3f6c56.txt b/static.files/LICENSE-MIT-23f18e03.txt
    similarity index 100%
    rename from static.files/LICENSE-MIT-65090b722b3f6c56.txt
    rename to static.files/LICENSE-MIT-23f18e03.txt
    diff --git a/static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 b/static.files/NanumBarunGothic-13b3dcba.ttf.woff2
    similarity index 100%
    rename from static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2
    rename to static.files/NanumBarunGothic-13b3dcba.ttf.woff2
    diff --git a/static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt b/static.files/NanumBarunGothic-LICENSE-a37d393b.txt
    similarity index 100%
    rename from static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt
    rename to static.files/NanumBarunGothic-LICENSE-a37d393b.txt
    diff --git a/static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 b/static.files/SourceCodePro-It-fc8b9304.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2
    rename to static.files/SourceCodePro-It-fc8b9304.ttf.woff2
    diff --git a/static.files/SourceCodePro-LICENSE-d180d465a756484a.txt b/static.files/SourceCodePro-LICENSE-67f54ca7.txt
    similarity index 100%
    rename from static.files/SourceCodePro-LICENSE-d180d465a756484a.txt
    rename to static.files/SourceCodePro-LICENSE-67f54ca7.txt
    diff --git a/static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 b/static.files/SourceCodePro-Regular-8badfe75.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2
    rename to static.files/SourceCodePro-Regular-8badfe75.ttf.woff2
    diff --git a/static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 b/static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2
    rename to static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2
    diff --git a/static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 b/static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2
    rename to static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2
    diff --git a/static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 b/static.files/SourceSerif4-It-ca3b17ed.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2
    rename to static.files/SourceSerif4-It-ca3b17ed.ttf.woff2
    diff --git a/static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md b/static.files/SourceSerif4-LICENSE-a2cfd9d5.md
    similarity index 100%
    rename from static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md
    rename to static.files/SourceSerif4-LICENSE-a2cfd9d5.md
    diff --git a/static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 b/static.files/SourceSerif4-Regular-6b053e98.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2
    rename to static.files/SourceSerif4-Regular-6b053e98.ttf.woff2
    diff --git a/static.files/favicon-2c020d218678b618.svg b/static.files/favicon-044be391.svg
    similarity index 100%
    rename from static.files/favicon-2c020d218678b618.svg
    rename to static.files/favicon-044be391.svg
    diff --git a/static.files/favicon-32x32-422f7d1d52889060.png b/static.files/favicon-32x32-6580c154.png
    similarity index 100%
    rename from static.files/favicon-32x32-422f7d1d52889060.png
    rename to static.files/favicon-32x32-6580c154.png
    diff --git a/static.files/main-f070b9041d14864c.js b/static.files/main-5f194d8c.js
    similarity index 100%
    rename from static.files/main-f070b9041d14864c.js
    rename to static.files/main-5f194d8c.js
    diff --git a/static.files/normalize-76eba96aa4d2e634.css b/static.files/normalize-9960930a.css
    similarity index 100%
    rename from static.files/normalize-76eba96aa4d2e634.css
    rename to static.files/normalize-9960930a.css
    diff --git a/static.files/noscript-0111fcff984fae8f.css b/static.files/noscript-893ab5e7.css
    similarity index 100%
    rename from static.files/noscript-0111fcff984fae8f.css
    rename to static.files/noscript-893ab5e7.css
    diff --git a/static.files/rust-logo-151179464ae7ed46.svg b/static.files/rust-logo-9a9549ea.svg
    similarity index 100%
    rename from static.files/rust-logo-151179464ae7ed46.svg
    rename to static.files/rust-logo-9a9549ea.svg
    diff --git a/static.files/rustdoc-b0742ba02757f159.css b/static.files/rustdoc-42caa33d.css
    similarity index 64%
    rename from static.files/rustdoc-b0742ba02757f159.css
    rename to static.files/rustdoc-42caa33d.css
    index 9fef311d..c1293a86 100644
    --- a/static.files/rustdoc-b0742ba02757f159.css
    +++ b/static.files/rustdoc-42caa33d.css
    @@ -8,10 +8,10 @@ xmlns="http://www.w3.org/2000/svg" aria-label="Copy to clipboard">\
     ');--copy-path-height:34px;--copy-path-width:33px;--checkmark-image:url('data:image/svg+xml,\
     \
    -');--button-left-margin:4px;--button-border-radius:2px;--toolbar-button-border-radius:6px;--code-block-border-radius:6px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;grid-area:main-heading-h1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{position:relative;display:grid;grid-template-areas:"main-heading-breadcrumbs main-heading-breadcrumbs" "main-heading-h1 main-heading-toolbar" "main-heading-sub-heading main-heading-toolbar";grid-template-columns:minmax(105px,1fr) minmax(0,max-content);grid-template-rows:minmax(25px,min-content) min-content min-content;padding-bottom:6px;margin-bottom:11px;}.rustdoc-breadcrumbs{grid-area:main-heading-breadcrumbs;line-height:1.25;display:flex;flex-wrap:wrap;align-items:end;padding-top:5px;}.rustdoc-breadcrumbs a{padding:4px 0;margin:-4px 0;z-index:1;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}.structfield{margin:0.6em 0;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,.sub-heading,span.since,a.src,rustdoc-toolbar,summary.hideme,.scraped-example-list,.rustdoc-breadcrumbs,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap .src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li,.block ul{padding:0;margin:0;list-style:none;}.block ul a{padding-left:1rem;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.hide-toc #rustdoc-toc,.hide-toc .in-crate{display:none;}.hide-modnav #rustdoc-modnav{display:none;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-radius:6px;}.rustdoc .example-wrap>.example-line-numbers,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-top-right-radius:0;border-bottom-right-radius:0;}.rustdoc .example-wrap>.example-line-numbers+pre,.rustdoc .scraped-example .rust{border-top-left-radius:0;border-bottom-left-radius:0;}.rustdoc .scraped-example{position:relative;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 10 + 10px);}.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers>pre,.rustdoc:not(.src) .scraped-example:not(.expanded) pre.rust{padding-bottom:0;overflow:auto hidden;}.rustdoc:not(.src) .scraped-example .src-line-numbers{padding-top:0;}.rustdoc:not(.src) .scraped-example.expanded .src-line-numbers{padding-bottom:0;}.rustdoc:not(.src) .example-wrap pre{overflow:auto;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap .src-line-numbers{min-width:fit-content;flex-grow:0;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;padding-right:2px;color:var(--src-line-numbers-span-color);}.rustdoc .scraped-example .example-wrap .src-line-numbers{padding:0;}.rustdoc .src-line-numbers pre{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.sub-heading{font-size:1rem;flex-grow:0;grid-area:main-heading-sub-heading;line-height:1.25;padding-bottom:4px;}.main-heading rustdoc-toolbar,.main-heading .out-of-band{grid-area:main-heading-toolbar;}rustdoc-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;min-height:60px;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap,.example-wrap .src-line-numbers{background-color:var(--code-block-background-color);border-radius:var(--code-block-border-radius);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab{display:inline-block;}.docblock li{margin-bottom:.4em;}.docblock li p:not(:last-child){margin-bottom:.3em;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 0 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 -10px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}.search-results-title+.sub-heading{color:var(--main-color);display:flex;align-items:baseline;white-space:nowrap;}#crate-search-div{position:relative;min-width:0;}#crate-search{padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml,');--button-left-margin:4px;--button-border-radius:2px;--toolbar-button-border-radius:6px;--code-block-border-radius:6px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-0fe48ade.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-e1aa3f0a.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-6b053e98.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-ca3b17ed.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-6d4fd4c0.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-8badfe75.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-fc8b9304.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-aa29a496.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-13b3dcba.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;grid-area:main-heading-h1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{position:relative;display:grid;grid-template-areas:"main-heading-breadcrumbs main-heading-breadcrumbs" "main-heading-h1 main-heading-toolbar" "main-heading-sub-heading main-heading-toolbar";grid-template-columns:minmax(105px,1fr) minmax(0,max-content);grid-template-rows:minmax(25px,min-content) min-content min-content;padding-bottom:6px;margin-bottom:15px;}.rustdoc-breadcrumbs{grid-area:main-heading-breadcrumbs;line-height:1.25;display:flex;flex-wrap:wrap;align-items:end;padding-top:5px;}.rustdoc-breadcrumbs a{padding:4px 0;margin:-4px 0;z-index:1;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}.structfield,.sub-variant-field{margin:0.6em 0;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,.sub-heading,span.since,a.src,rustdoc-toolbar,summary.hideme,.scraped-example-list,.rustdoc-breadcrumbs,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.search-results li,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header,.type-signature{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap .src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li,.block ul{padding:0;margin:0;list-style:none;}.block ul a{padding-left:1rem;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.hide-toc #rustdoc-toc,.hide-toc .in-crate{display:none;}.hide-modnav #rustdoc-modnav{display:none;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-radius:6px;}.rustdoc .example-wrap>.example-line-numbers,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-top-right-radius:0;border-bottom-right-radius:0;}.rustdoc .example-wrap>.example-line-numbers+pre,.rustdoc .scraped-example .rust{border-top-left-radius:0;border-bottom-left-radius:0;}.rustdoc .scraped-example{position:relative;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 10 + 10px);}.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers>pre,.rustdoc:not(.src) .scraped-example:not(.expanded) pre.rust{padding-bottom:0;overflow:auto hidden;}.rustdoc:not(.src) .scraped-example .src-line-numbers{padding-top:0;}.rustdoc:not(.src) .scraped-example.expanded .src-line-numbers{padding-bottom:0;}.rustdoc:not(.src) .example-wrap pre{overflow:auto;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap .src-line-numbers{min-width:fit-content;flex-grow:0;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;padding-right:2px;color:var(--src-line-numbers-span-color);}.rustdoc .scraped-example .example-wrap .src-line-numbers{padding:0;}.rustdoc .src-line-numbers pre{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.sub-heading{font-size:1rem;flex-grow:0;grid-area:main-heading-sub-heading;line-height:1.25;padding-bottom:4px;}.main-heading rustdoc-toolbar,.main-heading .out-of-band{grid-area:main-heading-toolbar;}rustdoc-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;min-height:60px;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap,.example-wrap .src-line-numbers{background-color:var(--code-block-background-color);border-radius:var(--code-block-border-radius);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab,.docblock p code{display:inline-block;}.docblock li{margin-bottom:.4em;}.docblock li p:not(:last-child){margin-bottom:.3em;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 0 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;margin-bottom:4px;}.src nav.sub{margin:0 0 -10px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}.search-results-title+.sub-heading{color:var(--main-color);display:flex;align-items:baseline;white-space:nowrap;}#crate-search-div{position:relative;min-width:0;}#crate-search{padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \
    -	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\
    +	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;margin:0;padding:0;}.search-results>a{display:grid;grid-template-areas:"search-result-name search-result-desc" "search-result-type-signature search-result-type-signature";grid-template-columns:.6fr .4fr;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);column-gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;grid-area:search-result-desc;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;grid-area:search-result-name;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.search-results .type-signature{grid-area:search-result-type-signature;white-space:pre-wrap;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\
     		\
     		');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#settings.popover{--popover-arrow-offset:202px;top:calc(100% - 16px);}#help.popover{max-width:600px;--popover-arrow-offset:118px;top:calc(100% - 16px);}#help dt{float:left;clear:left;margin-right:0.5rem;}#help dd{margin-bottom:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;padding:0 0.5rem;text-wrap-style:balance;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side{display:flex;margin-bottom:20px;}.side-by-side>div{width:50%;padding:0 20px 0 17px;}.item-info .stab{display:block;padding:3px;margin-bottom:5px;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji,.item-info .stab::before{font-size:1.25rem;}.stab .emoji{margin-right:0.3rem;}.item-info .stab::before{content:"\0";width:0;display:inline-block;color:transparent;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band,.sub-heading,rustdoc-toolbar{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}.top-doc>.docblock>.warning:first-child::before{top:20px;}.example-wrap>a.test-arrow,.example-wrap .button-holder{visibility:hidden;position:absolute;top:4px;right:4px;z-index:1;}a.test-arrow{height:var(--copy-path-height);padding:6px 4px 0 11px;}a.test-arrow::before{content:url('data:image/svg+xml,');}.example-wrap .button-holder{display:flex;}@media not (pointer:coarse){.example-wrap:hover>a.test-arrow,.example-wrap:hover>.button-holder{visibility:visible;}}.example-wrap .button-holder.keep-visible{visibility:visible;}.example-wrap .button-holder>*{background:var(--main-background-color);cursor:pointer;border-radius:var(--button-border-radius);height:var(--copy-path-height);width:var(--copy-path-width);border:0;color:var(--code-example-button-color);}.example-wrap .button-holder>*:hover{color:var(--code-example-button-hover-color);}.example-wrap .button-holder>*:not(:first-child){margin-left:var(--button-left-margin);}.example-wrap .button-holder .copy-button{padding:2px 0 0 4px;}.example-wrap .button-holder .copy-button::before,.example-wrap .test-arrow::before{filter:var(--copy-path-img-filter);}.example-wrap .button-holder .copy-button::before{content:var(--clipboard-image);}.example-wrap .button-holder .copy-button:hover::before,.example-wrap .test-arrow:hover::before{filter:var(--copy-path-img-hover-filter);}.example-wrap .button-holder .copy-button.clicked::before{content:var(--checkmark-image);padding-right:5px;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.main-heading span.since::before{content:"Since ";}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}@keyframes targetfadein{from{background-color:var(--main-background-color);}10%{background-color:var(--target-border-color);}to{background-color:var(--target-background-color);}}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}@media not (prefers-reduced-motion){:target{animation:0.65s cubic-bezier(0,0,0.1,1.0) 0.1s targetfadein;}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{margin-top:0.25rem;display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}.src-sidebar-title{position:sticky;top:0;display:flex;padding:8px 8px 0 48px;margin-bottom:7px;background:var(--sidebar-background-color);border-bottom:1px solid var(--border-color);}#settings-menu,#help-button,button#toggle-all-docs{margin-left:var(--button-left-margin);display:flex;line-height:1.25;min-width:14px;}#sidebar-button{display:none;line-height:0;}.hide-sidebar #sidebar-button,.src #sidebar-button{display:flex;margin-right:4px;position:fixed;left:6px;height:34px;width:34px;background-color:var(--main-background-color);z-index:1;}.src #sidebar-button{left:8px;z-index:calc(var(--desktop-sidebar-z-index) + 1);}.hide-sidebar .src #sidebar-button{position:static;}#settings-menu>a,#help-button>a,#sidebar-button>a,button#toggle-all-docs{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid transparent;border-radius:var(--button-border-radius);color:var(--main-color);}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:80px;border-radius:var(--toolbar-button-border-radius);}#settings-menu>a,#help-button>a{min-width:0;}#sidebar-button>a{background-color:var(--button-background-color);border-color:var(--border-color);width:33px;}#settings-menu>a:hover,#settings-menu>a:focus-visible,#help-button>a:hover,#help-button>a:focus-visible,#sidebar-button>a:hover,#sidebar-button>a:focus-visible,button#toggle-all-docs:hover,button#toggle-all-docs:focus-visible{border-color:var(--settings-button-border-focus);text-decoration:none;}#settings-menu>a:before{content:url('data:image/svg+xml,\
     		viewBox="0 0 22 22" fill="none" stroke="black">\
     		\
     		\
    -		');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}.side-by-side{flex-direction:column-reverse;}.side-by-side>div{width:auto;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}#copy-path{display:none;}rustdoc-toolbar span.label{display:none;}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:33px;}#settings.popover{--popover-arrow-offset:86px;}#help.popover{--popover-arrow-offset:48px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.src .main-heading{margin-left:8px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#sidebar-button>a:before{content:url('data:image/svg+xml,');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}.side-by-side{flex-direction:column-reverse;}.side-by-side>div{width:auto;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}#copy-path{width:0;visibility:hidden;}rustdoc-toolbar span.label{display:none;}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:33px;}#settings.popover{--popover-arrow-offset:86px;}#help.popover{--popover-arrow-offset:48px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.src .main-heading{margin-left:8px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#sidebar-button>a:before{content:url('data:image/svg+xml,\
     			\
     			\
    diff --git a/static.files/scrape-examples-46fc985aa763a438.js b/static.files/scrape-examples-d508a8a9.js
    similarity index 100%
    rename from static.files/scrape-examples-46fc985aa763a438.js
    rename to static.files/scrape-examples-d508a8a9.js
    diff --git a/static.files/search-92e6798f.js b/static.files/search-92e6798f.js
    new file mode 100644
    index 00000000..9260fd5c
    --- /dev/null
    +++ b/static.files/search-92e6798f.js
    @@ -0,0 +1,6 @@
    +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}function onEachBtwn(arr,func,funcBtwn){let skipped=true;for(const value of arr){if(!skipped){funcBtwn(value)}skipped=func(value)}}const itemTypes=["keyword","primitive","mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","associatedtype","constant","associatedconstant","union","foreigntype","existential","attr","derive","traitalias","generic",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_GENERIC=itemTypes.indexOf("generic");const TY_IMPORT=itemTypes.indexOf("import");const TY_TRAIT=itemTypes.indexOf("trait");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";const UNBOXING_LIMIT=5;const REGEX_IDENT=/\p{ID_Start}\p{ID_Continue}*|_\p{ID_Continue}+/uy;const REGEX_INVALID_TYPE_FILTER=/[^a-z]/ui;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.normalizedPathLast;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name.trim()==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/).map(x=>x.toLowerCase());if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name.toLowerCase().replace(/_/g,""),gen.bindingName.generics,);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;let left=0;let right=this.keys.length-1;while(left<=right){const mid=Math.floor((left+right)/2);const x=this.keys[mid];if(xkey){right=mid-1}else{return this.containers[mid].contains(value)}}return false}}class RoaringBitmapRun{constructor(runcount,array){this.runcount=runcount;this.array=array}contains(value){let left=0;let right=this.runcount-1;while(left<=right){const mid=Math.floor((left+right)/2);const i=mid*4;const start=this.array[i]|(this.array[i+1]<<8);const lenm1=this.array[i+2]|(this.array[i+3]<<8);if((start+lenm1)value){right=mid-1}else{return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){let left=0;let right=this.cardinality-1;while(left<=right){const mid=Math.floor((left+right)/2);const i=mid*2;const x=this.array[i]|(this.array[i+1]<<8);if(xvalue){right=mid-1}else{return true}}return false}}class RoaringBitmapBits{constructor(array){this.array=array}contains(value){return!!(this.array[value>>3]&(1<<(value&7)))}}class NameTrie{constructor(){this.children=[];this.matches=[]}insert(name,id,tailTable){this.insertSubstring(name,0,id,tailTable)}insertSubstring(name,substart,id,tailTable){const l=name.length;if(substart===l){this.matches.push(id)}else{const sb=name.charCodeAt(substart);let child;if(this.children[sb]!==undefined){child=this.children[sb]}else{child=new NameTrie();this.children[sb]=child;let sste;if(substart>=2){const tail=name.substring(substart-2,substart+1);if(tailTable.has(tail)){sste=tailTable.get(tail)}else{sste=[];tailTable.set(tail,sste)}sste.push(child)}}child.insertSubstring(name,substart+1,id,tailTable)}}search(name,tailTable){const results=new Set();this.searchSubstringPrefix(name,0,results);if(results.size=3){const levParams=name.length>=6?new Lev2TParametricDescription(name.length):new Lev1TParametricDescription(name.length);this.searchLev(name,0,levParams,results);const tail=name.substring(0,3);if(tailTable.has(tail)){for(const entry of tailTable.get(tail)){entry.searchSubstringPrefix(name,3,results)}}}return[...results]}searchSubstringPrefix(name,substart,results){const l=name.length;if(substart===l){for(const match of this.matches){results.add(match)}let unprocessedChildren=[];for(const child of this.children){if(child){unprocessedChildren.push(child)}}let nextSet=[];while(unprocessedChildren.length!==0){const next=unprocessedChildren.pop();for(const child of next.children){if(child){nextSet.push(child)}}for(const match of next.matches){results.add(match)}if(unprocessedChildren.length===0){const tmp=unprocessedChildren;unprocessedChildren=nextSet;nextSet=tmp}}}else{const sb=name.charCodeAt(substart);if(this.children[sb]!==undefined){this.children[sb].searchSubstringPrefix(name,substart+1,results)}}}searchLev(name,substart,levParams,results){const stack=[[this,0]];const n=levParams.n;while(stack.length!==0){const[trie,levState]=stack.pop();for(const[charCode,child]of trie.children.entries()){if(!child){continue}const levPos=levParams.getPosition(levState);const vector=levParams.getVector(name,charCode,levPos,Math.min(name.length,levPos+(2*n)+1),);const newLevState=levParams.transition(levState,levPos,vector,);if(newLevState>=0){stack.push([child,newLevState]);if(levParams.isAccept(newLevState)){for(const match of child.matches){results.add(match)}}}}}}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.assocTypeIdNameMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.typeNameIdOfOutput=this.buildTypeMapIndex("output",true);this.typeNameIdOfReference=this.buildTypeMapIndex("reference");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.nameTrie=new NameTrie();this.tailTable=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,paths,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,paths,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,paths,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],paths,lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,paths,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,paths,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,name:"",ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,unboxFlag:true,}}else if(pathIndex===0){result={id:null,name:"",ty:null,path:null,exactPath:null,generics,bindings,unboxFlag:true,}}else{const item=lowercasePaths[pathIndex-1];const id=this.buildTypeMapIndex(item.name,isAssocType);if(isAssocType){this.assocTypeIdNameMap.set(id,paths[pathIndex-1].name)}result={id,name:paths[pathIndex-1].name,ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,unboxFlag:item.unboxFlag,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty&&cr.name===result.name&&cr.unboxFlag===result.unboxFlag){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));output[3]+=1}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output)}}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=(paths,lowercasePaths)=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],paths,lowercasePaths,),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],paths,lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],paths,lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],paths,lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;let lastParamNames=[];let normalizedName=crate.indexOf("_")===-1?crate:crate.replace(/_/g,"");const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,paramNames:lastParamNames,id,word:crate,normalizedName,bitIndex:0,implDisambiguator:null,};this.nameTrie.insert(normalizedName,id,this.tailTable);id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const itemParamNames=new Map(crateCorpus.P);const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(paths,lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2&&elem[2]!==null){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3&&elem[3]!==null?itemPaths.get(elem[3]):path;const unboxFlag=elem.length>4&&!!elem[4];lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath,unboxFlag});paths[i]={ty,name,path,exactPath,unboxFlag}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const paramNames=itemParamNames.has(i)?itemParamNames.get(i).split(","):lastParamNames;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp)}}}}const itemParentIdx=itemParentIdxDecoder.next();normalizedName=word.indexOf("_")===-1?word:word.replace(/_/g,"");const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,paramNames,id,word,normalizedName,bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};this.nameTrie.insert(normalizedName,id,this.tailTable);id+=1;searchIndex.push(row);lastPath=row.path;lastParamNames=row.paramNames;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{userQuery,elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,hasReturnArrow:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){query.hasReturnArrow=true;break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";exactPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::";exactPath=myparent.name}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=(results,typeInfo)=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const res=buildHrefAndPath(this.searchIndex[result.id]);const obj=Object.assign({dist:result.dist,displayPath:pathSplitter(res[0]),},this.searchIndex[result.id]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);if(typeInfo!==null){obj.displayTypeSignature=this.formatDisplayTypeSignature(obj,typeInfo)}obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};this.formatDisplayTypeSignature=async(obj,typeInfo)=>{let fnInputs=null;let fnOutput=null;let mgens=null;if(typeInfo!=="elems"&&typeInfo!=="returned"){fnInputs=unifyFunctionTypes(obj.type.inputs,parsedQuery.elems,obj.type.where_clause,null,mgensScratch=>{fnOutput=unifyFunctionTypes(obj.type.output,parsedQuery.returned,obj.type.where_clause,mgensScratch,mgensOut=>{mgens=mgensOut;return true},0,);return!!fnOutput},0,)}else{const arr=typeInfo==="elems"?obj.type.inputs:obj.type.output;const highlighted=unifyFunctionTypes(arr,parsedQuery.elems,obj.type.where_clause,null,mgensOut=>{mgens=mgensOut;return true},0,);if(typeInfo==="elems"){fnInputs=highlighted}else{fnOutput=highlighted}}if(!fnInputs){fnInputs=obj.type.inputs}if(!fnOutput){fnOutput=obj.type.output}const mappedNames=new Map();const whereClause=new Map();const fnParamNames=obj.paramNames;const queryParamNames=[];const remapQuery=queryElem=>{if(queryElem.id<0){queryParamNames[-1-queryElem.id]=queryElem.name}if(queryElem.generics.length>0){queryElem.generics.forEach(remapQuery)}if(queryElem.bindings.size>0){[...queryElem.bindings.values()].flat().forEach(remapQuery)}};parsedQuery.elems.forEach(remapQuery);parsedQuery.returned.forEach(remapQuery);const pushText=(fnType,result)=>{if(!!(result.length%2)===!!fnType.highlighted){result.push("")}else if(result.length===0&&!!fnType.highlighted){result.push("");result.push("")}result[result.length-1]+=fnType.name};const writeHof=(fnType,result)=>{const hofOutput=fnType.bindings.get(this.typeNameIdOfOutput)||[];const hofInputs=fnType.generics;pushText(fnType,result);pushText({name:" (",highlighted:false},result);let needsComma=false;for(const fnType of hofInputs){if(needsComma){pushText({name:", ",highlighted:false},result)}needsComma=true;writeFn(fnType,result)}pushText({name:hofOutput.length===0?")":") -> ",highlighted:false,},result);if(hofOutput.length>1){pushText({name:"(",highlighted:false},result)}needsComma=false;for(const fnType of hofOutput){if(needsComma){pushText({name:", ",highlighted:false},result)}needsComma=true;writeFn(fnType,result)}if(hofOutput.length>1){pushText({name:")",highlighted:false},result)}};const writeSpecialPrimitive=(fnType,result)=>{if(fnType.id===this.typeNameIdOfArray||fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit){const[ob,sb]=fnType.id===this.typeNameIdOfArray||fnType.id===this.typeNameIdOfSlice?["[","]"]:["(",")"];pushText({name:ob,highlighted:fnType.highlighted},result);onEachBtwn(fnType.generics,nested=>writeFn(nested,result),()=>pushText({name:", ",highlighted:false},result),);pushText({name:sb,highlighted:fnType.highlighted},result);return true}else if(fnType.id===this.typeNameIdOfReference){pushText({name:"&",highlighted:fnType.highlighted},result);let prevHighlighted=false;onEachBtwn(fnType.generics,value=>{prevHighlighted=value.highlighted;writeFn(value,result)},value=>pushText({name:" ",highlighted:prevHighlighted&&value.highlighted,},result),);return true}else if(fnType.id===this.typeNameIdOfFn){writeHof(fnType,result);return true}return false};const writeFn=(fnType,result)=>{if(fnType.id<0){if(fnParamNames[-1-fnType.id]===""){for(const nested of fnType.generics){writeFn(nested,result)}return}else if(mgens){for(const[queryId,fnId]of mgens){if(fnId===fnType.id){mappedNames.set(queryParamNames[-1-queryId],fnParamNames[-1-fnType.id],)}}}pushText({name:fnParamNames[-1-fnType.id],highlighted:!!fnType.highlighted,},result);const where=[];onEachBtwn(fnType.generics,nested=>writeFn(nested,where),()=>pushText({name:" + ",highlighted:false},where),);if(where.length>0){whereClause.set(fnParamNames[-1-fnType.id],where)}}else{if(fnType.ty===TY_PRIMITIVE){if(writeSpecialPrimitive(fnType,result)){return}}else if(fnType.ty===TY_TRAIT&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){writeHof(fnType,result);return}pushText(fnType,result);let hasBindings=false;if(fnType.bindings.size>0){onEachBtwn(fnType.bindings,([key,values])=>{const name=this.assocTypeIdNameMap.get(key);if(values.length===1&&values[0].id<0&&`${fnType.name}::${name}`===fnParamNames[-1-values[0].id]){for(const value of values){writeFn(value,[])}return true}if(!hasBindings){hasBindings=true;pushText({name:"<",highlighted:false},result)}pushText({name,highlighted:false},result);pushText({name:values.length!==1?"=(":"=",highlighted:false,},result);onEachBtwn(values||[],value=>writeFn(value,result),()=>pushText({name:" + ",highlighted:false},result),);if(values.length!==1){pushText({name:")",highlighted:false},result)}},()=>pushText({name:", ",highlighted:false},result),)}if(fnType.generics.length>0){pushText({name:hasBindings?", ":"<",highlighted:false},result)}onEachBtwn(fnType.generics,value=>writeFn(value,result),()=>pushText({name:", ",highlighted:false},result),);if(hasBindings||fnType.generics.length>0){pushText({name:">",highlighted:false},result)}}};const type=[];onEachBtwn(fnInputs,fnType=>writeFn(fnType,type),()=>pushText({name:", ",highlighted:false},type),);pushText({name:" -> ",highlighted:false},type);onEachBtwn(fnOutput,fnType=>writeFn(fnType,type),()=>pushText({name:", ",highlighted:false},type),);return{type,mappedNames,whereClause}};const sortResults=async(results,typeInfo,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const normalizedUserQuery=parsedQuery.userQuery.toLowerCase();const isMixedCase=normalizedUserQuery!==userQuery;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;if(isMixedCase){a=(aaa.item.name!==userQuery);b=(bbb.item.name!==userQuery);if(a!==b){return a-b}}a=(aaa.word!==normalizedUserQuery);b=(bbb.word!==normalizedUserQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list,typeInfo)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return null}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return solutionCb(mgens)?fnTypesIn:null}if(!fnTypesIn||fnTypesIn.length===0){return null}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const[i,fnType]of fnTypesIn.entries()){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(queryElem.id)&&mgens.get(queryElem.id)!==fnType.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(queryElem.id,fnType.id);if(!solutionCb||solutionCb(mgensScratch)){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:whereClause[-1-fnType.id],});return highlighted}}else if(solutionCb(mgens?new Map(mgens):null)){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:unifyGenericTypes(fnType.generics,queryElem.generics,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth,)||fnType.generics,});return highlighted}}for(const[i,fnType]of fnTypesIn.entries()){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){const highlightedGenerics=unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgens,solutionCb,unboxingDepth+1,);if(highlightedGenerics){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:highlightedGenerics,});return highlighted}}else{const highlightedGenerics=unifyFunctionTypes([...Array.from(fnType.bindings.values()).flat(),...fnType.generics],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,);if(highlightedGenerics){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),});return highlighted}}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(queryElem.id)&&mgensScratch.get(queryElem.id)!==fnType.id){continue}mgensScratch.set(queryElem.id,fnType.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}let unifiedGenerics=[];let unifiedGenericsMgens=null;const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){unifiedGenerics=unifyGenericTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(unifiedGenerics!==null){unifiedGenericsMgens=simplifiedMgens;return true}}return false},unboxingDepth,);if(passesUnification){passesUnification.length=fl;passesUnification[flast]=passesUnification[i];passesUnification[i]=Object.assign({},fnType,{highlighted:true,generics:unifiedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,queryElem.bindings.has(k)?unifyFunctionTypes(v,queryElem.bindings.get(k),whereClause,unifiedGenericsMgens,solutionCb,unboxingDepth,):unifiedGenerics.splice(0,v.length)]})),});return passesUnification}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...bindings,...generics),queryElems,whereClause,mgens,solutionCb,unboxingDepth+1,);if(passesUnification){const highlightedGenerics=passesUnification.slice(i,i+generics.length+bindings.length,);const highlightedFnType=Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),});return passesUnification.toSpliced(i,generics.length+bindings.length,highlightedFnType,)}}return null}function unifyGenericTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return null}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return solutionCb(mgens)?fnTypesIn:null}if(!fnTypesIn||fnTypesIn.length===0){return null}const fnType=fnTypesIn[0];const queryElem=queryElems[0];if(unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){if(fnType.id<0&&queryElem.id<0){if(!mgens||!mgens.has(queryElem.id)||mgens.get(queryElem.id)===fnType.id){const mgensScratch=new Map(mgens);mgensScratch.set(queryElem.id,fnType.id);const fnTypesRemaining=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(fnTypesRemaining){const highlighted=[fnType,...fnTypesRemaining];highlighted[0]=Object.assign({highlighted:true,},fnType,{generics:whereClause[-1-fnType.id],});return highlighted}}}else{let unifiedGenerics;const fnTypesRemaining=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgens,mgensScratch=>{const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){unifiedGenerics=unifyGenericTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(unifiedGenerics!==null){return true}}},unboxingDepth,);if(fnTypesRemaining){const highlighted=[fnType,...fnTypesRemaining];highlighted[0]=Object.assign({highlighted:true,},fnType,{generics:unifiedGenerics||fnType.generics,});return highlighted}}}if(unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){let highlightedRemaining;if(fnType.id<0){const highlightedGenerics=unifyFunctionTypes(whereClause[(-fnType.id)-1],[queryElem],whereClause,mgens,mgensScratch=>{const hl=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(hl){highlightedRemaining=hl}return hl},unboxingDepth+1,);if(highlightedGenerics){return[Object.assign({highlighted:true,},fnType,{generics:highlightedGenerics,}),...highlightedRemaining]}}else{const highlightedGenerics=unifyGenericTypes([...Array.from(fnType.bindings.values()).flat(),...fnType.generics,],[queryElem],whereClause,mgens,mgensScratch=>{const hl=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(hl){highlightedRemaining=hl}return hl},unboxingDepth+1,);if(highlightedGenerics){return[Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),}),...highlightedRemaining]}}}return null}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn&&mgensIn.has(queryElem.id)&&mgensIn.get(queryElem.id)!==fnType.id){return false}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...binds,...simplifiedGenerics]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0){if(!whereClause){return false}return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgens,unboxingDepth,)}else if(fnType.unboxFlag&&(fnType.generics.length>0||fnType.bindings.size>0)){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&row.generics.length===0&&elem.generics.length===0&&row.bindings.size===0&&elem.bindings.size===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfHof&&elem.id!==this.typeNameIdOfTupleOrUnit){return row.id===elem.id&&typePassesFilter(elem.typeFilter,row.ty)}else{return unifyFunctionTypes([row],[elem],whereClause,mgens,()=>true,unboxingDepth,)}};const checkTypeMgensForConflict=mgens=>{if(!mgens){return true}const fnTypes=new Set();for(const[_qid,fid]of mgens){if(fnTypes.has(fid)){return false}fnTypes.add(fid)}return true};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,checkTypeMgensForConflict,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.normalizedPathLast)){elem.id=genericSymbols.get(elem.normalizedPathLast)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.normalizedPathLast,elem.id)}if(elem.typeFilter===-1&&elem.normalizedPathLast.length>=3){const maxPartDistance=Math.floor(elem.normalizedPathLast.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.normalizedPathLast,maxPartDistance,);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint)}if(parsedQuery.foundElems===1&&!parsedQuery.hasReturnArrow){const elem=parsedQuery.elems[0];const handleNameSearch=id=>{const row=this.searchIndex[id];if(!typePassesFilter(elem.typeFilter,row.ty)||(filterCrates!==null&&row.crate!==filterCrates)){return}let pathDist=0;if(elem.fullPath.length>1){pathDist=checkPath(elem.pathWithoutLast,row);if(pathDist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,row.id,id,0,0,pathDist)}}else{addIntoResults(results_others,row.id,id,row.normalizedName.indexOf(elem.normalizedPathLast),editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance,),pathDist,maxEditDistance,)}};if(elem.normalizedPathLast!==""){const last=elem.normalizedPathLast;for(const id of this.nameTrie.search(last,this.tailTable)){handleNameSearch(id)}}const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement(array.length===0&&query.error===null?"div":"ul",);if(array.length>0){output.className="search-results "+extraClass;const lis=Promise.all(array.map(async item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("span");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=` 
    \ +${item.alias} - see \ +
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ +${item.displayPath}${name}\ +
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);if(item.displayTypeSignature){const{type,mappedNames,whereClause}=await item.displayTypeSignature;const displayType=document.createElement("div");type.forEach((value,index)=>{if(index%2!==0){const highlight=document.createElement("strong");highlight.appendChild(document.createTextNode(value));displayType.appendChild(highlight)}else{displayType.appendChild(document.createTextNode(value))}});if(mappedNames.size>0||whereClause.size>0){let addWhereLineFn=()=>{const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode("where"));displayType.appendChild(line);addWhereLineFn=()=>{}};for(const[qname,name]of mappedNames){if(name===qname){continue}addWhereLineFn();const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode(` ${qname} matches `));const lineStrong=document.createElement("strong");lineStrong.appendChild(document.createTextNode(name));line.appendChild(lineStrong);displayType.appendChild(line)}for(const[name,innerType]of whereClause){if(innerType.length<=1){continue}addWhereLineFn();const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode(` ${name}: `));innerType.forEach((value,index)=>{if(index%2!==0){const highlight=document.createElement("strong");highlight.appendChild(document.createTextNode(value));line.appendChild(highlight)}else{line.appendChild(document.createTextNode(value))}});displayType.appendChild(line)}}displayType.className="type-signature";link.appendChild(displayType)}link.appendChild(description);return link}));lis.then(lis=>{for(const li of lis){output.appendChild(li)}})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return output}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;let currentTab=searchState.currentTab;if((currentTab===0&&results.others.length===0)||(currentTab===1&&results.in_args.length===0)||(currentTab===2&&results.returned.length===0)){if(results.others.length!==0){currentTab=0}else if(results.in_args.length){currentTab=1}else if(results.returned.length){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates="
    in 
    "+"
    "}let output=`
    \ +

    Results

    ${crates}
    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",results.others.length)+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",results.others.length)+makeTabHeader(1,"In Parameters",results.in_args.length)+makeTabHeader(2,"In Return Types",results.returned.length)+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,results.others.length)+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,currentTab===0),addTab(results.in_args,results.query,currentTab===1),addTab(results.returned,results.query,currentTab===2),]);const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others);resultsElem.appendChild(ret_in_args);resultsElem.appendChild(ret_returned);search.innerHTML=output;if(searchState.rustdocToolbar){search.querySelector(".main-heading").appendChild(searchState.rustdocToolbar)}const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.userQuery+"\" Search - Rust";updateSearchHistory(buildUrl(query.userQuery,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}class ParametricDescription{constructor(w,n,minErrors){this.w=w;this.n=n;this.minErrors=minErrors}isAccept(absState){const state=Math.floor(absState/(this.w+1));const offset=absState%(this.w+1);return this.w-offset+this.minErrors[state]<=this.n}getPosition(absState){return absState%(this.w+1)}getVector(name,charCode,pos,end){let vector=0;for(let i=pos;i>5;const bitStart=bitLoc&31;if(bitStart+bitsPerValue<=32){return((data[dataLoc]>>bitStart)&this.MASKS[bitsPerValue-1])}else{const part=32-bitStart;return ~~(((data[dataLoc]>>bitStart)&this.MASKS[part-1])+((data[1+dataLoc]&this.MASKS[bitsPerValue-part-1])<limit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name.trim()==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name,gen.bindingName.generics);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;for(let i=0;i=start&&value<=(start+lenm1)){return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){const l=this.cardinality*2;for(let i=0;i>3]&(1<<(value&7)))}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,}}else if(pathIndex===0){result={id:null,ty:null,path:null,exactPath:null,generics,bindings,}}else{const item=lowercasePaths[pathIndex-1];result={id:this.buildTypeMapIndex(item.name,isAssocType),ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output,fps){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));fps.add(input)}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output,fps)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output,fps)}output[3]=fps.size}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=lowercasePaths=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,id,word:crate,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),bitIndex:0,implDisambiguator:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3?itemPaths.get(elem[3]):path;lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath});paths[i]={ty,name,path,exactPath}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);const fps=new Set();for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp,fps)}}}}const itemParentIdx=itemParentIdxDecoder.next();const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,id,word,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,hasReturnArrow:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){query.hasReturnArrow=true;break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=results=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=this.searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};const sortResults=async(results,isType,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const casedUserQuery=parsedQuery.original;const isMixedCase=casedUserQuery!==userQuery;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;if(isMixedCase){a=(aaa.item.name!==casedUserQuery);b=(bbb.item.name!==casedUserQuery);if(a!==b){return a-b}}a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,queryElem.id);if(!solutionCb||solutionCb(mgensScratch)){return true}}else if(!solutionCb||solutionCb(mgens?new Map(mgens):null)){return true}}for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,0);if(unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,)){return true}}else if(unifyFunctionTypes([...fnType.generics,...Array.from(fnType.bindings.values()).flat()],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,)){return true}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==queryElem.id){continue}mgensScratch.set(fnType.id,queryElem.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return!solutionCb||solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){const passesUnification=unifyFunctionTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(passesUnification){return true}}return false},unboxingDepth,);if(passesUnification){return true}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==0){continue}mgensScratch.set(fnType.id,0)}else{mgensScratch=mgens}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...generics,...bindings),queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,);if(passesUnification){return true}}return false}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn){if(mgensIn.has(fnType.id)&&mgensIn.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgensIn.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...simplifiedGenerics,...binds]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0&&queryElem.id>=0){if(!whereClause){return false}if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}const mgensTmp=new Map(mgens);mgensTmp.set(fnType.id,null);return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgensTmp,unboxingDepth,)}else if(fnType.generics.length>0||fnType.bindings.size>0){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.bindings.size===0&&elem.bindings.size===0){if(elem.id<0&&mgens===null){return row.id<0||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth+1,)}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&typePassesFilter(elem.typeFilter,row.ty)&&elem.generics.length===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfTupleOrUnit&&elem.id!==this.typeNameIdOfHof){return row.id===elem.id||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth,)}}return unifyFunctionTypes([row],[elem],whereClause,mgens,null,unboxingDepth)};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance,){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let path_dist=0;const fullId=row.id;const tfpDist=compareTypeFingerprints(fullId,parsedQuery.typeFingerprint,);if(tfpDist!==null){const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause,null,0);const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause,null,0);if(in_args){results_in_args.max_dist=Math.max(results_in_args.max_dist||0,tfpDist);const maxDist=results_in_args.sizenormalizedIndex&&normalizedIndex!==-1)){index=normalizedIndex}if(elem.fullPath.length>1){path_dist=checkPath(elem.pathWithoutLast,row);if(path_dist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance);if(index===-1&&dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,null,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};const fps=new Set();for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}if(parsedQuery.foundElems===1&&!parsedQuery.hasReturnArrow){if(parsedQuery.elems.length===1){const elem=parsedQuery.elems[0];const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement("div");if(array.length>0){output.className="search-results "+extraClass;for(const item of array){const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ -${item.alias} - see \ -
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ -${item.displayPath}${name}\ -
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)}}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,array.length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,true),addTab(results.in_args,results.query,false),addTab(results.returned,results.query,false),]);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates="
    in 
    "+"
    "}let output=`
    \ -

    Results

    ${crates}
    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;if(searchState.rustdocToolbar){search.querySelector(".main-heading").appendChild(searchState.rustdocToolbar)}const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.original+"\" Search - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}})() \ No newline at end of file diff --git a/static.files/settings-805db61a62df4bd2.js b/static.files/settings-0f613d39.js similarity index 100% rename from static.files/settings-805db61a62df4bd2.js rename to static.files/settings-0f613d39.js diff --git a/static.files/src-script-e66d777a5a92e9b2.js b/static.files/src-script-56102188.js similarity index 100% rename from static.files/src-script-e66d777a5a92e9b2.js rename to static.files/src-script-56102188.js diff --git a/static.files/storage-1d39b6787ed640ff.js b/static.files/storage-59e33391.js similarity index 100% rename from static.files/storage-1d39b6787ed640ff.js rename to static.files/storage-59e33391.js diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js index 9d9e4e91..ba26ad74 100644 --- a/trait.impl/core/clone/trait.Clone.js +++ b/trait.impl/core/clone/trait.Clone.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Clone for NPY_ARRAYMETHOD_FLAGS"],["impl Clone for NPY_BYTEORDER_CHAR"],["impl Clone for NPY_CASTING"],["impl Clone for NPY_CLIPMODE"],["impl Clone for NPY_DATETIMEUNIT"],["impl Clone for NPY_ORDER"],["impl Clone for NPY_SCALARKIND"],["impl Clone for NPY_SEARCHSIDE"],["impl Clone for NPY_SELECTKIND"],["impl Clone for NPY_SORTKIND"],["impl Clone for NPY_TYPECHAR"],["impl Clone for NPY_TYPEKINDCHAR"],["impl Clone for NPY_TYPES"],["impl Clone for Attoseconds"],["impl Clone for Days"],["impl Clone for Femtoseconds"],["impl Clone for Hours"],["impl Clone for Microseconds"],["impl Clone for Milliseconds"],["impl Clone for Minutes"],["impl Clone for Months"],["impl Clone for Nanoseconds"],["impl Clone for Picoseconds"],["impl Clone for Seconds"],["impl Clone for Weeks"],["impl Clone for Years"],["impl Clone for NpyAuxData"],["impl Clone for NpyIter"],["impl Clone for PyArrayDTypeMeta_Spec"],["impl Clone for PyArrayInterface"],["impl Clone for PyArrayMethod_Spec"],["impl Clone for PyArray_ArrFuncs"],["impl Clone for PyArray_ArrayDescr"],["impl Clone for PyArray_DatetimeDTypeMetaData"],["impl Clone for PyArray_DatetimeMetaData"],["impl Clone for PyArray_Dims"],["impl Clone for npy_static_string"],["impl Clone for npy_cdouble"],["impl Clone for npy_cfloat"],["impl Clone for npy_clongdouble"],["impl Clone for npy_datetimestruct"],["impl Clone for npy_stride_sort_item"],["impl Clone for npy_timedeltastruct"],["impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<U: Clone + Unit> Clone for Datetime<U>"],["impl<U: Clone + Unit> Clone for Timedelta<U>"],["impl<const N: usize> Clone for PyFixedString<N>"],["impl<const N: usize> Clone for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Clone for NPY_ARRAYMETHOD_FLAGS"],["impl Clone for NPY_BYTEORDER_CHAR"],["impl Clone for NPY_CASTING"],["impl Clone for NPY_CLIPMODE"],["impl Clone for NPY_DATETIMEUNIT"],["impl Clone for NPY_ORDER"],["impl Clone for NPY_SCALARKIND"],["impl Clone for NPY_SEARCHSIDE"],["impl Clone for NPY_SELECTKIND"],["impl Clone for NPY_SORTKIND"],["impl Clone for NPY_TYPECHAR"],["impl Clone for NPY_TYPEKINDCHAR"],["impl Clone for NPY_TYPES"],["impl Clone for Attoseconds"],["impl Clone for Days"],["impl Clone for Femtoseconds"],["impl Clone for Hours"],["impl Clone for Microseconds"],["impl Clone for Milliseconds"],["impl Clone for Minutes"],["impl Clone for Months"],["impl Clone for Nanoseconds"],["impl Clone for Picoseconds"],["impl Clone for Seconds"],["impl Clone for Weeks"],["impl Clone for Years"],["impl Clone for NpyAuxData"],["impl Clone for NpyIter"],["impl Clone for PyArrayDTypeMeta_Spec"],["impl Clone for PyArrayInterface"],["impl Clone for PyArrayMethod_Spec"],["impl Clone for PyArray_ArrFuncs"],["impl Clone for PyArray_ArrayDescr"],["impl Clone for PyArray_DatetimeDTypeMetaData"],["impl Clone for PyArray_DatetimeMetaData"],["impl Clone for PyArray_Dims"],["impl Clone for npy_static_string"],["impl Clone for npy_cdouble"],["impl Clone for npy_cfloat"],["impl Clone for npy_clongdouble"],["impl Clone for npy_datetimestruct"],["impl Clone for npy_stride_sort_item"],["impl Clone for npy_timedeltastruct"],["impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<U: Clone + Unit> Clone for Datetime<U>"],["impl<U: Clone + Unit> Clone for Timedelta<U>"],["impl<const N: usize> Clone for PyFixedString<N>"],["impl<const N: usize> Clone for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js index ce0106bc..ea8a2c3d 100644 --- a/trait.impl/core/cmp/trait.Eq.js +++ b/trait.impl/core/cmp/trait.Eq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Eq for NPY_ARRAYMETHOD_FLAGS"],["impl Eq for NPY_BYTEORDER_CHAR"],["impl Eq for NPY_CASTING"],["impl Eq for NPY_CLIPMODE"],["impl Eq for NPY_DATETIMEUNIT"],["impl Eq for NPY_ORDER"],["impl Eq for NPY_SCALARKIND"],["impl Eq for NPY_SEARCHSIDE"],["impl Eq for NPY_SELECTKIND"],["impl Eq for NPY_SORTKIND"],["impl Eq for NPY_TYPES"],["impl Eq for Attoseconds"],["impl Eq for Days"],["impl Eq for Femtoseconds"],["impl Eq for Hours"],["impl Eq for Microseconds"],["impl Eq for Milliseconds"],["impl Eq for Minutes"],["impl Eq for Months"],["impl Eq for Nanoseconds"],["impl Eq for Picoseconds"],["impl Eq for Seconds"],["impl Eq for Weeks"],["impl Eq for Years"],["impl<U: Eq + Unit> Eq for Datetime<U>"],["impl<U: Eq + Unit> Eq for Timedelta<U>"],["impl<const N: usize> Eq for PyFixedString<N>"],["impl<const N: usize> Eq for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Eq for NPY_ARRAYMETHOD_FLAGS"],["impl Eq for NPY_BYTEORDER_CHAR"],["impl Eq for NPY_CASTING"],["impl Eq for NPY_CLIPMODE"],["impl Eq for NPY_DATETIMEUNIT"],["impl Eq for NPY_ORDER"],["impl Eq for NPY_SCALARKIND"],["impl Eq for NPY_SEARCHSIDE"],["impl Eq for NPY_SELECTKIND"],["impl Eq for NPY_SORTKIND"],["impl Eq for NPY_TYPES"],["impl Eq for Attoseconds"],["impl Eq for Days"],["impl Eq for Femtoseconds"],["impl Eq for Hours"],["impl Eq for Microseconds"],["impl Eq for Milliseconds"],["impl Eq for Minutes"],["impl Eq for Months"],["impl Eq for Nanoseconds"],["impl Eq for Picoseconds"],["impl Eq for Seconds"],["impl Eq for Weeks"],["impl Eq for Years"],["impl<U: Eq + Unit> Eq for Datetime<U>"],["impl<U: Eq + Unit> Eq for Timedelta<U>"],["impl<const N: usize> Eq for PyFixedString<N>"],["impl<const N: usize> Eq for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js index ad79555f..67900298 100644 --- a/trait.impl/core/cmp/trait.Ord.js +++ b/trait.impl/core/cmp/trait.Ord.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Ord for NPY_TYPES"],["impl Ord for Attoseconds"],["impl Ord for Days"],["impl Ord for Femtoseconds"],["impl Ord for Hours"],["impl Ord for Microseconds"],["impl Ord for Milliseconds"],["impl Ord for Minutes"],["impl Ord for Months"],["impl Ord for Nanoseconds"],["impl Ord for Picoseconds"],["impl Ord for Seconds"],["impl Ord for Weeks"],["impl Ord for Years"],["impl<U: Ord + Unit> Ord for Datetime<U>"],["impl<U: Ord + Unit> Ord for Timedelta<U>"],["impl<const N: usize> Ord for PyFixedString<N>"],["impl<const N: usize> Ord for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Ord for NPY_TYPES"],["impl Ord for Attoseconds"],["impl Ord for Days"],["impl Ord for Femtoseconds"],["impl Ord for Hours"],["impl Ord for Microseconds"],["impl Ord for Milliseconds"],["impl Ord for Minutes"],["impl Ord for Months"],["impl Ord for Nanoseconds"],["impl Ord for Picoseconds"],["impl Ord for Seconds"],["impl Ord for Weeks"],["impl Ord for Years"],["impl<U: Ord + Unit> Ord for Datetime<U>"],["impl<U: Ord + Unit> Ord for Timedelta<U>"],["impl<const N: usize> Ord for PyFixedString<N>"],["impl<const N: usize> Ord for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js index 59b3cfbd..b44f578f 100644 --- a/trait.impl/core/cmp/trait.PartialEq.js +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl PartialEq for NPY_ARRAYMETHOD_FLAGS"],["impl PartialEq for NPY_BYTEORDER_CHAR"],["impl PartialEq for NPY_CASTING"],["impl PartialEq for NPY_CLIPMODE"],["impl PartialEq for NPY_DATETIMEUNIT"],["impl PartialEq for NPY_ORDER"],["impl PartialEq for NPY_SCALARKIND"],["impl PartialEq for NPY_SEARCHSIDE"],["impl PartialEq for NPY_SELECTKIND"],["impl PartialEq for NPY_SORTKIND"],["impl PartialEq for NPY_TYPES"],["impl PartialEq for Attoseconds"],["impl PartialEq for Days"],["impl PartialEq for Femtoseconds"],["impl PartialEq for Hours"],["impl PartialEq for Microseconds"],["impl PartialEq for Milliseconds"],["impl PartialEq for Minutes"],["impl PartialEq for Months"],["impl PartialEq for Nanoseconds"],["impl PartialEq for Picoseconds"],["impl PartialEq for Seconds"],["impl PartialEq for Weeks"],["impl PartialEq for Years"],["impl<U: PartialEq + Unit> PartialEq for Datetime<U>"],["impl<U: PartialEq + Unit> PartialEq for Timedelta<U>"],["impl<const N: usize> PartialEq for PyFixedString<N>"],["impl<const N: usize> PartialEq for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl PartialEq for NPY_ARRAYMETHOD_FLAGS"],["impl PartialEq for NPY_BYTEORDER_CHAR"],["impl PartialEq for NPY_CASTING"],["impl PartialEq for NPY_CLIPMODE"],["impl PartialEq for NPY_DATETIMEUNIT"],["impl PartialEq for NPY_ORDER"],["impl PartialEq for NPY_SCALARKIND"],["impl PartialEq for NPY_SEARCHSIDE"],["impl PartialEq for NPY_SELECTKIND"],["impl PartialEq for NPY_SORTKIND"],["impl PartialEq for NPY_TYPES"],["impl PartialEq for Attoseconds"],["impl PartialEq for Days"],["impl PartialEq for Femtoseconds"],["impl PartialEq for Hours"],["impl PartialEq for Microseconds"],["impl PartialEq for Milliseconds"],["impl PartialEq for Minutes"],["impl PartialEq for Months"],["impl PartialEq for Nanoseconds"],["impl PartialEq for Picoseconds"],["impl PartialEq for Seconds"],["impl PartialEq for Weeks"],["impl PartialEq for Years"],["impl<U: PartialEq + Unit> PartialEq for Datetime<U>"],["impl<U: PartialEq + Unit> PartialEq for Timedelta<U>"],["impl<const N: usize> PartialEq for PyFixedString<N>"],["impl<const N: usize> PartialEq for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js index 9dbb86ef..b62ede76 100644 --- a/trait.impl/core/cmp/trait.PartialOrd.js +++ b/trait.impl/core/cmp/trait.PartialOrd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl PartialOrd for NPY_TYPES"],["impl PartialOrd for Attoseconds"],["impl PartialOrd for Days"],["impl PartialOrd for Femtoseconds"],["impl PartialOrd for Hours"],["impl PartialOrd for Microseconds"],["impl PartialOrd for Milliseconds"],["impl PartialOrd for Minutes"],["impl PartialOrd for Months"],["impl PartialOrd for Nanoseconds"],["impl PartialOrd for Picoseconds"],["impl PartialOrd for Seconds"],["impl PartialOrd for Weeks"],["impl PartialOrd for Years"],["impl<U: PartialOrd + Unit> PartialOrd for Datetime<U>"],["impl<U: PartialOrd + Unit> PartialOrd for Timedelta<U>"],["impl<const N: usize> PartialOrd for PyFixedString<N>"],["impl<const N: usize> PartialOrd for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl PartialOrd for NPY_TYPES"],["impl PartialOrd for Attoseconds"],["impl PartialOrd for Days"],["impl PartialOrd for Femtoseconds"],["impl PartialOrd for Hours"],["impl PartialOrd for Microseconds"],["impl PartialOrd for Milliseconds"],["impl PartialOrd for Minutes"],["impl PartialOrd for Months"],["impl PartialOrd for Nanoseconds"],["impl PartialOrd for Picoseconds"],["impl PartialOrd for Seconds"],["impl PartialOrd for Weeks"],["impl PartialOrd for Years"],["impl<U: PartialOrd + Unit> PartialOrd for Datetime<U>"],["impl<U: PartialOrd + Unit> PartialOrd for Timedelta<U>"],["impl<const N: usize> PartialOrd for PyFixedString<N>"],["impl<const N: usize> PartialOrd for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.AsRef.js b/trait.impl/core/convert/trait.AsRef.js index 1049bc17..bb4b8af6 100644 --- a/trait.impl/core/convert/trait.AsRef.js +++ b/trait.impl/core/convert/trait.AsRef.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl AsRef<PyAny> for PyArrayDescr"],["impl AsRef<PyAny> for PyUntypedArray"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl AsRef<PyAny> for PyArrayDescr"],["impl AsRef<PyAny> for PyUntypedArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js index bc0d1b35..3995d683 100644 --- a/trait.impl/core/convert/trait.From.js +++ b/trait.impl/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl From<BorrowError> for PyErr"],["impl From<FromVecError> for PyErr"],["impl From<NotContiguousError> for PyErr"],["impl<'py, T, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<U: Unit> From<i64> for Datetime<U>"],["impl<U: Unit> From<i64> for Timedelta<U>"],["impl<U: Unit> From<Datetime<U>> for i64"],["impl<U: Unit> From<Timedelta<U>> for i64"],["impl<const N: usize> From<[u32; N]> for PyFixedUnicode<N>"],["impl<const N: usize> From<[u8; N]> for PyFixedString<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl From<BorrowError> for PyErr"],["impl From<FromVecError> for PyErr"],["impl From<NotContiguousError> for PyErr"],["impl<'py, T, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<U: Unit> From<i64> for Datetime<U>"],["impl<U: Unit> From<i64> for Timedelta<U>"],["impl<U: Unit> From<Datetime<U>> for i64"],["impl<U: Unit> From<Timedelta<U>> for i64"],["impl<const N: usize> From<[u32; N]> for PyFixedUnicode<N>"],["impl<const N: usize> From<[u8; N]> for PyFixedString<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js index e1897e95..517e16d0 100644 --- a/trait.impl/core/error/trait.Error.js +++ b/trait.impl/core/error/trait.Error.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Error for BorrowError"],["impl Error for FromVecError"],["impl Error for NotContiguousError"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Error for BorrowError"],["impl Error for FromVecError"],["impl Error for NotContiguousError"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index 2bf4b17c..17d31ca5 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Debug for BorrowError"],["impl Debug for NPY_ARRAYMETHOD_FLAGS"],["impl Debug for NPY_BYTEORDER_CHAR"],["impl Debug for NPY_CASTING"],["impl Debug for NPY_DATETIMEUNIT"],["impl Debug for NPY_ORDER"],["impl Debug for NPY_SCALARKIND"],["impl Debug for NPY_SEARCHSIDE"],["impl Debug for NPY_SELECTKIND"],["impl Debug for NPY_SORTKIND"],["impl Debug for NPY_TYPECHAR"],["impl Debug for NPY_TYPEKINDCHAR"],["impl Debug for NPY_TYPES"],["impl Debug for Attoseconds"],["impl Debug for Days"],["impl Debug for Femtoseconds"],["impl Debug for Hours"],["impl Debug for Microseconds"],["impl Debug for Milliseconds"],["impl Debug for Minutes"],["impl Debug for Months"],["impl Debug for Nanoseconds"],["impl Debug for Picoseconds"],["impl Debug for Seconds"],["impl Debug for Weeks"],["impl Debug for Years"],["impl Debug for NpyIter"],["impl Debug for npy_cdouble"],["impl Debug for npy_cfloat"],["impl Debug for npy_clongdouble"],["impl Debug for npy_datetimestruct"],["impl Debug for npy_stride_sort_item"],["impl Debug for npy_timedeltastruct"],["impl Debug for AllowTypeChange"],["impl Debug for FromVecError"],["impl Debug for NotContiguousError"],["impl Debug for TypeMustMatch"],["impl<'py, T, D> Debug for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where\n T: Element + Debug,\n D: Dimension + Debug,\n C: Coerce + Debug,
    "],["impl<U: Unit> Debug for Datetime<U>"],["impl<U: Unit> Debug for Timedelta<U>"],["impl<const N: usize> Debug for PyFixedString<N>"],["impl<const N: usize> Debug for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Debug for BorrowError"],["impl Debug for NPY_ARRAYMETHOD_FLAGS"],["impl Debug for NPY_BYTEORDER_CHAR"],["impl Debug for NPY_CASTING"],["impl Debug for NPY_DATETIMEUNIT"],["impl Debug for NPY_ORDER"],["impl Debug for NPY_SCALARKIND"],["impl Debug for NPY_SEARCHSIDE"],["impl Debug for NPY_SELECTKIND"],["impl Debug for NPY_SORTKIND"],["impl Debug for NPY_TYPECHAR"],["impl Debug for NPY_TYPEKINDCHAR"],["impl Debug for NPY_TYPES"],["impl Debug for Attoseconds"],["impl Debug for Days"],["impl Debug for Femtoseconds"],["impl Debug for Hours"],["impl Debug for Microseconds"],["impl Debug for Milliseconds"],["impl Debug for Minutes"],["impl Debug for Months"],["impl Debug for Nanoseconds"],["impl Debug for Picoseconds"],["impl Debug for Seconds"],["impl Debug for Weeks"],["impl Debug for Years"],["impl Debug for NpyIter"],["impl Debug for npy_cdouble"],["impl Debug for npy_cfloat"],["impl Debug for npy_clongdouble"],["impl Debug for npy_datetimestruct"],["impl Debug for npy_stride_sort_item"],["impl Debug for npy_timedeltastruct"],["impl Debug for AllowTypeChange"],["impl Debug for FromVecError"],["impl Debug for NotContiguousError"],["impl Debug for TypeMustMatch"],["impl<'py, T, D> Debug for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where\n T: Element + Debug,\n D: Dimension + Debug,\n C: Coerce + Debug,
    "],["impl<U: Unit> Debug for Datetime<U>"],["impl<U: Unit> Debug for Timedelta<U>"],["impl<const N: usize> Debug for PyFixedString<N>"],["impl<const N: usize> Debug for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js index 52ce28a2..4c58c6c2 100644 --- a/trait.impl/core/fmt/trait.Display.js +++ b/trait.impl/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Display for BorrowError"],["impl Display for FromVecError"],["impl Display for NotContiguousError"],["impl<const N: usize> Display for PyFixedString<N>"],["impl<const N: usize> Display for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Display for BorrowError"],["impl Display for FromVecError"],["impl Display for NotContiguousError"],["impl<const N: usize> Display for PyFixedString<N>"],["impl<const N: usize> Display for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js index 135b30cb..803d87b3 100644 --- a/trait.impl/core/hash/trait.Hash.js +++ b/trait.impl/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Hash for NPY_ARRAYMETHOD_FLAGS"],["impl Hash for NPY_BYTEORDER_CHAR"],["impl Hash for NPY_CASTING"],["impl Hash for NPY_CLIPMODE"],["impl Hash for NPY_DATETIMEUNIT"],["impl Hash for NPY_ORDER"],["impl Hash for NPY_SCALARKIND"],["impl Hash for NPY_SEARCHSIDE"],["impl Hash for NPY_SELECTKIND"],["impl Hash for NPY_SORTKIND"],["impl Hash for NPY_TYPES"],["impl Hash for Attoseconds"],["impl Hash for Days"],["impl Hash for Femtoseconds"],["impl Hash for Hours"],["impl Hash for Microseconds"],["impl Hash for Milliseconds"],["impl Hash for Minutes"],["impl Hash for Months"],["impl Hash for Nanoseconds"],["impl Hash for Picoseconds"],["impl Hash for Seconds"],["impl Hash for Weeks"],["impl Hash for Years"],["impl<U: Hash + Unit> Hash for Datetime<U>"],["impl<U: Hash + Unit> Hash for Timedelta<U>"],["impl<const N: usize> Hash for PyFixedString<N>"],["impl<const N: usize> Hash for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Hash for NPY_ARRAYMETHOD_FLAGS"],["impl Hash for NPY_BYTEORDER_CHAR"],["impl Hash for NPY_CASTING"],["impl Hash for NPY_CLIPMODE"],["impl Hash for NPY_DATETIMEUNIT"],["impl Hash for NPY_ORDER"],["impl Hash for NPY_SCALARKIND"],["impl Hash for NPY_SEARCHSIDE"],["impl Hash for NPY_SELECTKIND"],["impl Hash for NPY_SORTKIND"],["impl Hash for NPY_TYPES"],["impl Hash for Attoseconds"],["impl Hash for Days"],["impl Hash for Femtoseconds"],["impl Hash for Hours"],["impl Hash for Microseconds"],["impl Hash for Milliseconds"],["impl Hash for Minutes"],["impl Hash for Months"],["impl Hash for Nanoseconds"],["impl Hash for Picoseconds"],["impl Hash for Seconds"],["impl Hash for Weeks"],["impl Hash for Years"],["impl<U: Hash + Unit> Hash for Datetime<U>"],["impl<U: Hash + Unit> Hash for Timedelta<U>"],["impl<const N: usize> Hash for PyFixedString<N>"],["impl<const N: usize> Hash for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js index 0cc4433b..b9ab8796 100644 --- a/trait.impl/core/marker/trait.Copy.js +++ b/trait.impl/core/marker/trait.Copy.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Copy for NPY_ARRAYMETHOD_FLAGS"],["impl Copy for NPY_BYTEORDER_CHAR"],["impl Copy for NPY_CASTING"],["impl Copy for NPY_CLIPMODE"],["impl Copy for NPY_DATETIMEUNIT"],["impl Copy for NPY_ORDER"],["impl Copy for NPY_SCALARKIND"],["impl Copy for NPY_SEARCHSIDE"],["impl Copy for NPY_SELECTKIND"],["impl Copy for NPY_SORTKIND"],["impl Copy for NPY_TYPECHAR"],["impl Copy for NPY_TYPEKINDCHAR"],["impl Copy for NPY_TYPES"],["impl Copy for Attoseconds"],["impl Copy for Days"],["impl Copy for Femtoseconds"],["impl Copy for Hours"],["impl Copy for Microseconds"],["impl Copy for Milliseconds"],["impl Copy for Minutes"],["impl Copy for Months"],["impl Copy for Nanoseconds"],["impl Copy for Picoseconds"],["impl Copy for Seconds"],["impl Copy for Weeks"],["impl Copy for Years"],["impl Copy for NpyAuxData"],["impl Copy for NpyIter"],["impl Copy for PyArrayDTypeMeta_Spec"],["impl Copy for PyArrayInterface"],["impl Copy for PyArrayMethod_Spec"],["impl Copy for PyArray_ArrFuncs"],["impl Copy for PyArray_ArrayDescr"],["impl Copy for PyArray_DatetimeDTypeMetaData"],["impl Copy for PyArray_DatetimeMetaData"],["impl Copy for PyArray_Dims"],["impl Copy for npy_static_string"],["impl Copy for npy_cdouble"],["impl Copy for npy_cfloat"],["impl Copy for npy_clongdouble"],["impl Copy for npy_datetimestruct"],["impl Copy for npy_stride_sort_item"],["impl Copy for npy_timedeltastruct"],["impl<U: Copy + Unit> Copy for Datetime<U>"],["impl<U: Copy + Unit> Copy for Timedelta<U>"],["impl<const N: usize> Copy for PyFixedString<N>"],["impl<const N: usize> Copy for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Copy for NPY_ARRAYMETHOD_FLAGS"],["impl Copy for NPY_BYTEORDER_CHAR"],["impl Copy for NPY_CASTING"],["impl Copy for NPY_CLIPMODE"],["impl Copy for NPY_DATETIMEUNIT"],["impl Copy for NPY_ORDER"],["impl Copy for NPY_SCALARKIND"],["impl Copy for NPY_SEARCHSIDE"],["impl Copy for NPY_SELECTKIND"],["impl Copy for NPY_SORTKIND"],["impl Copy for NPY_TYPECHAR"],["impl Copy for NPY_TYPEKINDCHAR"],["impl Copy for NPY_TYPES"],["impl Copy for Attoseconds"],["impl Copy for Days"],["impl Copy for Femtoseconds"],["impl Copy for Hours"],["impl Copy for Microseconds"],["impl Copy for Milliseconds"],["impl Copy for Minutes"],["impl Copy for Months"],["impl Copy for Nanoseconds"],["impl Copy for Picoseconds"],["impl Copy for Seconds"],["impl Copy for Weeks"],["impl Copy for Years"],["impl Copy for NpyAuxData"],["impl Copy for NpyIter"],["impl Copy for PyArrayDTypeMeta_Spec"],["impl Copy for PyArrayInterface"],["impl Copy for PyArrayMethod_Spec"],["impl Copy for PyArray_ArrFuncs"],["impl Copy for PyArray_ArrayDescr"],["impl Copy for PyArray_DatetimeDTypeMetaData"],["impl Copy for PyArray_DatetimeMetaData"],["impl Copy for PyArray_Dims"],["impl Copy for npy_static_string"],["impl Copy for npy_cdouble"],["impl Copy for npy_cfloat"],["impl Copy for npy_clongdouble"],["impl Copy for npy_datetimestruct"],["impl Copy for npy_stride_sort_item"],["impl Copy for npy_timedeltastruct"],["impl<U: Copy + Unit> Copy for Datetime<U>"],["impl<U: Copy + Unit> Copy for Timedelta<U>"],["impl<const N: usize> Copy for PyFixedString<N>"],["impl<const N: usize> Copy for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index b87d9e57..c04287bf 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl !Freeze for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl !Freeze for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl !Freeze for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Freeze for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Freeze for BorrowError",1,["numpy::error::BorrowError"]],["impl Freeze for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Freeze for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Freeze for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Freeze for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Freeze for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Freeze for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Freeze for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Freeze for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Freeze for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Freeze for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Freeze for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Freeze for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Freeze for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Freeze for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Freeze for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Freeze for Days",1,["numpy::datetime::units::Days"]],["impl Freeze for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Freeze for Hours",1,["numpy::datetime::units::Hours"]],["impl Freeze for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Freeze for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Freeze for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Freeze for Months",1,["numpy::datetime::units::Months"]],["impl Freeze for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Freeze for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Freeze for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Freeze for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Freeze for Years",1,["numpy::datetime::units::Years"]],["impl Freeze for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl Freeze for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Freeze for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl Freeze for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl Freeze for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl Freeze for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl Freeze for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl Freeze for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl Freeze for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl Freeze for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl Freeze for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl Freeze for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl Freeze for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl Freeze for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl Freeze for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl Freeze for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Freeze for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl Freeze for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl Freeze for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl Freeze for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl Freeze for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl Freeze for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl Freeze for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl Freeze for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Freeze for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Freeze for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Freeze for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Freeze for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Freeze for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Freeze for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Freeze for FromVecError",1,["numpy::error::FromVecError"]],["impl Freeze for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Freeze for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> Freeze for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> Freeze for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> Freeze for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Freeze for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Freeze for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Freeze for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Freeze for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Freeze for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl !Freeze for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl !Freeze for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl !Freeze for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Freeze for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Freeze for BorrowError",1,["numpy::error::BorrowError"]],["impl Freeze for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Freeze for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Freeze for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Freeze for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Freeze for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Freeze for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Freeze for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Freeze for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Freeze for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Freeze for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Freeze for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Freeze for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Freeze for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Freeze for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Freeze for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Freeze for Days",1,["numpy::datetime::units::Days"]],["impl Freeze for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Freeze for Hours",1,["numpy::datetime::units::Hours"]],["impl Freeze for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Freeze for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Freeze for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Freeze for Months",1,["numpy::datetime::units::Months"]],["impl Freeze for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Freeze for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Freeze for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Freeze for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Freeze for Years",1,["numpy::datetime::units::Years"]],["impl Freeze for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl Freeze for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Freeze for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl Freeze for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl Freeze for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl Freeze for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl Freeze for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl Freeze for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl Freeze for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl Freeze for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl Freeze for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl Freeze for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl Freeze for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl Freeze for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl Freeze for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl Freeze for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Freeze for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl Freeze for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl Freeze for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl Freeze for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl Freeze for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl Freeze for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl Freeze for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl Freeze for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Freeze for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Freeze for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Freeze for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Freeze for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Freeze for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Freeze for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Freeze for FromVecError",1,["numpy::error::FromVecError"]],["impl Freeze for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Freeze for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> Freeze for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> Freeze for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> Freeze for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Freeze for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Freeze for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Freeze for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Freeze for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Freeze for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index ced45cff..017996df 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl !Send for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl !Send for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl !Send for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl !Send for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl !Send for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl !Send for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl !Send for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl !Send for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl !Send for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl !Send for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl !Send for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl !Send for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl !Send for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl !Send for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl !Send for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl !Send for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl !Send for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl !Send for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl !Send for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl !Send for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl !Send for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl !Send for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Send for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Send for BorrowError",1,["numpy::error::BorrowError"]],["impl Send for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Send for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Send for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Send for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Send for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Send for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Send for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Send for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Send for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Send for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Send for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Send for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Send for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Send for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Send for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Send for Days",1,["numpy::datetime::units::Days"]],["impl Send for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Send for Hours",1,["numpy::datetime::units::Hours"]],["impl Send for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Send for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Send for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Send for Months",1,["numpy::datetime::units::Months"]],["impl Send for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Send for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Send for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Send for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Send for Years",1,["numpy::datetime::units::Years"]],["impl Send for PyArrayAPI"],["impl Send for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Send for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Send for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Send for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Send for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Send for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Send for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Send for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Send for PyUFuncAPI"],["impl Send for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Send for FromVecError",1,["numpy::error::FromVecError"]],["impl Send for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Send for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !Send for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !Send for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !Send for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Send for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Send for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Send for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Send for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Send for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl !Send for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl !Send for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl !Send for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl !Send for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl !Send for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl !Send for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl !Send for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl !Send for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl !Send for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl !Send for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl !Send for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl !Send for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl !Send for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl !Send for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl !Send for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl !Send for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl !Send for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl !Send for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl !Send for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl !Send for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl !Send for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl !Send for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Send for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Send for BorrowError",1,["numpy::error::BorrowError"]],["impl Send for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Send for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Send for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Send for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Send for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Send for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Send for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Send for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Send for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Send for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Send for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Send for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Send for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Send for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Send for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Send for Days",1,["numpy::datetime::units::Days"]],["impl Send for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Send for Hours",1,["numpy::datetime::units::Hours"]],["impl Send for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Send for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Send for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Send for Months",1,["numpy::datetime::units::Months"]],["impl Send for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Send for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Send for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Send for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Send for Years",1,["numpy::datetime::units::Years"]],["impl Send for PyArrayAPI"],["impl Send for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Send for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Send for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Send for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Send for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Send for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Send for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Send for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Send for PyUFuncAPI"],["impl Send for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Send for FromVecError",1,["numpy::error::FromVecError"]],["impl Send for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Send for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !Send for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !Send for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !Send for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Send for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Send for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Send for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Send for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Send for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js index ac0d970d..3d914822 100644 --- a/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl StructuralPartialEq for NPY_ARRAYMETHOD_FLAGS"],["impl StructuralPartialEq for NPY_BYTEORDER_CHAR"],["impl StructuralPartialEq for NPY_CASTING"],["impl StructuralPartialEq for NPY_CLIPMODE"],["impl StructuralPartialEq for NPY_DATETIMEUNIT"],["impl StructuralPartialEq for NPY_ORDER"],["impl StructuralPartialEq for NPY_SCALARKIND"],["impl StructuralPartialEq for NPY_SEARCHSIDE"],["impl StructuralPartialEq for NPY_SELECTKIND"],["impl StructuralPartialEq for NPY_SORTKIND"],["impl StructuralPartialEq for NPY_TYPES"],["impl StructuralPartialEq for Attoseconds"],["impl StructuralPartialEq for Days"],["impl StructuralPartialEq for Femtoseconds"],["impl StructuralPartialEq for Hours"],["impl StructuralPartialEq for Microseconds"],["impl StructuralPartialEq for Milliseconds"],["impl StructuralPartialEq for Minutes"],["impl StructuralPartialEq for Months"],["impl StructuralPartialEq for Nanoseconds"],["impl StructuralPartialEq for Picoseconds"],["impl StructuralPartialEq for Seconds"],["impl StructuralPartialEq for Weeks"],["impl StructuralPartialEq for Years"],["impl<U: Unit> StructuralPartialEq for Datetime<U>"],["impl<U: Unit> StructuralPartialEq for Timedelta<U>"],["impl<const N: usize> StructuralPartialEq for PyFixedString<N>"],["impl<const N: usize> StructuralPartialEq for PyFixedUnicode<N>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl StructuralPartialEq for NPY_ARRAYMETHOD_FLAGS"],["impl StructuralPartialEq for NPY_BYTEORDER_CHAR"],["impl StructuralPartialEq for NPY_CASTING"],["impl StructuralPartialEq for NPY_CLIPMODE"],["impl StructuralPartialEq for NPY_DATETIMEUNIT"],["impl StructuralPartialEq for NPY_ORDER"],["impl StructuralPartialEq for NPY_SCALARKIND"],["impl StructuralPartialEq for NPY_SEARCHSIDE"],["impl StructuralPartialEq for NPY_SELECTKIND"],["impl StructuralPartialEq for NPY_SORTKIND"],["impl StructuralPartialEq for NPY_TYPES"],["impl StructuralPartialEq for Attoseconds"],["impl StructuralPartialEq for Days"],["impl StructuralPartialEq for Femtoseconds"],["impl StructuralPartialEq for Hours"],["impl StructuralPartialEq for Microseconds"],["impl StructuralPartialEq for Milliseconds"],["impl StructuralPartialEq for Minutes"],["impl StructuralPartialEq for Months"],["impl StructuralPartialEq for Nanoseconds"],["impl StructuralPartialEq for Picoseconds"],["impl StructuralPartialEq for Seconds"],["impl StructuralPartialEq for Weeks"],["impl StructuralPartialEq for Years"],["impl<U: Unit> StructuralPartialEq for Datetime<U>"],["impl<U: Unit> StructuralPartialEq for Timedelta<U>"],["impl<const N: usize> StructuralPartialEq for PyFixedString<N>"],["impl<const N: usize> StructuralPartialEq for PyFixedUnicode<N>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index d28067ba..1ad5a4d9 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl !Sync for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl !Sync for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl !Sync for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl !Sync for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl !Sync for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl !Sync for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl !Sync for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl !Sync for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl !Sync for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl !Sync for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl !Sync for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl !Sync for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl !Sync for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl !Sync for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl !Sync for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl !Sync for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl !Sync for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl !Sync for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl !Sync for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl !Sync for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl !Sync for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl !Sync for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Sync for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Sync for BorrowError",1,["numpy::error::BorrowError"]],["impl Sync for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Sync for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Sync for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Sync for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Sync for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Sync for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Sync for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Sync for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Sync for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Sync for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Sync for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Sync for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Sync for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Sync for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Sync for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Sync for Days",1,["numpy::datetime::units::Days"]],["impl Sync for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Sync for Hours",1,["numpy::datetime::units::Hours"]],["impl Sync for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Sync for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Sync for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Sync for Months",1,["numpy::datetime::units::Months"]],["impl Sync for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Sync for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Sync for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Sync for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Sync for Years",1,["numpy::datetime::units::Years"]],["impl Sync for PyArrayAPI"],["impl Sync for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Sync for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Sync for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Sync for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Sync for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Sync for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Sync for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Sync for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Sync for PyUFuncAPI"],["impl Sync for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Sync for FromVecError",1,["numpy::error::FromVecError"]],["impl Sync for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Sync for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !Sync for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !Sync for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !Sync for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Sync for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Sync for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Sync for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Sync for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Sync for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl !Sync for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl !Sync for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl !Sync for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl !Sync for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl !Sync for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl !Sync for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl !Sync for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl !Sync for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl !Sync for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl !Sync for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl !Sync for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl !Sync for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl !Sync for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl !Sync for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl !Sync for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl !Sync for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl !Sync for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl !Sync for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl !Sync for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl !Sync for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl !Sync for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl !Sync for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !Sync for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Sync for BorrowError",1,["numpy::error::BorrowError"]],["impl Sync for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Sync for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Sync for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Sync for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Sync for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Sync for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Sync for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Sync for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Sync for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Sync for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Sync for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Sync for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Sync for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Sync for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Sync for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Sync for Days",1,["numpy::datetime::units::Days"]],["impl Sync for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Sync for Hours",1,["numpy::datetime::units::Hours"]],["impl Sync for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Sync for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Sync for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Sync for Months",1,["numpy::datetime::units::Months"]],["impl Sync for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Sync for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Sync for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Sync for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Sync for Years",1,["numpy::datetime::units::Years"]],["impl Sync for PyArrayAPI"],["impl Sync for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Sync for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Sync for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Sync for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Sync for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Sync for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Sync for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Sync for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Sync for PyUFuncAPI"],["impl Sync for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Sync for FromVecError",1,["numpy::error::FromVecError"]],["impl Sync for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Sync for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !Sync for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !Sync for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !Sync for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !Sync for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> Sync for Datetime<U>",1,["numpy::datetime::Datetime"]],["impl<U> Sync for Timedelta<U>",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Sync for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Sync for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js index 382aaf3d..fd250b46 100644 --- a/trait.impl/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Unpin for BorrowError",1,["numpy::error::BorrowError"]],["impl Unpin for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Unpin for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Unpin for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Unpin for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Unpin for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Unpin for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Unpin for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Unpin for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Unpin for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Unpin for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Unpin for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Unpin for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Unpin for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Unpin for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Unpin for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Unpin for Days",1,["numpy::datetime::units::Days"]],["impl Unpin for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Unpin for Hours",1,["numpy::datetime::units::Hours"]],["impl Unpin for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Unpin for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Unpin for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Unpin for Months",1,["numpy::datetime::units::Months"]],["impl Unpin for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Unpin for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Unpin for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Unpin for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Unpin for Years",1,["numpy::datetime::units::Years"]],["impl Unpin for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl Unpin for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl Unpin for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Unpin for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl Unpin for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl Unpin for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl Unpin for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl Unpin for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl Unpin for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl Unpin for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl Unpin for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl Unpin for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl Unpin for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl Unpin for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl Unpin for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl Unpin for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl Unpin for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Unpin for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl Unpin for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl Unpin for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl Unpin for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl Unpin for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl Unpin for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl Unpin for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl Unpin for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Unpin for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Unpin for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Unpin for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Unpin for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Unpin for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Unpin for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl Unpin for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Unpin for FromVecError",1,["numpy::error::FromVecError"]],["impl Unpin for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Unpin for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl Unpin for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Unpin for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> Unpin for PyReadonlyArray<'py, T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> Unpin for PyReadwriteArray<'py, T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> Unpin for PyArrayLike<'py, T, D, C>
    where\n C: Unpin,\n T: Unpin,\n D: Unpin,
    ",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> Unpin for PyArray<T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::array::PyArray"]],["impl<U> Unpin for Datetime<U>
    where\n U: Unpin,
    ",1,["numpy::datetime::Datetime"]],["impl<U> Unpin for Timedelta<U>
    where\n U: Unpin,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Unpin for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Unpin for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Unpin for BorrowError",1,["numpy::error::BorrowError"]],["impl Unpin for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl Unpin for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl Unpin for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl Unpin for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl Unpin for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl Unpin for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl Unpin for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl Unpin for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl Unpin for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl Unpin for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl Unpin for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl Unpin for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl Unpin for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl Unpin for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl Unpin for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl Unpin for Days",1,["numpy::datetime::units::Days"]],["impl Unpin for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl Unpin for Hours",1,["numpy::datetime::units::Hours"]],["impl Unpin for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl Unpin for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl Unpin for Minutes",1,["numpy::datetime::units::Minutes"]],["impl Unpin for Months",1,["numpy::datetime::units::Months"]],["impl Unpin for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl Unpin for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl Unpin for Seconds",1,["numpy::datetime::units::Seconds"]],["impl Unpin for Weeks",1,["numpy::datetime::units::Weeks"]],["impl Unpin for Years",1,["numpy::datetime::units::Years"]],["impl Unpin for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl Unpin for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl Unpin for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl Unpin for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl Unpin for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl Unpin for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl Unpin for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl Unpin for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl Unpin for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl Unpin for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl Unpin for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl Unpin for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl Unpin for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl Unpin for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl Unpin for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl Unpin for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl Unpin for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl Unpin for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl Unpin for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl Unpin for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl Unpin for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl Unpin for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl Unpin for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl Unpin for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl Unpin for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl Unpin for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl Unpin for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl Unpin for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl Unpin for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl Unpin for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl Unpin for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl Unpin for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl Unpin for FromVecError",1,["numpy::error::FromVecError"]],["impl Unpin for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl Unpin for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl Unpin for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl Unpin for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> Unpin for PyReadonlyArray<'py, T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> Unpin for PyReadwriteArray<'py, T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> Unpin for PyArrayLike<'py, T, D, C>
    where\n C: Unpin,\n T: Unpin,\n D: Unpin,
    ",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> Unpin for PyArray<T, D>
    where\n T: Unpin,\n D: Unpin,
    ",1,["numpy::array::PyArray"]],["impl<U> Unpin for Datetime<U>
    where\n U: Unpin,
    ",1,["numpy::datetime::Datetime"]],["impl<U> Unpin for Timedelta<U>
    where\n U: Unpin,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> Unpin for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> Unpin for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js index 2d4f1692..4cca0c82 100644 --- a/trait.impl/core/ops/deref/trait.Deref.js +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl Deref for PyArrayDescr"],["impl Deref for PyUntypedArray"],["impl<'py, T, D> Deref for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where\n T: Element,\n D: Dimension,\n C: Coerce,
    "]]]]); + var implementors = Object.fromEntries([["numpy",[["impl Deref for PyArrayDescr"],["impl Deref for PyUntypedArray"],["impl<'py, T, D> Deref for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where\n T: Element,\n D: Dimension,\n C: Coerce,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/drop/trait.Drop.js b/trait.impl/core/ops/drop/trait.Drop.js index c3851362..3b6ad21b 100644 --- a/trait.impl/core/ops/drop/trait.Drop.js +++ b/trait.impl/core/ops/drop/trait.Drop.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl<'py, T, D> Drop for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "]]]]); + var implementors = Object.fromEntries([["numpy",[["impl<'py, T, D> Drop for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "],["impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 37c5d324..31b6b1fa 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl !RefUnwindSafe for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl !RefUnwindSafe for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl !RefUnwindSafe for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !RefUnwindSafe for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl RefUnwindSafe for BorrowError",1,["numpy::error::BorrowError"]],["impl RefUnwindSafe for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl RefUnwindSafe for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl RefUnwindSafe for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl RefUnwindSafe for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl RefUnwindSafe for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl RefUnwindSafe for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl RefUnwindSafe for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl RefUnwindSafe for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl RefUnwindSafe for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl RefUnwindSafe for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl RefUnwindSafe for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl RefUnwindSafe for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl RefUnwindSafe for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl RefUnwindSafe for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl RefUnwindSafe for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl RefUnwindSafe for Days",1,["numpy::datetime::units::Days"]],["impl RefUnwindSafe for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl RefUnwindSafe for Hours",1,["numpy::datetime::units::Hours"]],["impl RefUnwindSafe for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl RefUnwindSafe for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl RefUnwindSafe for Minutes",1,["numpy::datetime::units::Minutes"]],["impl RefUnwindSafe for Months",1,["numpy::datetime::units::Months"]],["impl RefUnwindSafe for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl RefUnwindSafe for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl RefUnwindSafe for Seconds",1,["numpy::datetime::units::Seconds"]],["impl RefUnwindSafe for Weeks",1,["numpy::datetime::units::Weeks"]],["impl RefUnwindSafe for Years",1,["numpy::datetime::units::Years"]],["impl RefUnwindSafe for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl RefUnwindSafe for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl RefUnwindSafe for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl RefUnwindSafe for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl RefUnwindSafe for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl RefUnwindSafe for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl RefUnwindSafe for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl RefUnwindSafe for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl RefUnwindSafe for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl RefUnwindSafe for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl RefUnwindSafe for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl RefUnwindSafe for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl RefUnwindSafe for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl RefUnwindSafe for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl RefUnwindSafe for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl RefUnwindSafe for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl RefUnwindSafe for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl RefUnwindSafe for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl RefUnwindSafe for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl RefUnwindSafe for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl RefUnwindSafe for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl RefUnwindSafe for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl RefUnwindSafe for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl RefUnwindSafe for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl RefUnwindSafe for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl RefUnwindSafe for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl RefUnwindSafe for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl RefUnwindSafe for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl RefUnwindSafe for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl RefUnwindSafe for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl RefUnwindSafe for FromVecError",1,["numpy::error::FromVecError"]],["impl RefUnwindSafe for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl RefUnwindSafe for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !RefUnwindSafe for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !RefUnwindSafe for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !RefUnwindSafe for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !RefUnwindSafe for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> RefUnwindSafe for Datetime<U>
    where\n U: RefUnwindSafe,
    ",1,["numpy::datetime::Datetime"]],["impl<U> RefUnwindSafe for Timedelta<U>
    where\n U: RefUnwindSafe,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> RefUnwindSafe for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> RefUnwindSafe for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl !RefUnwindSafe for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl !RefUnwindSafe for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl !RefUnwindSafe for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl !RefUnwindSafe for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl RefUnwindSafe for BorrowError",1,["numpy::error::BorrowError"]],["impl RefUnwindSafe for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl RefUnwindSafe for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl RefUnwindSafe for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl RefUnwindSafe for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl RefUnwindSafe for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl RefUnwindSafe for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl RefUnwindSafe for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl RefUnwindSafe for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl RefUnwindSafe for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl RefUnwindSafe for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl RefUnwindSafe for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl RefUnwindSafe for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl RefUnwindSafe for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl RefUnwindSafe for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl RefUnwindSafe for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl RefUnwindSafe for Days",1,["numpy::datetime::units::Days"]],["impl RefUnwindSafe for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl RefUnwindSafe for Hours",1,["numpy::datetime::units::Hours"]],["impl RefUnwindSafe for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl RefUnwindSafe for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl RefUnwindSafe for Minutes",1,["numpy::datetime::units::Minutes"]],["impl RefUnwindSafe for Months",1,["numpy::datetime::units::Months"]],["impl RefUnwindSafe for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl RefUnwindSafe for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl RefUnwindSafe for Seconds",1,["numpy::datetime::units::Seconds"]],["impl RefUnwindSafe for Weeks",1,["numpy::datetime::units::Weeks"]],["impl RefUnwindSafe for Years",1,["numpy::datetime::units::Years"]],["impl RefUnwindSafe for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl RefUnwindSafe for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl RefUnwindSafe for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl RefUnwindSafe for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl RefUnwindSafe for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl RefUnwindSafe for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl RefUnwindSafe for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl RefUnwindSafe for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl RefUnwindSafe for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl RefUnwindSafe for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl RefUnwindSafe for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl RefUnwindSafe for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl RefUnwindSafe for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl RefUnwindSafe for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl RefUnwindSafe for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl RefUnwindSafe for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl RefUnwindSafe for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl RefUnwindSafe for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl RefUnwindSafe for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl RefUnwindSafe for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl RefUnwindSafe for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl RefUnwindSafe for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl RefUnwindSafe for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl RefUnwindSafe for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl RefUnwindSafe for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl RefUnwindSafe for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl RefUnwindSafe for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl RefUnwindSafe for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl RefUnwindSafe for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl RefUnwindSafe for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl RefUnwindSafe for FromVecError",1,["numpy::error::FromVecError"]],["impl RefUnwindSafe for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl RefUnwindSafe for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> !RefUnwindSafe for PyReadonlyArray<'py, T, D>",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> !RefUnwindSafe for PyReadwriteArray<'py, T, D>",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C = TypeMustMatch> !RefUnwindSafe for PyArrayLike<'py, T, D, C>",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> !RefUnwindSafe for PyArray<T, D>",1,["numpy::array::PyArray"]],["impl<U> RefUnwindSafe for Datetime<U>
    where\n U: RefUnwindSafe,
    ",1,["numpy::datetime::Datetime"]],["impl<U> RefUnwindSafe for Timedelta<U>
    where\n U: RefUnwindSafe,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> RefUnwindSafe for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> RefUnwindSafe for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index 899dc1ac..b7340af3 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl UnwindSafe for BorrowError",1,["numpy::error::BorrowError"]],["impl UnwindSafe for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl UnwindSafe for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl UnwindSafe for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl UnwindSafe for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl UnwindSafe for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl UnwindSafe for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl UnwindSafe for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl UnwindSafe for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl UnwindSafe for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl UnwindSafe for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl UnwindSafe for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl UnwindSafe for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl UnwindSafe for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl UnwindSafe for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl UnwindSafe for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl UnwindSafe for Days",1,["numpy::datetime::units::Days"]],["impl UnwindSafe for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl UnwindSafe for Hours",1,["numpy::datetime::units::Hours"]],["impl UnwindSafe for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl UnwindSafe for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl UnwindSafe for Minutes",1,["numpy::datetime::units::Minutes"]],["impl UnwindSafe for Months",1,["numpy::datetime::units::Months"]],["impl UnwindSafe for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl UnwindSafe for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl UnwindSafe for Seconds",1,["numpy::datetime::units::Seconds"]],["impl UnwindSafe for Weeks",1,["numpy::datetime::units::Weeks"]],["impl UnwindSafe for Years",1,["numpy::datetime::units::Years"]],["impl UnwindSafe for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl UnwindSafe for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl UnwindSafe for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl UnwindSafe for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl UnwindSafe for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl UnwindSafe for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl UnwindSafe for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl UnwindSafe for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl UnwindSafe for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl UnwindSafe for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl UnwindSafe for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl UnwindSafe for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl UnwindSafe for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl UnwindSafe for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl UnwindSafe for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl UnwindSafe for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl UnwindSafe for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl UnwindSafe for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl UnwindSafe for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl UnwindSafe for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl UnwindSafe for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl UnwindSafe for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl UnwindSafe for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl UnwindSafe for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl UnwindSafe for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl UnwindSafe for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl UnwindSafe for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl UnwindSafe for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl UnwindSafe for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl UnwindSafe for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl UnwindSafe for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl UnwindSafe for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl UnwindSafe for FromVecError",1,["numpy::error::FromVecError"]],["impl UnwindSafe for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl UnwindSafe for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl UnwindSafe for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl UnwindSafe for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where\n C: UnwindSafe,\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> UnwindSafe for PyArray<T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::array::PyArray"]],["impl<U> UnwindSafe for Datetime<U>
    where\n U: UnwindSafe,
    ",1,["numpy::datetime::Datetime"]],["impl<U> UnwindSafe for Timedelta<U>
    where\n U: UnwindSafe,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> UnwindSafe for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> UnwindSafe for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); + var implementors = Object.fromEntries([["numpy",[["impl UnwindSafe for BorrowError",1,["numpy::error::BorrowError"]],["impl UnwindSafe for NpyTypes",1,["numpy::npyffi::array::NpyTypes"]],["impl UnwindSafe for NPY_ARRAYMETHOD_FLAGS",1,["numpy::npyffi::types::NPY_ARRAYMETHOD_FLAGS"]],["impl UnwindSafe for NPY_BYTEORDER_CHAR",1,["numpy::npyffi::types::NPY_BYTEORDER_CHAR"]],["impl UnwindSafe for NPY_CASTING",1,["numpy::npyffi::types::NPY_CASTING"]],["impl UnwindSafe for NPY_CLIPMODE",1,["numpy::npyffi::types::NPY_CLIPMODE"]],["impl UnwindSafe for NPY_DATETIMEUNIT",1,["numpy::npyffi::types::NPY_DATETIMEUNIT"]],["impl UnwindSafe for NPY_ORDER",1,["numpy::npyffi::types::NPY_ORDER"]],["impl UnwindSafe for NPY_SCALARKIND",1,["numpy::npyffi::types::NPY_SCALARKIND"]],["impl UnwindSafe for NPY_SEARCHSIDE",1,["numpy::npyffi::types::NPY_SEARCHSIDE"]],["impl UnwindSafe for NPY_SELECTKIND",1,["numpy::npyffi::types::NPY_SELECTKIND"]],["impl UnwindSafe for NPY_SORTKIND",1,["numpy::npyffi::types::NPY_SORTKIND"]],["impl UnwindSafe for NPY_TYPECHAR",1,["numpy::npyffi::types::NPY_TYPECHAR"]],["impl UnwindSafe for NPY_TYPEKINDCHAR",1,["numpy::npyffi::types::NPY_TYPEKINDCHAR"]],["impl UnwindSafe for NPY_TYPES",1,["numpy::npyffi::types::NPY_TYPES"]],["impl UnwindSafe for Attoseconds",1,["numpy::datetime::units::Attoseconds"]],["impl UnwindSafe for Days",1,["numpy::datetime::units::Days"]],["impl UnwindSafe for Femtoseconds",1,["numpy::datetime::units::Femtoseconds"]],["impl UnwindSafe for Hours",1,["numpy::datetime::units::Hours"]],["impl UnwindSafe for Microseconds",1,["numpy::datetime::units::Microseconds"]],["impl UnwindSafe for Milliseconds",1,["numpy::datetime::units::Milliseconds"]],["impl UnwindSafe for Minutes",1,["numpy::datetime::units::Minutes"]],["impl UnwindSafe for Months",1,["numpy::datetime::units::Months"]],["impl UnwindSafe for Nanoseconds",1,["numpy::datetime::units::Nanoseconds"]],["impl UnwindSafe for Picoseconds",1,["numpy::datetime::units::Picoseconds"]],["impl UnwindSafe for Seconds",1,["numpy::datetime::units::Seconds"]],["impl UnwindSafe for Weeks",1,["numpy::datetime::units::Weeks"]],["impl UnwindSafe for Years",1,["numpy::datetime::units::Years"]],["impl UnwindSafe for PyArrayAPI",1,["numpy::npyffi::array::PyArrayAPI"]],["impl UnwindSafe for NpyAuxData",1,["numpy::npyffi::objects::NpyAuxData"]],["impl UnwindSafe for NpyIter",1,["numpy::npyffi::objects::NpyIter"]],["impl UnwindSafe for PyArrayDTypeMeta_Spec",1,["numpy::npyffi::objects::PyArrayDTypeMeta_Spec"]],["impl UnwindSafe for PyArrayFlagsObject",1,["numpy::npyffi::objects::PyArrayFlagsObject"]],["impl UnwindSafe for PyArrayInterface",1,["numpy::npyffi::objects::PyArrayInterface"]],["impl UnwindSafe for PyArrayIterObject",1,["numpy::npyffi::objects::PyArrayIterObject"]],["impl UnwindSafe for PyArrayMapIterObject",1,["numpy::npyffi::objects::PyArrayMapIterObject"]],["impl UnwindSafe for PyArrayMethod_Spec",1,["numpy::npyffi::objects::PyArrayMethod_Spec"]],["impl UnwindSafe for PyArrayMultiIterObject",1,["numpy::npyffi::objects::PyArrayMultiIterObject"]],["impl UnwindSafe for PyArrayNeighborhoodIterObject",1,["numpy::npyffi::objects::PyArrayNeighborhoodIterObject"]],["impl UnwindSafe for PyArrayObject",1,["numpy::npyffi::objects::PyArrayObject"]],["impl UnwindSafe for PyArray_ArrFuncs",1,["numpy::npyffi::objects::PyArray_ArrFuncs"]],["impl UnwindSafe for PyArray_ArrayDescr",1,["numpy::npyffi::objects::PyArray_ArrayDescr"]],["impl UnwindSafe for PyArray_Chunk",1,["numpy::npyffi::objects::PyArray_Chunk"]],["impl UnwindSafe for PyArray_DatetimeDTypeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeDTypeMetaData"]],["impl UnwindSafe for PyArray_DatetimeMetaData",1,["numpy::npyffi::objects::PyArray_DatetimeMetaData"]],["impl UnwindSafe for PyArray_Descr",1,["numpy::npyffi::objects::PyArray_Descr"]],["impl UnwindSafe for PyArray_DescrProto",1,["numpy::npyffi::objects::PyArray_DescrProto"]],["impl UnwindSafe for PyArray_Dims",1,["numpy::npyffi::objects::PyArray_Dims"]],["impl UnwindSafe for PyArray_StringDTypeObject",1,["numpy::npyffi::objects::PyArray_StringDTypeObject"]],["impl UnwindSafe for PyUFuncObject",1,["numpy::npyffi::objects::PyUFuncObject"]],["impl UnwindSafe for _PyArray_DescrNumPy2",1,["numpy::npyffi::objects::_PyArray_DescrNumPy2"]],["impl UnwindSafe for npy_static_string",1,["numpy::npyffi::objects::npy_static_string"]],["impl UnwindSafe for npy_cdouble",1,["numpy::npyffi::types::npy_cdouble"]],["impl UnwindSafe for npy_cfloat",1,["numpy::npyffi::types::npy_cfloat"]],["impl UnwindSafe for npy_clongdouble",1,["numpy::npyffi::types::npy_clongdouble"]],["impl UnwindSafe for npy_datetimestruct",1,["numpy::npyffi::types::npy_datetimestruct"]],["impl UnwindSafe for npy_stride_sort_item",1,["numpy::npyffi::types::npy_stride_sort_item"]],["impl UnwindSafe for npy_timedeltastruct",1,["numpy::npyffi::types::npy_timedeltastruct"]],["impl UnwindSafe for PyUFuncAPI",1,["numpy::npyffi::ufunc::PyUFuncAPI"]],["impl UnwindSafe for AllowTypeChange",1,["numpy::array_like::AllowTypeChange"]],["impl UnwindSafe for FromVecError",1,["numpy::error::FromVecError"]],["impl UnwindSafe for NotContiguousError",1,["numpy::error::NotContiguousError"]],["impl UnwindSafe for PyArrayDescr",1,["numpy::dtype::PyArrayDescr"]],["impl UnwindSafe for PyUntypedArray",1,["numpy::untyped_array::PyUntypedArray"]],["impl UnwindSafe for TypeMustMatch",1,["numpy::array_like::TypeMustMatch"]],["impl<'py, T, D> UnwindSafe for PyReadonlyArray<'py, T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::borrow::PyReadonlyArray"]],["impl<'py, T, D> UnwindSafe for PyReadwriteArray<'py, T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::borrow::PyReadwriteArray"]],["impl<'py, T, D, C> UnwindSafe for PyArrayLike<'py, T, D, C>
    where\n C: UnwindSafe,\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::array_like::PyArrayLike"]],["impl<T, D> UnwindSafe for PyArray<T, D>
    where\n T: UnwindSafe,\n D: UnwindSafe,
    ",1,["numpy::array::PyArray"]],["impl<U> UnwindSafe for Datetime<U>
    where\n U: UnwindSafe,
    ",1,["numpy::datetime::Datetime"]],["impl<U> UnwindSafe for Timedelta<U>
    where\n U: UnwindSafe,
    ",1,["numpy::datetime::Timedelta"]],["impl<const N: usize> UnwindSafe for PyFixedString<N>",1,["numpy::strings::PyFixedString"]],["impl<const N: usize> UnwindSafe for PyFixedUnicode<N>",1,["numpy::strings::PyFixedUnicode"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/pyo3/conversion/trait.FromPyObject.js b/trait.impl/pyo3/conversion/trait.FromPyObject.js index cb567de9..0d12913e 100644 --- a/trait.impl/pyo3/conversion/trait.FromPyObject.js +++ b/trait.impl/pyo3/conversion/trait.FromPyObject.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["numpy",[["impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where\n T: Element + 'py,\n D: Dimension + 'py,\n C: Coerce,\n Vec<T>: FromPyObject<'py>,
    "],["impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadonlyArray<'py, T, D>"],["impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadwriteArray<'py, T, D>"]]]]); + var implementors = Object.fromEntries([["numpy",[["impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where\n T: Element + 'py,\n D: Dimension + 'py,\n C: Coerce,\n Vec<T>: FromPyObject<'py>,
    "],["impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadonlyArray<'py, T, D>"],["impl<'py, T: Element, D: Dimension> FromPyObject<'py> for PyReadwriteArray<'py, T, D>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/type.impl/core/option/enum.Option.js b/type.impl/core/option/enum.Option.js index 3e6be1d9..18d10531 100644 --- a/type.impl/core/option/enum.Option.js +++ b/type.impl/core/option/enum.Option.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    §

    impl<T> AsPyPointer for Option<T>
    where\n T: AsPyPointer,

    Convert None into a null pointer.

    \n
    §

    fn as_ptr(&self) -> *mut PyObject

    Returns the underlying FFI pointer as a borrowed pointer.
    ","AsPyPointer","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Clone for Option<T>
    where\n T: Clone,

    source§

    fn clone(&self) -> Option<T>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Option<T>)

    Performs copy-assignment from source. Read more
    ","Clone","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Debug for Option<T>
    where\n T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Default for Option<T>

    source§

    fn default() -> Option<T>

    Returns None.

    \n
    §Examples
    \n
    let opt: Option<u32> = Option::default();\nassert!(opt.is_none());
    \n
    ","Default","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.12.0 · source§

    impl<T> From<T> for Option<T>

    source§

    fn from(val: T) -> Option<T>

    Moves val into a new Some.

    \n
    §Examples
    \n
    let o: Option<u8> = Option::from(67);\n\nassert_eq!(Some(67), o);
    \n
    ","From","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<A, V> FromIterator<Option<A>> for Option<V>
    where\n V: FromIterator<A>,

    source§

    fn from_iter<I>(iter: I) -> Option<V>
    where\n I: IntoIterator<Item = Option<A>>,

    Takes each element in the Iterator: if it is None,\nno further elements are taken, and the None is\nreturned. Should no None occur, a container of type\nV containing the values of each Option is returned.

    \n
    §Examples
    \n

    Here is an example which increments every integer in a vector.\nWe use the checked variant of add that returns None when the\ncalculation would result in an overflow.

    \n\n
    let items = vec![0_u16, 1, 2];\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| x.checked_add(1))\n    .collect();\n\nassert_eq!(res, Some(vec![1, 2, 3]));
    \n

    As you can see, this will return the expected, valid items.

    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let items = vec![2_u16, 1, 0];\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| x.checked_sub(1))\n    .collect();\n\nassert_eq!(res, None);
    \n

    Since the last element is zero, it would underflow. Thus, the resulting\nvalue is None.

    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first None.

    \n\n
    let items = vec![3_u16, 2, 1, 10];\n\nlet mut shared = 0;\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| { shared += x; x.checked_sub(2) })\n    .collect();\n\nassert_eq!(res, None);\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<'py, T> FromPyObject<'py> for Option<T>
    where\n T: FromPyObject<'py>,

    §

    fn extract_bound(obj: &Bound<'py, PyAny>) -> Result<Option<T>, PyErr>

    Extracts Self from the bound smart pointer obj. Read more
    ","FromPyObject<'py>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    source§

    impl<T> FromResidual<Option<Infallible>> for Option<T>

    source§

    fn from_residual(residual: Option<Infallible>) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    source§

    impl<T> FromResidual<Yeet<()>> for Option<T>

    source§

    fn from_residual(_: Yeet<()>) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Hash for Option<T>
    where\n T: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> IntoIterator for Option<T>

    source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n
    §Examples
    \n
    let x = Some(\"string\");\nlet v: Vec<&str> = x.into_iter().collect();\nassert_eq!(v, [\"string\"]);\n\nlet x = None;\nlet v: Vec<&str> = x.into_iter().collect();\nassert!(v.is_empty());
    \n
    source§

    type Item = T

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<T> IntoPy<Py<PyAny>> for Option<T>
    where\n T: IntoPy<Py<PyAny>>,

    §

    fn into_py(self, py: Python<'_>) -> Py<PyAny>

    👎Deprecated since 0.23.0: IntoPy is going to be replaced by IntoPyObject. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
    Performs the conversion.
    ","IntoPy>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<'py, T> IntoPyObject<'py> for Option<T>
    where\n T: IntoPyObject<'py>,

    §

    type Target = PyAny

    The Python output type
    §

    type Output = Bound<'py, <Option<T> as IntoPyObject<'py>>::Target>

    The smart pointer type to use. Read more
    §

    type Error = <T as IntoPyObject<'py>>::Error

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

    fn into_pyobject(\n self,\n py: Python<'py>,\n) -> Result<<Option<T> as IntoPyObject<'py>>::Output, <Option<T> as IntoPyObject<'py>>::Error>

    Performs the conversion.
    ","IntoPyObject<'py>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    source§

    impl<T> Option<T>

    1.0.0 (const: 1.48.0) · source

    pub const fn is_some(&self) -> bool

    Returns true if the option is a Some value.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_some(), true);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_some(), false);
    \n
    1.70.0 · source

    pub fn is_some_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the option is a Some and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_some_and(|x| x > 1), true);\n\nlet x: Option<u32> = Some(0);\nassert_eq!(x.is_some_and(|x| x > 1), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_some_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn is_none(&self) -> bool

    Returns true if the option is a None value.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_none(), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_none(), true);
    \n
    1.82.0 · source

    pub fn is_none_or(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the option is a None or the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_none_or(|x| x > 1), true);\n\nlet x: Option<u32> = Some(0);\nassert_eq!(x.is_none_or(|x| x > 1), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_none_or(|x| x > 1), true);
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn as_ref(&self) -> Option<&T>

    Converts from &Option<T> to Option<&T>.

    \n
    §Examples
    \n

    Calculates the length of an Option<String> as an Option<usize>\nwithout moving the String. The map method takes the self argument by value,\nconsuming the original, so this technique uses as_ref to first take an Option to a\nreference to the value inside the original.

    \n\n
    let text: Option<String> = Some(\"Hello, world!\".to_string());\n// First, cast `Option<String>` to `Option<&String>` with `as_ref`,\n// then consume *that* with `map`, leaving `text` on the stack.\nlet text_length: Option<usize> = text.as_ref().map(|s| s.len());\nprintln!(\"still can print text: {text:?}\");
    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn as_mut(&mut self) -> Option<&mut T>

    Converts from &mut Option<T> to Option<&mut T>.

    \n
    §Examples
    \n
    let mut x = Some(2);\nmatch x.as_mut() {\n    Some(v) => *v = 42,\n    None => {},\n}\nassert_eq!(x, Some(42));
    \n
    1.33.0 (const: unstable) · source

    pub fn as_pin_ref(self: Pin<&Option<T>>) -> Option<Pin<&T>>

    Converts from Pin<&Option<T>> to Option<Pin<&T>>.

    \n
    1.33.0 (const: unstable) · source

    pub fn as_pin_mut(self: Pin<&mut Option<T>>) -> Option<Pin<&mut T>>

    Converts from Pin<&mut Option<T>> to Option<Pin<&mut T>>.

    \n
    1.75.0 (const: unstable) · source

    pub fn as_slice(&self) -> &[T]

    Returns a slice of the contained value, if any. If this is None, an\nempty slice is returned. This can be useful to have a single type of\niterator over an Option or slice.

    \n

    Note: Should you have an Option<&T> and wish to get a slice of T,\nyou can unpack it via opt.map_or(&[], std::slice::from_ref).

    \n
    §Examples
    \n
    assert_eq!(\n    [Some(1234).as_slice(), None.as_slice()],\n    [&[1234][..], &[][..]],\n);
    \n

    The inverse of this function is (discounting\nborrowing) [_]::first:

    \n\n
    for i in [Some(1234_u16), None] {\n    assert_eq!(i.as_ref(), i.as_slice().first());\n}
    \n
    1.75.0 (const: unstable) · source

    pub fn as_mut_slice(&mut self) -> &mut [T]

    Returns a mutable slice of the contained value, if any. If this is\nNone, an empty slice is returned. This can be useful to have a\nsingle type of iterator over an Option or slice.

    \n

    Note: Should you have an Option<&mut T> instead of a\n&mut Option<T>, which this method takes, you can obtain a mutable\nslice via opt.map_or(&mut [], std::slice::from_mut).

    \n
    §Examples
    \n
    assert_eq!(\n    [Some(1234).as_mut_slice(), None.as_mut_slice()],\n    [&mut [1234][..], &mut [][..]],\n);
    \n

    The result is a mutable slice of zero or one items that points into\nour original Option:

    \n\n
    let mut x = Some(1234);\nx.as_mut_slice()[0] += 1;\nassert_eq!(x, Some(1235));
    \n

    The inverse of this method (discounting borrowing)\nis [_]::first_mut:

    \n\n
    assert_eq!(Some(123).as_mut_slice().first_mut(), Some(&mut 123))
    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn expect(self, msg: &str) -> T

    Returns the contained Some value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is a None with a custom panic message provided by\nmsg.

    \n
    §Examples
    \n
    let x = Some(\"value\");\nassert_eq!(x.expect(\"fruits are healthy\"), \"value\");
    \n\n
    let x: Option<&str> = None;\nx.expect(\"fruits are healthy\"); // panics with `fruits are healthy`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Option should be Some.

    \n\n
    let item = slice.get(0)\n    .expect(\"slice should not be empty\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our\nrecommendation please refer to the section on “Common Message\nStyles” in the std::error module docs.

    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn unwrap(self) -> T

    Returns the contained Some value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the None\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the self value equals None.

    \n
    §Examples
    \n
    let x = Some(\"air\");\nassert_eq!(x.unwrap(), \"air\");
    \n\n
    let x: Option<&str> = None;\nassert_eq!(x.unwrap(), \"air\"); // fails
    \n
    1.0.0 · source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Some value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    assert_eq!(Some(\"car\").unwrap_or(\"bike\"), \"car\");\nassert_eq!(None.unwrap_or(\"bike\"), \"bike\");
    \n
    1.0.0 · source

    pub fn unwrap_or_else<F>(self, f: F) -> T
    where\n F: FnOnce() -> T,

    Returns the contained Some value or computes it from a closure.

    \n
    §Examples
    \n
    let k = 10;\nassert_eq!(Some(4).unwrap_or_else(|| 2 * k), 4);\nassert_eq!(None.unwrap_or_else(|| 2 * k), 20);
    \n
    1.0.0 · source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Some value or a default.

    \n

    Consumes the self argument then, if Some, returns the contained\nvalue, otherwise if None, returns the default value for that\ntype.

    \n
    §Examples
    \n
    let x: Option<u32> = None;\nlet y: Option<u32> = Some(12);\n\nassert_eq!(x.unwrap_or_default(), 0);\nassert_eq!(y.unwrap_or_default(), 12);
    \n
    1.58.0 (const: 1.83.0) · source

    pub const unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Some value, consuming the self value,\nwithout checking that the value is not None.

    \n
    §Safety
    \n

    Calling this method on None is undefined behavior.

    \n
    §Examples
    \n
    let x = Some(\"air\");\nassert_eq!(unsafe { x.unwrap_unchecked() }, \"air\");
    \n\n
    let x: Option<&str> = None;\nassert_eq!(unsafe { x.unwrap_unchecked() }, \"air\"); // Undefined behavior!
    \n
    1.0.0 · source

    pub fn map<U, F>(self, f: F) -> Option<U>
    where\n F: FnOnce(T) -> U,

    Maps an Option<T> to Option<U> by applying a function to a contained value (if Some) or returns None (if None).

    \n
    §Examples
    \n

    Calculates the length of an Option<String> as an\nOption<usize>, consuming the original:

    \n\n
    let maybe_some_string = Some(String::from(\"Hello, World!\"));\n// `Option::map` takes self *by value*, consuming `maybe_some_string`\nlet maybe_some_len = maybe_some_string.map(|s| s.len());\nassert_eq!(maybe_some_len, Some(13));\n\nlet x: Option<&str> = None;\nassert_eq!(x.map(|s| s.len()), None);
    \n
    1.76.0 · source

    pub fn inspect<F>(self, f: F) -> Option<T>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Some.

    \n

    Returns the original option.

    \n
    §Examples
    \n
    let list = vec![1, 2, 3];\n\n// prints \"got: 2\"\nlet x = list\n    .get(1)\n    .inspect(|x| println!(\"got: {x}\"))\n    .expect(\"list should be long enough\");\n\n// prints nothing\nlist.get(5).inspect(|x| println!(\"got: {x}\"));
    \n
    1.0.0 · source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default result (if none),\nor applies a function to the contained value (if any).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Option<&str> = None;\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.0.0 · source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce() -> U,\n F: FnOnce(T) -> U,

    Computes a default function result (if none), or\napplies a different function to the contained value (if any).

    \n
    §Basic examples
    \n
    let k = 21;\n\nlet x = Some(\"foo\");\nassert_eq!(x.map_or_else(|| 2 * k, |v| v.len()), 3);\n\nlet x: Option<&str> = None;\nassert_eq!(x.map_or_else(|| 2 * k, |v| v.len()), 42);
    \n
    §Handling a Result-based fallback
    \n

    A somewhat common occurrence when dealing with optional values\nin combination with Result<T, E> is the case where one wants to invoke\na fallible fallback if the option is not present. This example\nparses a command line argument (if present), or the contents of a file to\nan integer. However, unlike accessing the command line argument, reading\nthe file is fallible, so it must be wrapped with Ok.

    \n\n
    let v: u64 = std::env::args()\n   .nth(1)\n   .map_or_else(|| std::fs::read_to_string(\"/etc/someconfig.conf\"), Ok)?\n   .parse()?;
    \n
    1.0.0 · source

    pub fn ok_or<E>(self, err: E) -> Result<T, E>

    Transforms the Option<T> into a Result<T, E>, mapping Some(v) to\nOk(v) and None to Err(err).

    \n

    Arguments passed to ok_or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use ok_or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.ok_or(0), Ok(\"foo\"));\n\nlet x: Option<&str> = None;\nassert_eq!(x.ok_or(0), Err(0));
    \n
    1.0.0 · source

    pub fn ok_or_else<E, F>(self, err: F) -> Result<T, E>
    where\n F: FnOnce() -> E,

    Transforms the Option<T> into a Result<T, E>, mapping Some(v) to\nOk(v) and None to Err(err()).

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.ok_or_else(|| 0), Ok(\"foo\"));\n\nlet x: Option<&str> = None;\nassert_eq!(x.ok_or_else(|| 0), Err(0));
    \n
    1.40.0 · source

    pub fn as_deref(&self) -> Option<&<T as Deref>::Target>
    where\n T: Deref,

    Converts from Option<T> (or &Option<T>) to Option<&T::Target>.

    \n

    Leaves the original Option in-place, creating a new one with a reference\nto the original one, additionally coercing the contents via Deref.

    \n
    §Examples
    \n
    let x: Option<String> = Some(\"hey\".to_owned());\nassert_eq!(x.as_deref(), Some(\"hey\"));\n\nlet x: Option<String> = None;\nassert_eq!(x.as_deref(), None);
    \n
    1.40.0 · source

    pub fn as_deref_mut(&mut self) -> Option<&mut <T as Deref>::Target>
    where\n T: DerefMut,

    Converts from Option<T> (or &mut Option<T>) to Option<&mut T::Target>.

    \n

    Leaves the original Option in-place, creating a new one containing a mutable reference to\nthe inner type’s Deref::Target type.

    \n
    §Examples
    \n
    let mut x: Option<String> = Some(\"hey\".to_owned());\nassert_eq!(x.as_deref_mut().map(|x| {\n    x.make_ascii_uppercase();\n    x\n}), Some(\"HEY\".to_owned().as_mut_str()));
    \n
    1.0.0 · source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n
    §Examples
    \n
    let x = Some(4);\nassert_eq!(x.iter().next(), Some(&4));\n\nlet x: Option<u32> = None;\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n
    §Examples
    \n
    let mut x = Some(4);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 42,\n    None => {},\n}\nassert_eq!(x, Some(42));\n\nlet mut x: Option<u32> = None;\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.0.0 · source

    pub fn and<U>(self, optb: Option<U>) -> Option<U>

    Returns None if the option is None, otherwise returns optb.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y: Option<&str> = None;\nassert_eq!(x.and(y), None);\n\nlet x: Option<u32> = None;\nlet y = Some(\"foo\");\nassert_eq!(x.and(y), None);\n\nlet x = Some(2);\nlet y = Some(\"foo\");\nassert_eq!(x.and(y), Some(\"foo\"));\n\nlet x: Option<u32> = None;\nlet y: Option<&str> = None;\nassert_eq!(x.and(y), None);
    \n
    1.0.0 · source

    pub fn and_then<U, F>(self, f: F) -> Option<U>
    where\n F: FnOnce(T) -> Option<U>,

    Returns None if the option is None, otherwise calls f with the\nwrapped value and returns the result.

    \n

    Some languages call this operation flatmap.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Option<String> {\n    x.checked_mul(x).map(|sq| sq.to_string())\n}\n\nassert_eq!(Some(2).and_then(sq_then_to_string), Some(4.to_string()));\nassert_eq!(Some(1_000_000).and_then(sq_then_to_string), None); // overflowed!\nassert_eq!(None.and_then(sq_then_to_string), None);
    \n

    Often used to chain fallible operations that may return None.

    \n\n
    let arr_2d = [[\"A0\", \"A1\"], [\"B0\", \"B1\"]];\n\nlet item_0_1 = arr_2d.get(0).and_then(|row| row.get(1));\nassert_eq!(item_0_1, Some(&\"A1\"));\n\nlet item_2_0 = arr_2d.get(2).and_then(|row| row.get(0));\nassert_eq!(item_2_0, None);
    \n
    1.27.0 · source

    pub fn filter<P>(self, predicate: P) -> Option<T>
    where\n P: FnOnce(&T) -> bool,

    Returns None if the option is None, otherwise calls predicate\nwith the wrapped value and returns:

    \n
      \n
    • Some(t) if predicate returns true (where t is the wrapped\nvalue), and
    • \n
    • None if predicate returns false.
    • \n
    \n

    This function works similar to Iterator::filter(). You can imagine\nthe Option<T> being an iterator over one or zero elements. filter()\nlets you decide which elements to keep.

    \n
    §Examples
    \n
    fn is_even(n: &i32) -> bool {\n    n % 2 == 0\n}\n\nassert_eq!(None.filter(is_even), None);\nassert_eq!(Some(3).filter(is_even), None);\nassert_eq!(Some(4).filter(is_even), Some(4));
    \n
    1.0.0 · source

    pub fn or(self, optb: Option<T>) -> Option<T>

    Returns the option if it contains a value, otherwise returns optb.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y = None;\nassert_eq!(x.or(y), Some(2));\n\nlet x = None;\nlet y = Some(100);\nassert_eq!(x.or(y), Some(100));\n\nlet x = Some(2);\nlet y = Some(100);\nassert_eq!(x.or(y), Some(2));\n\nlet x: Option<u32> = None;\nlet y = None;\nassert_eq!(x.or(y), None);
    \n
    1.0.0 · source

    pub fn or_else<F>(self, f: F) -> Option<T>
    where\n F: FnOnce() -> Option<T>,

    Returns the option if it contains a value, otherwise calls f and\nreturns the result.

    \n
    §Examples
    \n
    fn nobody() -> Option<&'static str> { None }\nfn vikings() -> Option<&'static str> { Some(\"vikings\") }\n\nassert_eq!(Some(\"barbarians\").or_else(vikings), Some(\"barbarians\"));\nassert_eq!(None.or_else(vikings), Some(\"vikings\"));\nassert_eq!(None.or_else(nobody), None);
    \n
    1.37.0 · source

    pub fn xor(self, optb: Option<T>) -> Option<T>

    Returns Some if exactly one of self, optb is Some, otherwise returns None.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y: Option<u32> = None;\nassert_eq!(x.xor(y), Some(2));\n\nlet x: Option<u32> = None;\nlet y = Some(2);\nassert_eq!(x.xor(y), Some(2));\n\nlet x = Some(2);\nlet y = Some(2);\nassert_eq!(x.xor(y), None);\n\nlet x: Option<u32> = None;\nlet y: Option<u32> = None;\nassert_eq!(x.xor(y), None);
    \n
    1.53.0 · source

    pub fn insert(&mut self, value: T) -> &mut T

    Inserts value into the option, then returns a mutable reference to it.

    \n

    If the option already contains a value, the old value is dropped.

    \n

    See also Option::get_or_insert, which doesn’t update the value if\nthe option already contains Some.

    \n
    §Example
    \n
    let mut opt = None;\nlet val = opt.insert(1);\nassert_eq!(*val, 1);\nassert_eq!(opt.unwrap(), 1);\nlet val = opt.insert(2);\nassert_eq!(*val, 2);\n*val = 3;\nassert_eq!(opt.unwrap(), 3);
    \n
    1.20.0 · source

    pub fn get_or_insert(&mut self, value: T) -> &mut T

    Inserts value into the option if it is None, then\nreturns a mutable reference to the contained value.

    \n

    See also Option::insert, which updates the value even if\nthe option already contains Some.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert(5);\n    assert_eq!(y, &5);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.83.0 · source

    pub fn get_or_insert_default(&mut self) -> &mut T
    where\n T: Default,

    Inserts the default value into the option if it is None, then\nreturns a mutable reference to the contained value.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert_default();\n    assert_eq!(y, &0);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.20.0 · source

    pub fn get_or_insert_with<F>(&mut self, f: F) -> &mut T
    where\n F: FnOnce() -> T,

    Inserts a value computed from f into the option if it is None,\nthen returns a mutable reference to the contained value.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert_with(|| 5);\n    assert_eq!(y, &5);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn take(&mut self) -> Option<T>

    Takes the value out of the option, leaving a None in its place.

    \n
    §Examples
    \n
    let mut x = Some(2);\nlet y = x.take();\nassert_eq!(x, None);\nassert_eq!(y, Some(2));\n\nlet mut x: Option<u32> = None;\nlet y = x.take();\nassert_eq!(x, None);\nassert_eq!(y, None);
    \n
    1.80.0 · source

    pub fn take_if<P>(&mut self, predicate: P) -> Option<T>
    where\n P: FnOnce(&mut T) -> bool,

    Takes the value out of the option, but only if the predicate evaluates to\ntrue on a mutable reference to the value.

    \n

    In other words, replaces self with None if the predicate returns true.\nThis method operates similar to Option::take but conditional.

    \n
    §Examples
    \n
    let mut x = Some(42);\n\nlet prev = x.take_if(|v| if *v == 42 {\n    *v += 1;\n    false\n} else {\n    false\n});\nassert_eq!(x, Some(43));\nassert_eq!(prev, None);\n\nlet prev = x.take_if(|v| *v == 43);\nassert_eq!(x, None);\nassert_eq!(prev, Some(43));
    \n
    1.31.0 (const: 1.83.0) · source

    pub const fn replace(&mut self, value: T) -> Option<T>

    Replaces the actual value in the option by the value given in parameter,\nreturning the old value if present,\nleaving a Some in its place without deinitializing either one.

    \n
    §Examples
    \n
    let mut x = Some(2);\nlet old = x.replace(5);\nassert_eq!(x, Some(5));\nassert_eq!(old, Some(2));\n\nlet mut x = None;\nlet old = x.replace(3);\nassert_eq!(x, Some(3));\nassert_eq!(old, None);
    \n
    1.46.0 · source

    pub fn zip<U>(self, other: Option<U>) -> Option<(T, U)>

    Zips self with another Option.

    \n

    If self is Some(s) and other is Some(o), this method returns Some((s, o)).\nOtherwise, None is returned.

    \n
    §Examples
    \n
    let x = Some(1);\nlet y = Some(\"hi\");\nlet z = None::<u8>;\n\nassert_eq!(x.zip(y), Some((1, \"hi\")));\nassert_eq!(x.zip(z), None);
    \n
    source

    pub fn zip_with<U, F, R>(self, other: Option<U>, f: F) -> Option<R>
    where\n F: FnOnce(T, U) -> R,

    🔬This is a nightly-only experimental API. (option_zip)

    Zips self and another Option with function f.

    \n

    If self is Some(s) and other is Some(o), this method returns Some(f(s, o)).\nOtherwise, None is returned.

    \n
    §Examples
    \n
    #![feature(option_zip)]\n\n#[derive(Debug, PartialEq)]\nstruct Point {\n    x: f64,\n    y: f64,\n}\n\nimpl Point {\n    fn new(x: f64, y: f64) -> Self {\n        Self { x, y }\n    }\n}\n\nlet x = Some(17.5);\nlet y = Some(42.7);\n\nassert_eq!(x.zip_with(y, Point::new), Some(Point { x: 17.5, y: 42.7 }));\nassert_eq!(x.zip_with(None, Point::new), None);
    \n
    ",0,"numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Ord for Option<T>
    where\n T: Ord,

    source§

    fn cmp(&self, other: &Option<T>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n 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\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> PartialEq for Option<T>
    where\n T: PartialEq,

    source§

    fn eq(&self, other: &Option<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> PartialOrd for Option<T>
    where\n T: PartialOrd,

    source§

    fn partial_cmp(&self, other: &Option<T>) -> 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

    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

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.37.0 · source§

    impl<T, U> Product<Option<U>> for Option<T>
    where\n T: Product<U>,

    source§

    fn product<I>(iter: I) -> Option<T>
    where\n I: Iterator<Item = Option<U>>,

    Takes each element in the Iterator: if it is a None, no further\nelements are taken, and the None is returned. Should no None\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns None:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Option<usize> = nums.iter().map(|w| w.parse::<usize>().ok()).product();\nassert_eq!(total, Some(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Option<usize> = nums.iter().map(|w| w.parse::<usize>().ok()).product();\nassert_eq!(total, None);
    \n
    ","Product>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.37.0 · source§

    impl<T, U> Sum<Option<U>> for Option<T>
    where\n T: Sum<U>,

    source§

    fn sum<I>(iter: I) -> Option<T>
    where\n I: Iterator<Item = Option<U>>,

    Takes each element in the Iterator: if it is a None, no further\nelements are taken, and the None is returned. Should no None\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up the position of the character ‘a’ in a vector of strings,\nif a word did not have the character ‘a’ the operation returns None:

    \n\n
    let words = vec![\"have\", \"a\", \"great\", \"day\"];\nlet total: Option<usize> = words.iter().map(|w| w.find('a')).sum();\nassert_eq!(total, Some(5));\nlet words = vec![\"have\", \"a\", \"good\", \"day\"];\nlet total: Option<usize> = words.iter().map(|w| w.find('a')).sum();\nassert_eq!(total, None);
    \n
    ","Sum>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<T> ToPyObject for Option<T>
    where\n T: ToPyObject,

    Option::Some<T> is converted like T.\nOption::None is converted to Python None.

    \n
    §

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

    👎Deprecated since 0.23.0: ToPyObject is going to be replaced by IntoPyObject. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
    Converts self into a Python object.
    ","ToPyObject","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    source§

    impl<T> Try for Option<T>

    source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    source§

    type Residual = Option<Infallible>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    source§

    fn from_output(output: <Option<T> as Try>::Output) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    source§

    fn branch(\n self,\n) -> ControlFlow<<Option<T> as Try>::Residual, <Option<T> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Copy for Option<T>
    where\n T: Copy,

    ","Copy","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> Eq for Option<T>
    where\n T: Eq,

    ","Eq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · source§

    impl<T> StructuralPartialEq for Option<T>

    ","StructuralPartialEq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    §

    impl<T> AsPyPointer for Option<T>
    where\n T: AsPyPointer,

    Convert None into a null pointer.

    \n
    §

    fn as_ptr(&self) -> *mut PyObject

    Returns the underlying FFI pointer as a borrowed pointer.
    ","AsPyPointer","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Clone for Option<T>
    where\n T: Clone,

    Source§

    fn clone(&self) -> Option<T>

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, source: &Option<T>)

    Performs copy-assignment from source. Read more
    ","Clone","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Debug for Option<T>
    where\n T: Debug,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Default for Option<T>

    Source§

    fn default() -> Option<T>

    Returns None.

    \n
    §Examples
    \n
    let opt: Option<u32> = Option::default();\nassert!(opt.is_none());
    \n
    ","Default","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.12.0 · Source§

    impl<T> From<T> for Option<T>

    Source§

    fn from(val: T) -> Option<T>

    Moves val into a new Some.

    \n
    §Examples
    \n
    let o: Option<u8> = Option::from(67);\n\nassert_eq!(Some(67), o);
    \n
    ","From","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<A, V> FromIterator<Option<A>> for Option<V>
    where\n V: FromIterator<A>,

    Source§

    fn from_iter<I>(iter: I) -> Option<V>
    where\n I: IntoIterator<Item = Option<A>>,

    Takes each element in the Iterator: if it is None,\nno further elements are taken, and the None is\nreturned. Should no None occur, a container of type\nV containing the values of each Option is returned.

    \n
    §Examples
    \n

    Here is an example which increments every integer in a vector.\nWe use the checked variant of add that returns None when the\ncalculation would result in an overflow.

    \n\n
    let items = vec![0_u16, 1, 2];\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| x.checked_add(1))\n    .collect();\n\nassert_eq!(res, Some(vec![1, 2, 3]));
    \n

    As you can see, this will return the expected, valid items.

    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let items = vec![2_u16, 1, 0];\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| x.checked_sub(1))\n    .collect();\n\nassert_eq!(res, None);
    \n

    Since the last element is zero, it would underflow. Thus, the resulting\nvalue is None.

    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first None.

    \n\n
    let items = vec![3_u16, 2, 1, 10];\n\nlet mut shared = 0;\n\nlet res: Option<Vec<u16>> = items\n    .iter()\n    .map(|x| { shared += x; x.checked_sub(2) })\n    .collect();\n\nassert_eq!(res, None);\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<'py, T> FromPyObject<'py> for Option<T>
    where\n T: FromPyObject<'py>,

    §

    fn extract_bound(obj: &Bound<'py, PyAny>) -> Result<Option<T>, PyErr>

    Extracts Self from the bound smart pointer obj. Read more
    ","FromPyObject<'py>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    Source§

    impl<T> FromResidual<Option<Infallible>> for Option<T>

    Source§

    fn from_residual(residual: Option<Infallible>) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    Source§

    impl<T> FromResidual<Yeet<()>> for Option<T>

    Source§

    fn from_residual(_: Yeet<()>) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Hash for Option<T>
    where\n T: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> IntoIterator for Option<T>

    Source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n
    §Examples
    \n
    let x = Some(\"string\");\nlet v: Vec<&str> = x.into_iter().collect();\nassert_eq!(v, [\"string\"]);\n\nlet x = None;\nlet v: Vec<&str> = x.into_iter().collect();\nassert!(v.is_empty());
    \n
    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<T> IntoPy<Py<PyAny>> for Option<T>
    where\n T: IntoPy<Py<PyAny>>,

    §

    fn into_py(self, py: Python<'_>) -> Py<PyAny>

    👎Deprecated since 0.23.0: IntoPy is going to be replaced by IntoPyObject. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
    Performs the conversion.
    ","IntoPy>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<'py, T> IntoPyObject<'py> for Option<T>
    where\n T: IntoPyObject<'py>,

    §

    type Target = PyAny

    The Python output type
    §

    type Output = Bound<'py, <Option<T> as IntoPyObject<'py>>::Target>

    The smart pointer type to use. Read more
    §

    type Error = <T as IntoPyObject<'py>>::Error

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

    fn into_pyobject(\n self,\n py: Python<'py>,\n) -> Result<<Option<T> as IntoPyObject<'py>>::Output, <Option<T> as IntoPyObject<'py>>::Error>

    Performs the conversion.
    ","IntoPyObject<'py>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    Source§

    impl<T> Option<T>

    1.0.0 (const: 1.48.0) · Source

    pub const fn is_some(&self) -> bool

    Returns true if the option is a Some value.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_some(), true);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_some(), false);
    \n
    1.70.0 · Source

    pub fn is_some_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the option is a Some and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_some_and(|x| x > 1), true);\n\nlet x: Option<u32> = Some(0);\nassert_eq!(x.is_some_and(|x| x > 1), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_some_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn is_none(&self) -> bool

    Returns true if the option is a None value.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_none(), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_none(), true);
    \n
    1.82.0 · Source

    pub fn is_none_or(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the option is a None or the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Option<u32> = Some(2);\nassert_eq!(x.is_none_or(|x| x > 1), true);\n\nlet x: Option<u32> = Some(0);\nassert_eq!(x.is_none_or(|x| x > 1), false);\n\nlet x: Option<u32> = None;\nassert_eq!(x.is_none_or(|x| x > 1), true);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn as_ref(&self) -> Option<&T>

    Converts from &Option<T> to Option<&T>.

    \n
    §Examples
    \n

    Calculates the length of an Option<String> as an Option<usize>\nwithout moving the String. The map method takes the self argument by value,\nconsuming the original, so this technique uses as_ref to first take an Option to a\nreference to the value inside the original.

    \n\n
    let text: Option<String> = Some(\"Hello, world!\".to_string());\n// First, cast `Option<String>` to `Option<&String>` with `as_ref`,\n// then consume *that* with `map`, leaving `text` on the stack.\nlet text_length: Option<usize> = text.as_ref().map(|s| s.len());\nprintln!(\"still can print text: {text:?}\");
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn as_mut(&mut self) -> Option<&mut T>

    Converts from &mut Option<T> to Option<&mut T>.

    \n
    §Examples
    \n
    let mut x = Some(2);\nmatch x.as_mut() {\n    Some(v) => *v = 42,\n    None => {},\n}\nassert_eq!(x, Some(42));
    \n
    1.33.0 (const: 1.84.0) · Source

    pub const fn as_pin_ref(self: Pin<&Option<T>>) -> Option<Pin<&T>>

    Converts from Pin<&Option<T>> to Option<Pin<&T>>.

    \n
    1.33.0 (const: 1.84.0) · Source

    pub const fn as_pin_mut(self: Pin<&mut Option<T>>) -> Option<Pin<&mut T>>

    Converts from Pin<&mut Option<T>> to Option<Pin<&mut T>>.

    \n
    1.75.0 (const: 1.84.0) · Source

    pub const fn as_slice(&self) -> &[T]

    Returns a slice of the contained value, if any. If this is None, an\nempty slice is returned. This can be useful to have a single type of\niterator over an Option or slice.

    \n

    Note: Should you have an Option<&T> and wish to get a slice of T,\nyou can unpack it via opt.map_or(&[], std::slice::from_ref).

    \n
    §Examples
    \n
    assert_eq!(\n    [Some(1234).as_slice(), None.as_slice()],\n    [&[1234][..], &[][..]],\n);
    \n

    The inverse of this function is (discounting\nborrowing) [_]::first:

    \n\n
    for i in [Some(1234_u16), None] {\n    assert_eq!(i.as_ref(), i.as_slice().first());\n}
    \n
    1.75.0 (const: 1.84.0) · Source

    pub const fn as_mut_slice(&mut self) -> &mut [T]

    Returns a mutable slice of the contained value, if any. If this is\nNone, an empty slice is returned. This can be useful to have a\nsingle type of iterator over an Option or slice.

    \n

    Note: Should you have an Option<&mut T> instead of a\n&mut Option<T>, which this method takes, you can obtain a mutable\nslice via opt.map_or(&mut [], std::slice::from_mut).

    \n
    §Examples
    \n
    assert_eq!(\n    [Some(1234).as_mut_slice(), None.as_mut_slice()],\n    [&mut [1234][..], &mut [][..]],\n);
    \n

    The result is a mutable slice of zero or one items that points into\nour original Option:

    \n\n
    let mut x = Some(1234);\nx.as_mut_slice()[0] += 1;\nassert_eq!(x, Some(1235));
    \n

    The inverse of this method (discounting borrowing)\nis [_]::first_mut:

    \n\n
    assert_eq!(Some(123).as_mut_slice().first_mut(), Some(&mut 123))
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn expect(self, msg: &str) -> T

    Returns the contained Some value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is a None with a custom panic message provided by\nmsg.

    \n
    §Examples
    \n
    let x = Some(\"value\");\nassert_eq!(x.expect(\"fruits are healthy\"), \"value\");
    \n\n
    let x: Option<&str> = None;\nx.expect(\"fruits are healthy\"); // panics with `fruits are healthy`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Option should be Some.

    \n\n
    let item = slice.get(0)\n    .expect(\"slice should not be empty\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our\nrecommendation please refer to the section on “Common Message\nStyles” in the std::error module docs.

    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn unwrap(self) -> T

    Returns the contained Some value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the None\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the self value equals None.

    \n
    §Examples
    \n
    let x = Some(\"air\");\nassert_eq!(x.unwrap(), \"air\");
    \n\n
    let x: Option<&str> = None;\nassert_eq!(x.unwrap(), \"air\"); // fails
    \n
    1.0.0 · Source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Some value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    assert_eq!(Some(\"car\").unwrap_or(\"bike\"), \"car\");\nassert_eq!(None.unwrap_or(\"bike\"), \"bike\");
    \n
    1.0.0 · Source

    pub fn unwrap_or_else<F>(self, f: F) -> T
    where\n F: FnOnce() -> T,

    Returns the contained Some value or computes it from a closure.

    \n
    §Examples
    \n
    let k = 10;\nassert_eq!(Some(4).unwrap_or_else(|| 2 * k), 4);\nassert_eq!(None.unwrap_or_else(|| 2 * k), 20);
    \n
    1.0.0 · Source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Some value or a default.

    \n

    Consumes the self argument then, if Some, returns the contained\nvalue, otherwise if None, returns the default value for that\ntype.

    \n
    §Examples
    \n
    let x: Option<u32> = None;\nlet y: Option<u32> = Some(12);\n\nassert_eq!(x.unwrap_or_default(), 0);\nassert_eq!(y.unwrap_or_default(), 12);
    \n
    1.58.0 (const: 1.83.0) · Source

    pub const unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Some value, consuming the self value,\nwithout checking that the value is not None.

    \n
    §Safety
    \n

    Calling this method on None is undefined behavior.

    \n
    §Examples
    \n
    let x = Some(\"air\");\nassert_eq!(unsafe { x.unwrap_unchecked() }, \"air\");
    \n\n
    let x: Option<&str> = None;\nassert_eq!(unsafe { x.unwrap_unchecked() }, \"air\"); // Undefined behavior!
    \n
    1.0.0 · Source

    pub fn map<U, F>(self, f: F) -> Option<U>
    where\n F: FnOnce(T) -> U,

    Maps an Option<T> to Option<U> by applying a function to a contained value (if Some) or returns None (if None).

    \n
    §Examples
    \n

    Calculates the length of an Option<String> as an\nOption<usize>, consuming the original:

    \n\n
    let maybe_some_string = Some(String::from(\"Hello, World!\"));\n// `Option::map` takes self *by value*, consuming `maybe_some_string`\nlet maybe_some_len = maybe_some_string.map(|s| s.len());\nassert_eq!(maybe_some_len, Some(13));\n\nlet x: Option<&str> = None;\nassert_eq!(x.map(|s| s.len()), None);
    \n
    1.76.0 · Source

    pub fn inspect<F>(self, f: F) -> Option<T>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Some.

    \n

    Returns the original option.

    \n
    §Examples
    \n
    let list = vec![1, 2, 3];\n\n// prints \"got: 2\"\nlet x = list\n    .get(1)\n    .inspect(|x| println!(\"got: {x}\"))\n    .expect(\"list should be long enough\");\n\n// prints nothing\nlist.get(5).inspect(|x| println!(\"got: {x}\"));
    \n
    1.0.0 · Source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default result (if none),\nor applies a function to the contained value (if any).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Option<&str> = None;\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.0.0 · Source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce() -> U,\n F: FnOnce(T) -> U,

    Computes a default function result (if none), or\napplies a different function to the contained value (if any).

    \n
    §Basic examples
    \n
    let k = 21;\n\nlet x = Some(\"foo\");\nassert_eq!(x.map_or_else(|| 2 * k, |v| v.len()), 3);\n\nlet x: Option<&str> = None;\nassert_eq!(x.map_or_else(|| 2 * k, |v| v.len()), 42);
    \n
    §Handling a Result-based fallback
    \n

    A somewhat common occurrence when dealing with optional values\nin combination with Result<T, E> is the case where one wants to invoke\na fallible fallback if the option is not present. This example\nparses a command line argument (if present), or the contents of a file to\nan integer. However, unlike accessing the command line argument, reading\nthe file is fallible, so it must be wrapped with Ok.

    \n\n
    let v: u64 = std::env::args()\n   .nth(1)\n   .map_or_else(|| std::fs::read_to_string(\"/etc/someconfig.conf\"), Ok)?\n   .parse()?;
    \n
    1.0.0 · Source

    pub fn ok_or<E>(self, err: E) -> Result<T, E>

    Transforms the Option<T> into a Result<T, E>, mapping Some(v) to\nOk(v) and None to Err(err).

    \n

    Arguments passed to ok_or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use ok_or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.ok_or(0), Ok(\"foo\"));\n\nlet x: Option<&str> = None;\nassert_eq!(x.ok_or(0), Err(0));
    \n
    1.0.0 · Source

    pub fn ok_or_else<E, F>(self, err: F) -> Result<T, E>
    where\n F: FnOnce() -> E,

    Transforms the Option<T> into a Result<T, E>, mapping Some(v) to\nOk(v) and None to Err(err()).

    \n
    §Examples
    \n
    let x = Some(\"foo\");\nassert_eq!(x.ok_or_else(|| 0), Ok(\"foo\"));\n\nlet x: Option<&str> = None;\nassert_eq!(x.ok_or_else(|| 0), Err(0));
    \n
    1.40.0 · Source

    pub fn as_deref(&self) -> Option<&<T as Deref>::Target>
    where\n T: Deref,

    Converts from Option<T> (or &Option<T>) to Option<&T::Target>.

    \n

    Leaves the original Option in-place, creating a new one with a reference\nto the original one, additionally coercing the contents via Deref.

    \n
    §Examples
    \n
    let x: Option<String> = Some(\"hey\".to_owned());\nassert_eq!(x.as_deref(), Some(\"hey\"));\n\nlet x: Option<String> = None;\nassert_eq!(x.as_deref(), None);
    \n
    1.40.0 · Source

    pub fn as_deref_mut(&mut self) -> Option<&mut <T as Deref>::Target>
    where\n T: DerefMut,

    Converts from Option<T> (or &mut Option<T>) to Option<&mut T::Target>.

    \n

    Leaves the original Option in-place, creating a new one containing a mutable reference to\nthe inner type’s Deref::Target type.

    \n
    §Examples
    \n
    let mut x: Option<String> = Some(\"hey\".to_owned());\nassert_eq!(x.as_deref_mut().map(|x| {\n    x.make_ascii_uppercase();\n    x\n}), Some(\"HEY\".to_owned().as_mut_str()));
    \n
    1.0.0 · Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n
    §Examples
    \n
    let x = Some(4);\nassert_eq!(x.iter().next(), Some(&4));\n\nlet x: Option<u32> = None;\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n
    §Examples
    \n
    let mut x = Some(4);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 42,\n    None => {},\n}\nassert_eq!(x, Some(42));\n\nlet mut x: Option<u32> = None;\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.0.0 · Source

    pub fn and<U>(self, optb: Option<U>) -> Option<U>

    Returns None if the option is None, otherwise returns optb.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y: Option<&str> = None;\nassert_eq!(x.and(y), None);\n\nlet x: Option<u32> = None;\nlet y = Some(\"foo\");\nassert_eq!(x.and(y), None);\n\nlet x = Some(2);\nlet y = Some(\"foo\");\nassert_eq!(x.and(y), Some(\"foo\"));\n\nlet x: Option<u32> = None;\nlet y: Option<&str> = None;\nassert_eq!(x.and(y), None);
    \n
    1.0.0 · Source

    pub fn and_then<U, F>(self, f: F) -> Option<U>
    where\n F: FnOnce(T) -> Option<U>,

    Returns None if the option is None, otherwise calls f with the\nwrapped value and returns the result.

    \n

    Some languages call this operation flatmap.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Option<String> {\n    x.checked_mul(x).map(|sq| sq.to_string())\n}\n\nassert_eq!(Some(2).and_then(sq_then_to_string), Some(4.to_string()));\nassert_eq!(Some(1_000_000).and_then(sq_then_to_string), None); // overflowed!\nassert_eq!(None.and_then(sq_then_to_string), None);
    \n

    Often used to chain fallible operations that may return None.

    \n\n
    let arr_2d = [[\"A0\", \"A1\"], [\"B0\", \"B1\"]];\n\nlet item_0_1 = arr_2d.get(0).and_then(|row| row.get(1));\nassert_eq!(item_0_1, Some(&\"A1\"));\n\nlet item_2_0 = arr_2d.get(2).and_then(|row| row.get(0));\nassert_eq!(item_2_0, None);
    \n
    1.27.0 · Source

    pub fn filter<P>(self, predicate: P) -> Option<T>
    where\n P: FnOnce(&T) -> bool,

    Returns None if the option is None, otherwise calls predicate\nwith the wrapped value and returns:

    \n
      \n
    • Some(t) if predicate returns true (where t is the wrapped\nvalue), and
    • \n
    • None if predicate returns false.
    • \n
    \n

    This function works similar to Iterator::filter(). You can imagine\nthe Option<T> being an iterator over one or zero elements. filter()\nlets you decide which elements to keep.

    \n
    §Examples
    \n
    fn is_even(n: &i32) -> bool {\n    n % 2 == 0\n}\n\nassert_eq!(None.filter(is_even), None);\nassert_eq!(Some(3).filter(is_even), None);\nassert_eq!(Some(4).filter(is_even), Some(4));
    \n
    1.0.0 · Source

    pub fn or(self, optb: Option<T>) -> Option<T>

    Returns the option if it contains a value, otherwise returns optb.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y = None;\nassert_eq!(x.or(y), Some(2));\n\nlet x = None;\nlet y = Some(100);\nassert_eq!(x.or(y), Some(100));\n\nlet x = Some(2);\nlet y = Some(100);\nassert_eq!(x.or(y), Some(2));\n\nlet x: Option<u32> = None;\nlet y = None;\nassert_eq!(x.or(y), None);
    \n
    1.0.0 · Source

    pub fn or_else<F>(self, f: F) -> Option<T>
    where\n F: FnOnce() -> Option<T>,

    Returns the option if it contains a value, otherwise calls f and\nreturns the result.

    \n
    §Examples
    \n
    fn nobody() -> Option<&'static str> { None }\nfn vikings() -> Option<&'static str> { Some(\"vikings\") }\n\nassert_eq!(Some(\"barbarians\").or_else(vikings), Some(\"barbarians\"));\nassert_eq!(None.or_else(vikings), Some(\"vikings\"));\nassert_eq!(None.or_else(nobody), None);
    \n
    1.37.0 · Source

    pub fn xor(self, optb: Option<T>) -> Option<T>

    Returns Some if exactly one of self, optb is Some, otherwise returns None.

    \n
    §Examples
    \n
    let x = Some(2);\nlet y: Option<u32> = None;\nassert_eq!(x.xor(y), Some(2));\n\nlet x: Option<u32> = None;\nlet y = Some(2);\nassert_eq!(x.xor(y), Some(2));\n\nlet x = Some(2);\nlet y = Some(2);\nassert_eq!(x.xor(y), None);\n\nlet x: Option<u32> = None;\nlet y: Option<u32> = None;\nassert_eq!(x.xor(y), None);
    \n
    1.53.0 · Source

    pub fn insert(&mut self, value: T) -> &mut T

    Inserts value into the option, then returns a mutable reference to it.

    \n

    If the option already contains a value, the old value is dropped.

    \n

    See also Option::get_or_insert, which doesn’t update the value if\nthe option already contains Some.

    \n
    §Example
    \n
    let mut opt = None;\nlet val = opt.insert(1);\nassert_eq!(*val, 1);\nassert_eq!(opt.unwrap(), 1);\nlet val = opt.insert(2);\nassert_eq!(*val, 2);\n*val = 3;\nassert_eq!(opt.unwrap(), 3);
    \n
    1.20.0 · Source

    pub fn get_or_insert(&mut self, value: T) -> &mut T

    Inserts value into the option if it is None, then\nreturns a mutable reference to the contained value.

    \n

    See also Option::insert, which updates the value even if\nthe option already contains Some.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert(5);\n    assert_eq!(y, &5);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.83.0 · Source

    pub fn get_or_insert_default(&mut self) -> &mut T
    where\n T: Default,

    Inserts the default value into the option if it is None, then\nreturns a mutable reference to the contained value.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert_default();\n    assert_eq!(y, &0);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.20.0 · Source

    pub fn get_or_insert_with<F>(&mut self, f: F) -> &mut T
    where\n F: FnOnce() -> T,

    Inserts a value computed from f into the option if it is None,\nthen returns a mutable reference to the contained value.

    \n
    §Examples
    \n
    let mut x = None;\n\n{\n    let y: &mut u32 = x.get_or_insert_with(|| 5);\n    assert_eq!(y, &5);\n\n    *y = 7;\n}\n\nassert_eq!(x, Some(7));
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn take(&mut self) -> Option<T>

    Takes the value out of the option, leaving a None in its place.

    \n
    §Examples
    \n
    let mut x = Some(2);\nlet y = x.take();\nassert_eq!(x, None);\nassert_eq!(y, Some(2));\n\nlet mut x: Option<u32> = None;\nlet y = x.take();\nassert_eq!(x, None);\nassert_eq!(y, None);
    \n
    1.80.0 · Source

    pub fn take_if<P>(&mut self, predicate: P) -> Option<T>
    where\n P: FnOnce(&mut T) -> bool,

    Takes the value out of the option, but only if the predicate evaluates to\ntrue on a mutable reference to the value.

    \n

    In other words, replaces self with None if the predicate returns true.\nThis method operates similar to Option::take but conditional.

    \n
    §Examples
    \n
    let mut x = Some(42);\n\nlet prev = x.take_if(|v| if *v == 42 {\n    *v += 1;\n    false\n} else {\n    false\n});\nassert_eq!(x, Some(43));\nassert_eq!(prev, None);\n\nlet prev = x.take_if(|v| *v == 43);\nassert_eq!(x, None);\nassert_eq!(prev, Some(43));
    \n
    1.31.0 (const: 1.83.0) · Source

    pub const fn replace(&mut self, value: T) -> Option<T>

    Replaces the actual value in the option by the value given in parameter,\nreturning the old value if present,\nleaving a Some in its place without deinitializing either one.

    \n
    §Examples
    \n
    let mut x = Some(2);\nlet old = x.replace(5);\nassert_eq!(x, Some(5));\nassert_eq!(old, Some(2));\n\nlet mut x = None;\nlet old = x.replace(3);\nassert_eq!(x, Some(3));\nassert_eq!(old, None);
    \n
    1.46.0 · Source

    pub fn zip<U>(self, other: Option<U>) -> Option<(T, U)>

    Zips self with another Option.

    \n

    If self is Some(s) and other is Some(o), this method returns Some((s, o)).\nOtherwise, None is returned.

    \n
    §Examples
    \n
    let x = Some(1);\nlet y = Some(\"hi\");\nlet z = None::<u8>;\n\nassert_eq!(x.zip(y), Some((1, \"hi\")));\nassert_eq!(x.zip(z), None);
    \n
    Source

    pub fn zip_with<U, F, R>(self, other: Option<U>, f: F) -> Option<R>
    where\n F: FnOnce(T, U) -> R,

    🔬This is a nightly-only experimental API. (option_zip)

    Zips self and another Option with function f.

    \n

    If self is Some(s) and other is Some(o), this method returns Some(f(s, o)).\nOtherwise, None is returned.

    \n
    §Examples
    \n
    #![feature(option_zip)]\n\n#[derive(Debug, PartialEq)]\nstruct Point {\n    x: f64,\n    y: f64,\n}\n\nimpl Point {\n    fn new(x: f64, y: f64) -> Self {\n        Self { x, y }\n    }\n}\n\nlet x = Some(17.5);\nlet y = Some(42.7);\n\nassert_eq!(x.zip_with(y, Point::new), Some(Point { x: 17.5, y: 42.7 }));\nassert_eq!(x.zip_with(None, Point::new), None);
    \n
    ",0,"numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Ord for Option<T>
    where\n T: Ord,

    Source§

    fn cmp(&self, other: &Option<T>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n 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\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> PartialEq for Option<T>
    where\n T: PartialEq,

    Source§

    fn eq(&self, other: &Option<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> PartialOrd for Option<T>
    where\n T: PartialOrd,

    Source§

    fn partial_cmp(&self, other: &Option<T>) -> 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

    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

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.37.0 · Source§

    impl<T, U> Product<Option<U>> for Option<T>
    where\n T: Product<U>,

    Source§

    fn product<I>(iter: I) -> Option<T>
    where\n I: Iterator<Item = Option<U>>,

    Takes each element in the Iterator: if it is a None, no further\nelements are taken, and the None is returned. Should no None\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns None:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Option<usize> = nums.iter().map(|w| w.parse::<usize>().ok()).product();\nassert_eq!(total, Some(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Option<usize> = nums.iter().map(|w| w.parse::<usize>().ok()).product();\nassert_eq!(total, None);
    \n
    ","Product>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.37.0 · Source§

    impl<T, U> Sum<Option<U>> for Option<T>
    where\n T: Sum<U>,

    Source§

    fn sum<I>(iter: I) -> Option<T>
    where\n I: Iterator<Item = Option<U>>,

    Takes each element in the Iterator: if it is a None, no further\nelements are taken, and the None is returned. Should no None\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up the position of the character ‘a’ in a vector of strings,\nif a word did not have the character ‘a’ the operation returns None:

    \n\n
    let words = vec![\"have\", \"a\", \"great\", \"day\"];\nlet total: Option<usize> = words.iter().map(|w| w.find('a')).sum();\nassert_eq!(total, Some(5));\nlet words = vec![\"have\", \"a\", \"good\", \"day\"];\nlet total: Option<usize> = words.iter().map(|w| w.find('a')).sum();\nassert_eq!(total, None);
    \n
    ","Sum>","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    §

    impl<T> ToPyObject for Option<T>
    where\n T: ToPyObject,

    Option::Some<T> is converted like T.\nOption::None is converted to Python None.

    \n
    §

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

    👎Deprecated since 0.23.0: ToPyObject is going to be replaced by IntoPyObject. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.
    Converts self into a Python object.
    ","ToPyObject","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    Source§

    impl<T> Try for Option<T>

    Source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    Source§

    type Residual = Option<Infallible>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    Source§

    fn from_output(output: <Option<T> as Try>::Output) -> Option<T>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    Source§

    fn branch(\n self,\n) -> ControlFlow<<Option<T> as Try>::Residual, <Option<T> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Copy for Option<T>
    where\n T: Copy,

    ","Copy","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> Eq for Option<T>
    where\n T: Eq,

    ","Eq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"],["
    1.0.0 · Source§

    impl<T> StructuralPartialEq for Option<T>

    ","StructuralPartialEq","numpy::npyffi::objects::PyArray_GetItemFunc","numpy::npyffi::objects::PyArray_SetItemFunc","numpy::npyffi::objects::PyArray_CopySwapNFunc","numpy::npyffi::objects::PyArray_CopySwapFunc","numpy::npyffi::objects::PyArray_NonzeroFunc","numpy::npyffi::objects::PyArray_CompareFunc","numpy::npyffi::objects::PyArray_ArgFunc","numpy::npyffi::objects::PyArray_DotFunc","numpy::npyffi::objects::PyArray_VectorUnaryFunc","numpy::npyffi::objects::PyArray_ScanFunc","numpy::npyffi::objects::PyArray_FromStrFunc","numpy::npyffi::objects::PyArray_FillFunc","numpy::npyffi::objects::PyArray_SortFunc","numpy::npyffi::objects::PyArray_ArgSortFunc","numpy::npyffi::objects::PyArray_PartitionFunc","numpy::npyffi::objects::PyArray_ArgPartitionFunc","numpy::npyffi::objects::PyArray_FillWithScalarFunc","numpy::npyffi::objects::PyArray_ScalarKindFunc","numpy::npyffi::objects::PyArray_FastClipFunc","numpy::npyffi::objects::PyArray_FastPutmaskFunc","numpy::npyffi::objects::PyArray_FastTakeFunc","numpy::npyffi::objects::PyUFuncGenericFunction","numpy::npyffi::objects::PyUFunc_MaskedStridedInnerLoopFunc","numpy::npyffi::objects::PyUFunc_TypeResolutionFunc","numpy::npyffi::objects::PyUFunc_LegacyInnerLoopSelectionFunc","numpy::npyffi::objects::PyUFunc_MaskedInnerLoopSelectionFunc","numpy::npyffi::objects::NpyIter_IterNextFunc","numpy::npyffi::objects::NpyIter_GetMultiIndexFunc","numpy::npyffi::objects::PyDataMem_EventHookFunc","numpy::npyffi::objects::npy_iter_get_dataptr_t","numpy::npyffi::objects::NpyAuxData_FreeFunc","numpy::npyffi::objects::NpyAuxData_CloneFunc"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[199450]} \ No newline at end of file +//{"start":55,"fragment_lengths":[199046]} \ No newline at end of file diff --git a/type.impl/ndarray/dimension/dim/struct.Dim.js b/type.impl/ndarray/dimension/dim/struct.Dim.js index 8a30b7b8..74797302 100644 --- a/type.impl/ndarray/dimension/dim/struct.Dim.js +++ b/type.impl/ndarray/dimension/dim/struct.Dim.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Add<usize> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 1]>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: usize) -> Dim<[usize; 1]>

    Performs the + operation. Read more
    ","Add","numpy::Ix1"],["
    source§

    impl<I> Add for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    type Output = Dim<I>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Dim<I>) -> Dim<I>

    Performs the + operation. Read more
    ","Add","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<'a, I> AddAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn add_assign(&mut self, rhs: &Dim<I>)

    Performs the += operation. Read more
    ","AddAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl AddAssign<usize> for Dim<[usize; 1]>

    source§

    fn add_assign(&mut self, rhs: usize)

    Performs the += operation. Read more
    ","AddAssign","numpy::Ix1"],["
    source§

    impl<I> AddAssign for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn add_assign(&mut self, rhs: Dim<I>)

    Performs the += operation. Read more
    ","AddAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> Clone for Dim<I>
    where\n I: Clone + ?Sized,

    source§

    fn clone(&self) -> Dim<I>

    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
    ","Clone","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> Debug for Dim<I>
    where\n I: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> Default for Dim<I>
    where\n I: Default + ?Sized,

    source§

    fn default() -> Dim<I>

    Returns the “default value” for a type. Read more
    ","Default","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl Dim<IxDynImpl>

    source

    pub fn zeros(n: usize) -> Dim<IxDynImpl>

    Create a new dimension value with n axes, all zeros

    \n
    ",0,"numpy::IxDyn"],["
    source§

    impl<D> DimAdd<D> for Dim<IxDynImpl>
    where\n D: Dimension,

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd","numpy::IxDyn"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 1]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 2]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 2]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 1]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 2]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 3]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 1]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 0]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 1]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 2]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 3]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 4]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 6]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl DimMax<Dim<[usize; 5]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 2]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 3]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 4]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 5]>

    source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<[usize; 6]>> for Dim<IxDynImpl>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 1]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 2]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 3]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 4]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 5]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 6]>

    source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    source§

    impl Dimension for Dim<[usize; 1]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = usize

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 0]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<[usize; 2]>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 1]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 1]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix1"],["
    source§

    impl Dimension for Dim<[usize; 2]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = (usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 1]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<[usize; 3]>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 2]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 2]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix2"],["
    source§

    impl Dimension for Dim<[usize; 3]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = (usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 2]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<[usize; 4]>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 3]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 3]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix3"],["
    source§

    impl Dimension for Dim<[usize; 4]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = (usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 3]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<[usize; 5]>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 4]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 4]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix4"],["
    source§

    impl Dimension for Dim<[usize; 5]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = (usize, usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 4]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<[usize; 6]>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 5]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 5]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix5"],["
    source§

    impl Dimension for Dim<[usize; 6]>

    source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = (usize, usize, usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<[usize; 5]>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<IxDynImpl>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<[usize; 6]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<[usize; 6]>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix6"],["
    source§

    impl Dimension for Dim<IxDynImpl>

    IxDyn is a “dynamic” index, pretty hard to use when indexing,\nand memory wasteful, but it allows an arbitrary and dynamic number of axes.

    \n
    source§

    const NDIM: Option<usize> = None

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    source§

    type Pattern = Dim<IxDynImpl>

    Pattern matching friendly form of the dimension value. Read more
    source§

    type Smaller = Dim<IxDynImpl>

    Next smaller dimension (if applicable)
    source§

    type Larger = Dim<IxDynImpl>

    Next larger dimension
    source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    source§

    fn into_pattern(self) -> <Dim<IxDynImpl> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    source§

    fn zeros(ndim: usize) -> Dim<IxDynImpl>

    Creates a dimension of all zeros with the specified ndim. Read more
    source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    ","Dimension","numpy::IxDyn"],["
    source§

    impl<I> Hash for Dim<I>
    where\n I: Hash + ?Sized,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    ","Hash","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl Index<usize> for Dim<[usize; 1]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 1]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix1"],["
    source§

    impl Index<usize> for Dim<[usize; 2]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 2]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix2"],["
    source§

    impl Index<usize> for Dim<[usize; 3]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 3]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix3"],["
    source§

    impl Index<usize> for Dim<[usize; 4]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 4]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix4"],["
    source§

    impl Index<usize> for Dim<[usize; 5]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 5]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix5"],["
    source§

    impl Index<usize> for Dim<[usize; 6]>

    source§

    type Output = usize

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<[usize; 6]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix6"],["
    source§

    impl Index<usize> for Dim<IxDynImpl>

    source§

    type Output = <IxDynImpl as Index<usize>>::Output

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &<Dim<IxDynImpl> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::IxDyn"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 1]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 1]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix1"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 2]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 2]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix2"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 3]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 3]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix3"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 4]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 4]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix4"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 5]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 5]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix5"],["
    source§

    impl IndexMut<usize> for Dim<[usize; 6]>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 6]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix6"],["
    source§

    impl IndexMut<usize> for Dim<IxDynImpl>

    source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<IxDynImpl> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::IxDyn"],["
    source§

    impl<I> Mul<usize> for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    type Output = Dim<I>

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: usize) -> Dim<I>

    Performs the * operation. Read more
    ","Mul","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> Mul for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    type Output = Dim<I>

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Dim<I>) -> Dim<I>

    Performs the * operation. Read more
    ","Mul","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<'a, I> MulAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn mul_assign(&mut self, rhs: &Dim<I>)

    Performs the *= operation. Read more
    ","MulAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> MulAssign<usize> for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn mul_assign(&mut self, rhs: usize)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> MulAssign for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn mul_assign(&mut self, rhs: Dim<I>)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> PartialEq<I> for Dim<I>
    where\n I: PartialEq + ?Sized,

    source§

    fn eq(&self, rhs: &I) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> PartialEq for Dim<I>
    where\n I: PartialEq + ?Sized,

    source§

    fn eq(&self, other: &Dim<I>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl RemoveAxis for Dim<[usize; 1]>

    source§

    fn remove_axis(&self, axis: Axis) -> Dim<[usize; 0]>

    ","RemoveAxis","numpy::Ix1"],["
    source§

    impl RemoveAxis for Dim<[usize; 2]>

    source§

    fn remove_axis(&self, axis: Axis) -> Dim<[usize; 1]>

    ","RemoveAxis","numpy::Ix2"],["
    source§

    impl RemoveAxis for Dim<[usize; 3]>

    source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 3]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix3"],["
    source§

    impl RemoveAxis for Dim<[usize; 4]>

    source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 4]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix4"],["
    source§

    impl RemoveAxis for Dim<[usize; 5]>

    source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 5]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix5"],["
    source§

    impl RemoveAxis for Dim<[usize; 6]>

    source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 6]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix6"],["
    source§

    impl RemoveAxis for Dim<IxDynImpl>

    source§

    fn remove_axis(&self, axis: Axis) -> Dim<IxDynImpl>

    ","RemoveAxis","numpy::IxDyn"],["
    source§

    impl Sub<usize> for Dim<[usize; 1]>

    source§

    type Output = Dim<[usize; 1]>

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: usize) -> Dim<[usize; 1]>

    Performs the - operation. Read more
    ","Sub","numpy::Ix1"],["
    source§

    impl<I> Sub for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    type Output = Dim<I>

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Dim<I>) -> Dim<I>

    Performs the - operation. Read more
    ","Sub","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<'a, I> SubAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn sub_assign(&mut self, rhs: &Dim<I>)

    Performs the -= operation. Read more
    ","SubAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl SubAssign<usize> for Dim<[usize; 1]>

    source§

    fn sub_assign(&mut self, rhs: usize)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Ix1"],["
    source§

    impl<I> SubAssign for Dim<I>
    where\n Dim<I>: Dimension,

    source§

    fn sub_assign(&mut self, rhs: Dim<I>)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl Zero for Dim<[usize; 1]>

    source§

    fn zero() -> Dim<[usize; 1]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix1"],["
    source§

    impl Zero for Dim<[usize; 2]>

    source§

    fn zero() -> Dim<[usize; 2]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix2"],["
    source§

    impl Zero for Dim<[usize; 3]>

    source§

    fn zero() -> Dim<[usize; 3]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix3"],["
    source§

    impl Zero for Dim<[usize; 4]>

    source§

    fn zero() -> Dim<[usize; 4]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix4"],["
    source§

    impl Zero for Dim<[usize; 5]>

    source§

    fn zero() -> Dim<[usize; 5]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix5"],["
    source§

    impl Zero for Dim<[usize; 6]>

    source§

    fn zero() -> Dim<[usize; 6]>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix6"],["
    source§

    impl<I> Copy for Dim<I>
    where\n I: Copy + ?Sized,

    ","Copy","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<I> Eq for Dim<I>
    where\n I: Eq + ?Sized,

    ","Eq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    source§

    impl<const N: usize> NdIndex<Dim<IxDynImpl>> for Dim<[usize; N]>

    ","NdIndex>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6"],["
    source§

    impl<I> StructuralPartialEq for Dim<I>
    where\n I: ?Sized,

    ","StructuralPartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Add<usize> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 1]>

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: usize) -> Dim<[usize; 1]>

    Performs the + operation. Read more
    ","Add","numpy::Ix1"],["
    Source§

    impl<I> Add for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    type Output = Dim<I>

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: Dim<I>) -> Dim<I>

    Performs the + operation. Read more
    ","Add","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<'a, I> AddAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn add_assign(&mut self, rhs: &Dim<I>)

    Performs the += operation. Read more
    ","AddAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl AddAssign<usize> for Dim<[usize; 1]>

    Source§

    fn add_assign(&mut self, rhs: usize)

    Performs the += operation. Read more
    ","AddAssign","numpy::Ix1"],["
    Source§

    impl<I> AddAssign for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn add_assign(&mut self, rhs: Dim<I>)

    Performs the += operation. Read more
    ","AddAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> Clone for Dim<I>
    where\n I: Clone + ?Sized,

    Source§

    fn clone(&self) -> Dim<I>

    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
    ","Clone","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> Debug for Dim<I>
    where\n I: Debug,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> Default for Dim<I>
    where\n I: Default + ?Sized,

    Source§

    fn default() -> Dim<I>

    Returns the “default value” for a type. Read more
    ","Default","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl Dim<IxDynImpl>

    Source

    pub fn zeros(n: usize) -> Dim<IxDynImpl>

    Create a new dimension value with n axes, all zeros

    \n
    ",0,"numpy::IxDyn"],["
    Source§

    impl<D> DimAdd<D> for Dim<IxDynImpl>
    where\n D: Dimension,

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd","numpy::IxDyn"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 1]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 2]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 0]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 2]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 1]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 3]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 2]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 4]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 3]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 5]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 4]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 6]>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 5]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<[usize; 6]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix1"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix2"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix3"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix4"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix5"],["
    Source§

    impl DimAdd<Dim<IxDynImpl>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The sum of the two dimensions.
    ","DimAdd>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 1]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 0]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 1]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 2]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 2]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 3]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 3]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 4]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 4]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 5]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl DimMax<Dim<[usize; 5]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<[usize; 6]>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<[usize; 6]>> for Dim<IxDynImpl>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::IxDyn"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 1]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix1"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 2]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix2"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 3]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix3"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 4]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix4"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 5]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix5"],["
    Source§

    impl DimMax<Dim<IxDynImpl>> for Dim<[usize; 6]>

    Source§

    type Output = Dim<IxDynImpl>

    The resulting dimension type after broadcasting.
    ","DimMax>","numpy::Ix6"],["
    Source§

    impl Dimension for Dim<[usize; 1]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = usize

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 0]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<[usize; 2]>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 1]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 1]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix1"],["
    Source§

    impl Dimension for Dim<[usize; 2]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = (usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 1]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<[usize; 3]>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 2]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 2]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix2"],["
    Source§

    impl Dimension for Dim<[usize; 3]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = (usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 2]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<[usize; 4]>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 3]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 3]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix3"],["
    Source§

    impl Dimension for Dim<[usize; 4]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = (usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 3]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<[usize; 5]>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 4]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 4]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix4"],["
    Source§

    impl Dimension for Dim<[usize; 5]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = (usize, usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 4]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<[usize; 6]>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 5]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 5]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix5"],["
    Source§

    impl Dimension for Dim<[usize; 6]>

    Source§

    const NDIM: Option<usize> = _

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = (usize, usize, usize, usize, usize, usize)

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<[usize; 5]>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<IxDynImpl>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<[usize; 6]> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<[usize; 6]>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    ","Dimension","numpy::Ix6"],["
    Source§

    impl Dimension for Dim<IxDynImpl>

    IxDyn is a “dynamic” index, pretty hard to use when indexing,\nand memory wasteful, but it allows an arbitrary and dynamic number of axes.

    \n
    Source§

    const NDIM: Option<usize> = None

    For fixed-size dimension representations (e.g. Ix2), this should be\nSome(ndim), and for variable-size dimension representations (e.g.\nIxDyn), this should be None.
    Source§

    type Pattern = Dim<IxDynImpl>

    Pattern matching friendly form of the dimension value. Read more
    Source§

    type Smaller = Dim<IxDynImpl>

    Next smaller dimension (if applicable)
    Source§

    type Larger = Dim<IxDynImpl>

    Next larger dimension
    Source§

    fn ndim(&self) -> usize

    Returns the number of dimensions (number of axes).
    Source§

    fn into_pattern(self) -> <Dim<IxDynImpl> as Dimension>::Pattern

    Convert the dimension into a pattern matching friendly value.
    Source§

    fn zeros(ndim: usize) -> Dim<IxDynImpl>

    Creates a dimension of all zeros with the specified ndim. Read more
    Source§

    fn into_dyn(self) -> Dim<IxDynImpl>

    Convert the dimensional into a dynamic dimensional (IxDyn).
    Source§

    fn size(&self) -> usize

    Compute the size of the dimension (number of elements)
    Source§

    fn size_checked(&self) -> Option<usize>

    Compute the size while checking for overflow.
    Source§

    fn as_array_view(&self) -> ArrayBase<ViewRepr<&usize>, Dim<[usize; 1]>>

    Borrow as a read-only array view.
    Source§

    fn as_array_view_mut(\n &mut self,\n) -> ArrayBase<ViewRepr<&mut usize>, Dim<[usize; 1]>>

    Borrow as a read-write array view.
    ","Dimension","numpy::IxDyn"],["
    Source§

    impl<I> Hash for Dim<I>
    where\n I: Hash + ?Sized,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl Index<usize> for Dim<[usize; 1]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 1]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix1"],["
    Source§

    impl Index<usize> for Dim<[usize; 2]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 2]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix2"],["
    Source§

    impl Index<usize> for Dim<[usize; 3]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 3]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix3"],["
    Source§

    impl Index<usize> for Dim<[usize; 4]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 4]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix4"],["
    Source§

    impl Index<usize> for Dim<[usize; 5]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 5]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix5"],["
    Source§

    impl Index<usize> for Dim<[usize; 6]>

    Source§

    type Output = usize

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<[usize; 6]> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::Ix6"],["
    Source§

    impl Index<usize> for Dim<IxDynImpl>

    Source§

    type Output = <IxDynImpl as Index<usize>>::Output

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &<Dim<IxDynImpl> as Index<usize>>::Output

    Performs the indexing (container[index]) operation. Read more
    ","Index","numpy::IxDyn"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 1]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 1]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix1"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 2]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 2]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix2"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 3]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 3]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix3"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 4]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 4]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix4"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 5]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 5]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix5"],["
    Source§

    impl IndexMut<usize> for Dim<[usize; 6]>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<[usize; 6]> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::Ix6"],["
    Source§

    impl IndexMut<usize> for Dim<IxDynImpl>

    Source§

    fn index_mut(\n &mut self,\n index: usize,\n) -> &mut <Dim<IxDynImpl> as Index<usize>>::Output

    Performs the mutable indexing (container[index]) operation. Read more
    ","IndexMut","numpy::IxDyn"],["
    Source§

    impl<I> Mul<usize> for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    type Output = Dim<I>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: usize) -> Dim<I>

    Performs the * operation. Read more
    ","Mul","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> Mul for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    type Output = Dim<I>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: Dim<I>) -> Dim<I>

    Performs the * operation. Read more
    ","Mul","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<'a, I> MulAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn mul_assign(&mut self, rhs: &Dim<I>)

    Performs the *= operation. Read more
    ","MulAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> MulAssign<usize> for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn mul_assign(&mut self, rhs: usize)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> MulAssign for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn mul_assign(&mut self, rhs: Dim<I>)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> PartialEq<I> for Dim<I>
    where\n I: PartialEq + ?Sized,

    Source§

    fn eq(&self, rhs: &I) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> PartialEq for Dim<I>
    where\n I: PartialEq + ?Sized,

    Source§

    fn eq(&self, other: &Dim<I>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl RemoveAxis for Dim<[usize; 1]>

    Source§

    fn remove_axis(&self, axis: Axis) -> Dim<[usize; 0]>

    ","RemoveAxis","numpy::Ix1"],["
    Source§

    impl RemoveAxis for Dim<[usize; 2]>

    Source§

    fn remove_axis(&self, axis: Axis) -> Dim<[usize; 1]>

    ","RemoveAxis","numpy::Ix2"],["
    Source§

    impl RemoveAxis for Dim<[usize; 3]>

    Source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 3]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix3"],["
    Source§

    impl RemoveAxis for Dim<[usize; 4]>

    Source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 4]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix4"],["
    Source§

    impl RemoveAxis for Dim<[usize; 5]>

    Source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 5]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix5"],["
    Source§

    impl RemoveAxis for Dim<[usize; 6]>

    Source§

    fn remove_axis(&self, axis: Axis) -> <Dim<[usize; 6]> as Dimension>::Smaller

    ","RemoveAxis","numpy::Ix6"],["
    Source§

    impl RemoveAxis for Dim<IxDynImpl>

    Source§

    fn remove_axis(&self, axis: Axis) -> Dim<IxDynImpl>

    ","RemoveAxis","numpy::IxDyn"],["
    Source§

    impl Sub<usize> for Dim<[usize; 1]>

    Source§

    type Output = Dim<[usize; 1]>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: usize) -> Dim<[usize; 1]>

    Performs the - operation. Read more
    ","Sub","numpy::Ix1"],["
    Source§

    impl<I> Sub for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    type Output = Dim<I>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: Dim<I>) -> Dim<I>

    Performs the - operation. Read more
    ","Sub","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<'a, I> SubAssign<&'a Dim<I>> for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn sub_assign(&mut self, rhs: &Dim<I>)

    Performs the -= operation. Read more
    ","SubAssign<&'a Dim>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl SubAssign<usize> for Dim<[usize; 1]>

    Source§

    fn sub_assign(&mut self, rhs: usize)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Ix1"],["
    Source§

    impl<I> SubAssign for Dim<I>
    where\n Dim<I>: Dimension,

    Source§

    fn sub_assign(&mut self, rhs: Dim<I>)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl Zero for Dim<[usize; 1]>

    Source§

    fn zero() -> Dim<[usize; 1]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix1"],["
    Source§

    impl Zero for Dim<[usize; 2]>

    Source§

    fn zero() -> Dim<[usize; 2]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix2"],["
    Source§

    impl Zero for Dim<[usize; 3]>

    Source§

    fn zero() -> Dim<[usize; 3]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix3"],["
    Source§

    impl Zero for Dim<[usize; 4]>

    Source§

    fn zero() -> Dim<[usize; 4]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix4"],["
    Source§

    impl Zero for Dim<[usize; 5]>

    Source§

    fn zero() -> Dim<[usize; 5]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix5"],["
    Source§

    impl Zero for Dim<[usize; 6]>

    Source§

    fn zero() -> Dim<[usize; 6]>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Ix6"],["
    Source§

    impl<I> Copy for Dim<I>
    where\n I: Copy + ?Sized,

    ","Copy","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<I> Eq for Dim<I>
    where\n I: Eq + ?Sized,

    ","Eq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"],["
    Source§

    impl<const N: usize> NdIndex<Dim<IxDynImpl>> for Dim<[usize; N]>

    ","NdIndex>","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6"],["
    Source§

    impl<I> StructuralPartialEq for Dim<I>
    where\n I: ?Sized,

    ","StructuralPartialEq","numpy::Ix1","numpy::Ix2","numpy::Ix3","numpy::Ix4","numpy::Ix5","numpy::Ix6","numpy::IxDyn"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[456120]} \ No newline at end of file +//{"start":55,"fragment_lengths":[457460]} \ No newline at end of file diff --git a/type.impl/num_complex/struct.Complex.js b/type.impl/num_complex/struct.Complex.js index aaab1038..903e6882 100644 --- a/type.impl/num_complex/struct.Complex.js +++ b/type.impl/num_complex/struct.Complex.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl<'a, S, D> Add<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the + operator.
    source§

    fn add(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Add<&'a ArrayBase<S, D>>>::Output

    Performs the + operation. Read more
    ","Add<&'a ArrayBase>","numpy::Complex32"],["
    source§

    impl<'a, S, D> Add<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the + operator.
    source§

    fn add(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Add<&'a ArrayBase<S, D>>>::Output

    Performs the + operation. Read more
    ","Add<&'a ArrayBase>","numpy::Complex64"],["
    source§

    impl<'a, T> Add<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &Complex<T>) -> <Complex<T> as Add<&'a Complex<T>>>::Output

    Performs the + operation. Read more
    ","Add<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Add<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &T) -> <Complex<T> as Add<&'a T>>::Output

    Performs the + operation. Read more
    ","Add<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<S, D> Add<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the + operation. Read more
    ","Add>","numpy::Complex32"],["
    source§

    impl<S, D> Add<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the + operation. Read more
    ","Add>","numpy::Complex64"],["
    source§

    impl<T> Add<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, other: T) -> <Complex<T> as Add<T>>::Output

    Performs the + operation. Read more
    ","Add","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Add for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, other: Complex<T>) -> <Complex<T> as Add>::Output

    Performs the + operation. Read more
    ","Add","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> AddAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn add_assign(&mut self, other: &Complex<T>)

    Performs the += operation. Read more
    ","AddAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> AddAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn add_assign(&mut self, other: &T)

    Performs the += operation. Read more
    ","AddAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> AddAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn add_assign(&mut self, other: T)

    Performs the += operation. Read more
    ","AddAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> AddAssign for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn add_assign(&mut self, other: Complex<T>)

    Performs the += operation. Read more
    ","AddAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T, U> AsPrimitive<U> for Complex<T>
    where\n T: AsPrimitive<U>,\n U: 'static + Copy,

    source§

    fn as_(self) -> U

    Convert a value to another, using the as operator.
    ","AsPrimitive","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Binary for Complex<T>
    where\n T: Binary + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","Binary","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Clone for Complex<T>
    where\n T: Clone,

    source§

    fn clone(&self) -> Complex<T>

    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
    ","Clone","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: ConstZero,

    source

    pub const ZERO: Complex<T> = _

    A constant Complex 0.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: ConstOne + ConstZero,

    source

    pub const ONE: Complex<T> = _

    A constant Complex 1.

    \n
    source

    pub const I: Complex<T> = _

    A constant Complex i, the imaginary unit.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>

    source

    pub const fn new(re: T, im: T) -> Complex<T>

    Create a new Complex

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: Clone + Num,

    source

    pub fn i() -> Complex<T>

    Returns the imaginary unit.

    \n

    See also Complex::I.

    \n
    source

    pub fn norm_sqr(&self) -> T

    Returns the square of the norm (since T doesn’t necessarily\nhave a sqrt function), i.e. re^2 + im^2.

    \n
    source

    pub fn scale(&self, t: T) -> Complex<T>

    Multiplies self by the scalar t.

    \n
    source

    pub fn unscale(&self, t: T) -> Complex<T>

    Divides self by the scalar t.

    \n
    source

    pub fn powu(&self, exp: u32) -> Complex<T>

    Raises self to an unsigned integer power.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    source

    pub fn conj(&self) -> Complex<T>

    Returns the complex conjugate. i.e. re - i im

    \n
    source

    pub fn inv(&self) -> Complex<T>

    Returns 1/self

    \n
    source

    pub fn powi(&self, exp: i32) -> Complex<T>

    Raises self to a signed integer power.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: Clone + Signed,

    source

    pub fn l1_norm(&self) -> T

    Returns the L1 norm |re| + |im| – the Manhattan distance from the origin.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: Float,

    source

    pub fn cis(phase: T) -> Complex<T>

    Create a new Complex with a given phase: exp(i * phase).\nSee cis (mathematics).

    \n
    source

    pub fn norm(self) -> T

    Calculate |self|

    \n
    source

    pub fn arg(self) -> T

    Calculate the principal Arg of self.

    \n
    source

    pub fn to_polar(self) -> (T, T)

    Convert to polar form (r, theta), such that\nself = r * exp(i * theta)

    \n
    source

    pub fn from_polar(r: T, theta: T) -> Complex<T>

    Convert a polar representation into a complex number.

    \n
    source

    pub fn exp(self) -> Complex<T>

    Computes e^(self), where e is the base of the natural logarithm.

    \n
    source

    pub fn ln(self) -> Complex<T>

    Computes the principal value of natural logarithm of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0], continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ arg(ln(z)) ≤ π.

    \n
    source

    pub fn sqrt(self) -> Complex<T>

    Computes the principal value of the square root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/2 ≤ arg(sqrt(z)) ≤ π/2.

    \n
    source

    pub fn cbrt(self) -> Complex<T>

    Computes the principal value of the cube root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/3 ≤ arg(cbrt(z)) ≤ π/3.

    \n

    Note that this does not match the usual result for the cube root of\nnegative real numbers. For example, the real cube root of -8 is -2,\nbut the principal complex cube root of -8 is 1 + i√3.

    \n
    source

    pub fn powf(self, exp: T) -> Complex<T>

    Raises self to a floating point power.

    \n
    source

    pub fn log(self, base: T) -> Complex<T>

    Returns the logarithm of self with respect to an arbitrary base.

    \n
    source

    pub fn powc(self, exp: Complex<T>) -> Complex<T>

    Raises self to a complex power.

    \n
    source

    pub fn expf(self, base: T) -> Complex<T>

    Raises a floating point number to the complex power self.

    \n
    source

    pub fn sin(self) -> Complex<T>

    Computes the sine of self.

    \n
    source

    pub fn cos(self) -> Complex<T>

    Computes the cosine of self.

    \n
    source

    pub fn tan(self) -> Complex<T>

    Computes the tangent of self.

    \n
    source

    pub fn asin(self) -> Complex<T>

    Computes the principal value of the inverse sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(asin(z)) ≤ π/2.

    \n
    source

    pub fn acos(self) -> Complex<T>

    Computes the principal value of the inverse cosine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies 0 ≤ Re(acos(z)) ≤ π.

    \n
    source

    pub fn atan(self) -> Complex<T>

    Computes the principal value of the inverse tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i], continuous from the left.
    • \n
    • [i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(atan(z)) ≤ π/2.

    \n
    source

    pub fn sinh(self) -> Complex<T>

    Computes the hyperbolic sine of self.

    \n
    source

    pub fn cosh(self) -> Complex<T>

    Computes the hyperbolic cosine of self.

    \n
    source

    pub fn tanh(self) -> Complex<T>

    Computes the hyperbolic tangent of self.

    \n
    source

    pub fn asinh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i), continuous from the left.
    • \n
    • (i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(asinh(z)) ≤ π/2.

    \n
    source

    pub fn acosh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic cosine of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 1), continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ Im(acosh(z)) ≤ π and 0 ≤ Re(acosh(z)) < ∞.

    \n
    source

    pub fn atanh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1], continuous from above.
    • \n
    • [1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(atanh(z)) ≤ π/2.

    \n
    source

    pub fn finv(self) -> Complex<T>

    Returns 1/self using floating-point operations.

    \n

    This may be more accurate than the generic self.inv() in cases\nwhere self.norm_sqr() would overflow to ∞ or underflow to 0.

    \n
    §Examples
    \n
    use num_complex::Complex64;\nlet c = Complex64::new(1e300, 1e300);\n\n// The generic `inv()` will overflow.\nassert!(!c.inv().is_normal());\n\n// But we can do better for `Float` types.\nlet inv = c.finv();\nassert!(inv.is_normal());\nprintln!(\"{:e}\", inv);\n\nlet expected = Complex64::new(5e-301, -5e-301);\nassert!((inv - expected).norm() < 1e-315);
    \n
    source

    pub fn fdiv(self, other: Complex<T>) -> Complex<T>

    Returns self/other using floating-point operations.

    \n

    This may be more accurate than the generic Div implementation in cases\nwhere other.norm_sqr() would overflow to ∞ or underflow to 0.

    \n
    §Examples
    \n
    use num_complex::Complex64;\nlet a = Complex64::new(2.0, 3.0);\nlet b = Complex64::new(1e300, 1e300);\n\n// Generic division will overflow.\nassert!(!(a / b).is_normal());\n\n// But we can do better for `Float` types.\nlet quotient = a.fdiv(b);\nassert!(quotient.is_normal());\nprintln!(\"{:e}\", quotient);\n\nlet expected = Complex64::new(2.5e-300, 5e-301);\nassert!((quotient - expected).norm() < 1e-315);
    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: Float + FloatConst,

    source

    pub fn exp2(self) -> Complex<T>

    Computes 2^(self).

    \n
    source

    pub fn log2(self) -> Complex<T>

    Computes the principal value of log base 2 of self.

    \n
    source

    pub fn log10(self) -> Complex<T>

    Computes the principal value of log base 10 of self.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Complex<T>
    where\n T: FloatCore,

    source

    pub fn is_nan(self) -> bool

    Checks if the given complex number is NaN

    \n
    source

    pub fn is_infinite(self) -> bool

    Checks if the given complex number is infinite

    \n
    source

    pub fn is_finite(self) -> bool

    Checks if the given complex number is finite

    \n
    source

    pub fn is_normal(self) -> bool

    Checks if the given complex number is normal

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> ComplexField for Complex<N>
    where\n N: RealField + PartialOrd,

    §

    fn exp(self) -> Complex<N>

    Computes e^(self), where e is the base of the natural logarithm.

    \n
    §

    fn ln(self) -> Complex<N>

    Computes the principal value of natural logarithm of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0], continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ arg(ln(z)) ≤ π.

    \n
    §

    fn sqrt(self) -> Complex<N>

    Computes the principal value of the square root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/2 ≤ arg(sqrt(z)) ≤ π/2.

    \n
    §

    fn powf(self, exp: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Raises self to a floating point power.

    \n
    §

    fn log(self, base: N) -> Complex<N>

    Returns the logarithm of self with respect to an arbitrary base.

    \n
    §

    fn powc(self, exp: Complex<N>) -> Complex<N>

    Raises self to a complex power.

    \n
    §

    fn sin(self) -> Complex<N>

    Computes the sine of self.

    \n
    §

    fn cos(self) -> Complex<N>

    Computes the cosine of self.

    \n
    §

    fn tan(self) -> Complex<N>

    Computes the tangent of self.

    \n
    §

    fn asin(self) -> Complex<N>

    Computes the principal value of the inverse sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(asin(z)) ≤ π/2.

    \n
    §

    fn acos(self) -> Complex<N>

    Computes the principal value of the inverse cosine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies 0 ≤ Re(acos(z)) ≤ π.

    \n
    §

    fn atan(self) -> Complex<N>

    Computes the principal value of the inverse tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i], continuous from the left.
    • \n
    • [i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(atan(z)) ≤ π/2.

    \n
    §

    fn sinh(self) -> Complex<N>

    Computes the hyperbolic sine of self.

    \n
    §

    fn cosh(self) -> Complex<N>

    Computes the hyperbolic cosine of self.

    \n
    §

    fn tanh(self) -> Complex<N>

    Computes the hyperbolic tangent of self.

    \n
    §

    fn asinh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i), continuous from the left.
    • \n
    • (i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(asinh(z)) ≤ π/2.

    \n
    §

    fn acosh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic cosine of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 1), continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ Im(acosh(z)) ≤ π and 0 ≤ Re(acosh(z)) < ∞.

    \n
    §

    fn atanh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1], continuous from above.
    • \n
    • [1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(atanh(z)) ≤ π/2.

    \n
    §

    type RealField = N

    §

    fn from_real(re: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Builds a pure-real complex number from the given value.
    §

    fn real(self) -> <Complex<N> as ComplexField>::RealField

    The real part of this complex number.
    §

    fn imaginary(self) -> <Complex<N> as ComplexField>::RealField

    The imaginary part of this complex number.
    §

    fn argument(self) -> <Complex<N> as ComplexField>::RealField

    The argument of this complex number.
    §

    fn modulus(self) -> <Complex<N> as ComplexField>::RealField

    The modulus of this complex number.
    §

    fn modulus_squared(self) -> <Complex<N> as ComplexField>::RealField

    The squared modulus of this complex number.
    §

    fn norm1(self) -> <Complex<N> as ComplexField>::RealField

    The sum of the absolute value of this complex number’s real and imaginary part.
    §

    fn recip(self) -> Complex<N>

    §

    fn conjugate(self) -> Complex<N>

    §

    fn scale(self, factor: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Multiplies this complex number by factor.
    §

    fn unscale(self, factor: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Divides this complex number by factor.
    §

    fn floor(self) -> Complex<N>

    §

    fn ceil(self) -> Complex<N>

    §

    fn round(self) -> Complex<N>

    §

    fn trunc(self) -> Complex<N>

    §

    fn fract(self) -> Complex<N>

    §

    fn mul_add(self, a: Complex<N>, b: Complex<N>) -> Complex<N>

    §

    fn abs(self) -> <Complex<N> as ComplexField>::RealField

    The absolute value of this complex number: self / self.signum(). Read more
    §

    fn exp2(self) -> Complex<N>

    §

    fn exp_m1(self) -> Complex<N>

    §

    fn ln_1p(self) -> Complex<N>

    §

    fn log2(self) -> Complex<N>

    §

    fn log10(self) -> Complex<N>

    §

    fn cbrt(self) -> Complex<N>

    §

    fn powi(self, n: i32) -> Complex<N>

    §

    fn is_finite(&self) -> bool

    §

    fn try_sqrt(self) -> Option<Complex<N>>

    §

    fn hypot(self, b: Complex<N>) -> <Complex<N> as ComplexField>::RealField

    Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
    §

    fn sin_cos(self) -> (Complex<N>, Complex<N>)

    §

    fn sinh_cosh(self) -> (Complex<N>, Complex<N>)

    §

    fn to_polar(self) -> (Self::RealField, Self::RealField)

    The polar form of this complex number: (modulus, arg)
    §

    fn to_exp(self) -> (Self::RealField, Self)

    The exponential form of this complex number: (modulus, e^{i arg})
    §

    fn signum(self) -> Self

    The exponential part of this complex number: self / self.modulus()
    §

    fn sinc(self) -> Self

    Cardinal sine
    §

    fn sinhc(self) -> Self

    §

    fn cosc(self) -> Self

    Cardinal cos
    §

    fn coshc(self) -> Self

    ","ComplexField","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> ComplexFloat for Complex<T>
    where\n T: Float + FloatConst,

    source§

    type Real = T

    The type used to represent the real coefficients of this complex number.
    source§

    fn re(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the real part of the number.
    source§

    fn im(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the imaginary part of the number.
    source§

    fn abs(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the absolute value of the number. See also Complex::norm
    source§

    fn recip(self) -> Complex<T>

    Take the reciprocal (inverse) of a number, 1/x. See also Complex::finv.
    source§

    fn l1_norm(&self) -> <Complex<T> as ComplexFloat>::Real

    Returns the L1 norm |re| + |im| – the Manhattan distance from the origin.
    source§

    fn is_nan(self) -> bool

    Returns true if this value is NaN and false otherwise.
    source§

    fn is_infinite(self) -> bool

    Returns true if this value is positive infinity or negative infinity and\nfalse otherwise.
    source§

    fn is_finite(self) -> bool

    Returns true if this number is neither infinite nor NaN.
    source§

    fn is_normal(self) -> bool

    Returns true if the number is neither zero, infinite,\nsubnormal, or NaN.
    source§

    fn arg(self) -> <Complex<T> as ComplexFloat>::Real

    Computes the argument of the number.
    source§

    fn powc(\n self,\n exp: Complex<<Complex<T> as ComplexFloat>::Real>,\n) -> Complex<<Complex<T> as ComplexFloat>::Real>

    Raises self to a complex power.
    source§

    fn exp2(self) -> Complex<T>

    Returns 2^(self).
    source§

    fn log(self, base: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Returns the logarithm of the number with respect to an arbitrary base.
    source§

    fn log2(self) -> Complex<T>

    Returns the base 2 logarithm of the number.
    source§

    fn log10(self) -> Complex<T>

    Returns the base 10 logarithm of the number.
    source§

    fn powf(self, f: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Raises self to a real power.
    source§

    fn sqrt(self) -> Complex<T>

    Take the square root of a number.
    source§

    fn cbrt(self) -> Complex<T>

    Take the cubic root of a number.
    source§

    fn exp(self) -> Complex<T>

    Returns e^(self), (the exponential function).
    source§

    fn expf(self, base: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Returns base^(self).
    source§

    fn ln(self) -> Complex<T>

    Returns the natural logarithm of the number.
    source§

    fn sin(self) -> Complex<T>

    Computes the sine of a number (in radians).
    source§

    fn cos(self) -> Complex<T>

    Computes the cosine of a number (in radians).
    source§

    fn tan(self) -> Complex<T>

    Computes the tangent of a number (in radians).
    source§

    fn asin(self) -> Complex<T>

    Computes the arcsine of a number. Return value is in radians in\nthe range [-pi/2, pi/2] or NaN if the number is outside the range\n[-1, 1].
    source§

    fn acos(self) -> Complex<T>

    Computes the arccosine of a number. Return value is in radians in\nthe range [0, pi] or NaN if the number is outside the range\n[-1, 1].
    source§

    fn atan(self) -> Complex<T>

    Computes the arctangent of a number. Return value is in radians in the\nrange [-pi/2, pi/2];
    source§

    fn sinh(self) -> Complex<T>

    Hyperbolic sine function.
    source§

    fn cosh(self) -> Complex<T>

    Hyperbolic cosine function.
    source§

    fn tanh(self) -> Complex<T>

    Hyperbolic tangent function.
    source§

    fn asinh(self) -> Complex<T>

    Inverse hyperbolic sine function.
    source§

    fn acosh(self) -> Complex<T>

    Inverse hyperbolic cosine function.
    source§

    fn atanh(self) -> Complex<T>

    Inverse hyperbolic tangent function.
    source§

    fn powi(self, n: i32) -> Complex<T>

    Raises self to a signed integer power.
    source§

    fn conj(self) -> Complex<T>

    Computes the complex conjugate of the number. Read more
    ","ComplexFloat","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> ConstOne for Complex<T>
    where\n T: Clone + Num + ConstOne + ConstZero,

    source§

    const ONE: Complex<T> = Self::ONE

    The multiplicative identity element of Self, 1.
    ","ConstOne","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> ConstZero for Complex<T>
    where\n T: Clone + Num + ConstZero,

    source§

    const ZERO: Complex<T> = Self::ZERO

    The additive identity element of Self, 0.
    ","ConstZero","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Debug for Complex<T>
    where\n T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Default for Complex<T>
    where\n T: Default,

    source§

    fn default() -> Complex<T>

    Returns the “default value” for a type. Read more
    ","Default","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Display for Complex<T>
    where\n T: Display + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, S, D> Div<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the / operator.
    source§

    fn div(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Div<&'a ArrayBase<S, D>>>::Output

    Performs the / operation. Read more
    ","Div<&'a ArrayBase>","numpy::Complex32"],["
    source§

    impl<'a, S, D> Div<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the / operator.
    source§

    fn div(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Div<&'a ArrayBase<S, D>>>::Output

    Performs the / operation. Read more
    ","Div<&'a ArrayBase>","numpy::Complex64"],["
    source§

    impl<'a, T> Div<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &Complex<T>) -> <Complex<T> as Div<&'a Complex<T>>>::Output

    Performs the / operation. Read more
    ","Div<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Div<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &T) -> <Complex<T> as Div<&'a T>>::Output

    Performs the / operation. Read more
    ","Div<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<S, D> Div<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the / operation. Read more
    ","Div>","numpy::Complex32"],["
    source§

    impl<S, D> Div<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the / operation. Read more
    ","Div>","numpy::Complex64"],["
    source§

    impl<T> Div<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    source§

    fn div(self, other: T) -> <Complex<T> as Div<T>>::Output

    Performs the / operation. Read more
    ","Div","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Div for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    source§

    fn div(self, other: Complex<T>) -> <Complex<T> as Div>::Output

    Performs the / operation. Read more
    ","Div","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> DivAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn div_assign(&mut self, other: &Complex<T>)

    Performs the /= operation. Read more
    ","DivAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> DivAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn div_assign(&mut self, other: &T)

    Performs the /= operation. Read more
    ","DivAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> DivAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn div_assign(&mut self, other: T)

    Performs the /= operation. Read more
    ","DivAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> DivAssign for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn div_assign(&mut self, other: Complex<T>)

    Performs the /= operation. Read more
    ","DivAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> From<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    fn from(re: &T) -> Complex<T>

    Converts to this type from the input type.
    ","From<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> From<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    fn from(re: T) -> Complex<T>

    Converts to this type from the input type.
    ","From","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> FromPrimitive for Complex<T>
    where\n T: FromPrimitive + Num,

    source§

    fn from_usize(n: usize) -> Option<Complex<T>>

    Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_isize(n: isize) -> Option<Complex<T>>

    Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u8(n: u8) -> Option<Complex<T>>

    Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u16(n: u16) -> Option<Complex<T>>

    Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u32(n: u32) -> Option<Complex<T>>

    Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u64(n: u64) -> Option<Complex<T>>

    Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i8(n: i8) -> Option<Complex<T>>

    Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i16(n: i16) -> Option<Complex<T>>

    Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i32(n: i32) -> Option<Complex<T>>

    Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i64(n: i64) -> Option<Complex<T>>

    Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u128(n: u128) -> Option<Complex<T>>

    Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_i128(n: i128) -> Option<Complex<T>>

    Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_f32(n: f32) -> Option<Complex<T>>

    Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_f64(n: f64) -> Option<Complex<T>>

    Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    ","FromPrimitive","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> FromStr for Complex<T>
    where\n T: FromStr + Num + Clone,

    source§

    fn from_str(s: &str) -> Result<Complex<T>, <Complex<T> as FromStr>::Err>

    Parses a +/- bi; ai +/- b; a; or bi where a and b are of type T

    \n
    source§

    type Err = ParseComplexError<<T as FromStr>::Err>

    The associated error which can be returned from parsing.
    ","FromStr","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Hash for Complex<T>
    where\n T: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Inv for Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn inv(self) -> <Complex<T> as Inv>::Output

    Returns the multiplicative inverse of self. Read more
    ","Inv","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> LowerExp for Complex<T>
    where\n T: LowerExp + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerExp","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> LowerHex for Complex<T>
    where\n T: LowerHex + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerHex","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, S, D> Mul<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the * operator.
    source§

    fn mul(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Mul<&'a ArrayBase<S, D>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a ArrayBase>","numpy::Complex32"],["
    source§

    impl<'a, S, D> Mul<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the * operator.
    source§

    fn mul(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Mul<&'a ArrayBase<S, D>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a ArrayBase>","numpy::Complex64"],["
    source§

    impl<'a, T> Mul<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &Complex<T>) -> <Complex<T> as Mul<&'a Complex<T>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Mul<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &T) -> <Complex<T> as Mul<&'a T>>::Output

    Performs the * operation. Read more
    ","Mul<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<S, D> Mul<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the * operation. Read more
    ","Mul>","numpy::Complex32"],["
    source§

    impl<S, D> Mul<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the * operation. Read more
    ","Mul>","numpy::Complex64"],["
    source§

    impl<T> Mul<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: T) -> <Complex<T> as Mul<T>>::Output

    Performs the * operation. Read more
    ","Mul","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Mul for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: Complex<T>) -> <Complex<T> as Mul>::Output

    Performs the * operation. Read more
    ","Mul","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> MulAdd for Complex<T>
    where\n T: Clone + Num + MulAdd<Output = T>,

    source§

    type Output = Complex<T>

    The resulting type after applying the fused multiply-add.
    source§

    fn mul_add(self, other: Complex<T>, add: Complex<T>) -> Complex<T>

    Performs the fused multiply-add operation (self * a) + b
    ","MulAdd","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, 'b, T> MulAddAssign<&'a Complex<T>, &'b Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign + MulAddAssign,

    source§

    fn mul_add_assign(&mut self, other: &Complex<T>, add: &Complex<T>)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign<&'a Complex, &'b Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> MulAddAssign for Complex<T>
    where\n T: Clone + NumAssign + MulAddAssign,

    source§

    fn mul_add_assign(&mut self, other: Complex<T>, add: Complex<T>)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> MulAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn mul_assign(&mut self, other: &Complex<T>)

    Performs the *= operation. Read more
    ","MulAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> MulAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn mul_assign(&mut self, other: &T)

    Performs the *= operation. Read more
    ","MulAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> MulAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn mul_assign(&mut self, other: T)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> MulAssign for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn mul_assign(&mut self, other: Complex<T>)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Neg for Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> <Complex<T> as Neg>::Output

    Performs the unary - operation. Read more
    ","Neg","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Normed for Complex<T>
    where\n T: SimdRealField,

    source§

    type Norm = <T as SimdComplexField>::SimdRealField

    The type of the norm.
    source§

    fn norm(&self) -> <T as SimdComplexField>::SimdRealField

    Computes the norm.
    source§

    fn norm_squared(&self) -> <T as SimdComplexField>::SimdRealField

    Computes the squared norm.
    source§

    fn scale_mut(&mut self, n: <Complex<T> as Normed>::Norm)

    Multiply self by n.
    source§

    fn unscale_mut(&mut self, n: <Complex<T> as Normed>::Norm)

    Divides self by n.
    ","Normed","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Num for Complex<T>
    where\n T: Num + Clone,

    source§

    fn from_str_radix(\n s: &str,\n radix: u32,\n) -> Result<Complex<T>, <Complex<T> as Num>::FromStrRadixErr>

    Parses a +/- bi; ai +/- b; a; or bi where a and b are of type T

    \n

    radix must be <= 18; larger radix would include i and j as digits,\nwhich cannot be supported.

    \n

    The conversion returns an error if 18 <= radix <= 36; it panics if radix > 36.

    \n

    The elements of T are parsed using Num::from_str_radix too, and errors\n(or panics) from that are reflected here as well.

    \n
    source§

    type FromStrRadixErr = ParseComplexError<<T as Num>::FromStrRadixErr>

    ","Num","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> NumCast for Complex<T>
    where\n T: NumCast + Num,

    source§

    fn from<U>(n: U) -> Option<Complex<T>>
    where\n U: ToPrimitive,

    Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
    ","NumCast","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Octal for Complex<T>
    where\n T: Octal + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","Octal","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> One for Complex<T>
    where\n T: Clone + Num,

    source§

    fn one() -> Complex<T>

    Returns the multiplicative identity element of Self, 1. Read more
    source§

    fn is_one(&self) -> bool

    Returns true if self is equal to the multiplicative identity. Read more
    source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    ","One","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> PartialEq for Complex<T>
    where\n T: PartialEq,

    source§

    fn eq(&self, other: &Complex<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'b, T> Pow<&'b Complex<T>> for Complex<T>
    where\n T: Float,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, _: &'b Complex<T>) -> <Complex<T> as Pow<&'b Complex<T>>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'b, T> Pow<&'b f32> for Complex<T>
    where\n T: Float,\n f32: Into<T>,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, _: &f32) -> <Complex<T> as Pow<&'b f32>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b f32>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'b, T> Pow<&'b f64> for Complex<T>
    where\n T: Float,\n f64: Into<T>,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, _: &f64) -> <Complex<T> as Pow<&'b f64>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b f64>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Pow<Complex<T>> for Complex<T>
    where\n T: Float,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, exp: Complex<T>) -> <Complex<T> as Pow<Complex<T>>>::Output

    Returns self to the power rhs. Read more
    ","Pow>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Pow<f32> for Complex<T>
    where\n T: Float,\n f32: Into<T>,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, exp: f32) -> <Complex<T> as Pow<f32>>::Output

    Returns self to the power rhs. Read more
    ","Pow","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Pow<f64> for Complex<T>
    where\n T: Float,\n f64: Into<T>,

    source§

    type Output = Complex<T>

    The result after applying the operator.
    source§

    fn pow(self, exp: f64) -> <Complex<T> as Pow<f64>>::Output

    Returns self to the power rhs. Read more
    ","Pow","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Product<&'a Complex<T>> for Complex<T>
    where\n T: 'a + Num + Clone,

    source§

    fn product<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = &'a Complex<T>>,

    Takes an iterator and generates Self from the elements by multiplying\nthe items.
    ","Product<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Product for Complex<T>
    where\n T: Num + Clone,

    source§

    fn product<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = Complex<T>>,

    Takes an iterator and generates Self from the elements by multiplying\nthe items.
    ","Product","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Rem<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &Complex<T>) -> <Complex<T> as Rem<&'a Complex<T>>>::Output

    Performs the % operation. Read more
    ","Rem<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Rem<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &T) -> <Complex<T> as Rem<&'a T>>::Output

    Performs the % operation. Read more
    ","Rem<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Rem<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: T) -> <Complex<T> as Rem<T>>::Output

    Performs the % operation. Read more
    ","Rem","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Rem for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    source§

    fn rem(self, modulus: Complex<T>) -> <Complex<T> as Rem>::Output

    Performs the % operation. Read more
    ","Rem","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> RemAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn rem_assign(&mut self, other: &Complex<T>)

    Performs the %= operation. Read more
    ","RemAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> RemAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn rem_assign(&mut self, other: &T)

    Performs the %= operation. Read more
    ","RemAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> RemAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn rem_assign(&mut self, other: T)

    Performs the %= operation. Read more
    ","RemAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> RemAssign for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn rem_assign(&mut self, modulus: Complex<T>)

    Performs the %= operation. Read more
    ","RemAssign","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> SimdValue for Complex<N>
    where\n N: SimdValue,

    §

    const LANES: usize = N::LANES

    The number of lanes of this SIMD value.
    §

    type Element = Complex<<N as SimdValue>::Element>

    The type of the elements of each lane of this SIMD value.
    §

    type SimdBool = <N as SimdValue>::SimdBool

    Type of the result of comparing two SIMD values like self.
    §

    fn splat(val: <Complex<N> as SimdValue>::Element) -> Complex<N>

    Initializes an SIMD value with each lanes set to val.
    §

    fn extract(&self, i: usize) -> <Complex<N> as SimdValue>::Element

    Extracts the i-th lane of self. Read more
    §

    unsafe fn extract_unchecked(\n &self,\n i: usize,\n) -> <Complex<N> as SimdValue>::Element

    Extracts the i-th lane of self without bound-checking. Read more
    §

    fn replace(&mut self, i: usize, val: <Complex<N> as SimdValue>::Element)

    Replaces the i-th lane of self by val. Read more
    §

    unsafe fn replace_unchecked(\n &mut self,\n i: usize,\n val: <Complex<N> as SimdValue>::Element,\n)

    Replaces the i-th lane of self by val without bound-checking. Read more
    §

    fn select(\n self,\n cond: <Complex<N> as SimdValue>::SimdBool,\n other: Complex<N>,\n) -> Complex<N>

    Merges self and other depending on the lanes of cond. Read more
    ","SimdValue","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, S, D> Sub<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the - operator.
    source§

    fn sub(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Sub<&'a ArrayBase<S, D>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a ArrayBase>","numpy::Complex32"],["
    source§

    impl<'a, S, D> Sub<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the - operator.
    source§

    fn sub(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Sub<&'a ArrayBase<S, D>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a ArrayBase>","numpy::Complex64"],["
    source§

    impl<'a, T> Sub<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &Complex<T>) -> <Complex<T> as Sub<&'a Complex<T>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Sub<&'a T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &T) -> <Complex<T> as Sub<&'a T>>::Output

    Performs the - operation. Read more
    ","Sub<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<S, D> Sub<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the - operation. Read more
    ","Sub>","numpy::Complex32"],["
    source§

    impl<S, D> Sub<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the - operation. Read more
    ","Sub>","numpy::Complex64"],["
    source§

    impl<T> Sub<T> for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: T) -> <Complex<T> as Sub<T>>::Output

    Performs the - operation. Read more
    ","Sub","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Sub for Complex<T>
    where\n T: Clone + Num,

    source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: Complex<T>) -> <Complex<T> as Sub>::Output

    Performs the - operation. Read more
    ","Sub","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> SubAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn sub_assign(&mut self, other: &Complex<T>)

    Performs the -= operation. Read more
    ","SubAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> SubAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn sub_assign(&mut self, other: &T)

    Performs the -= operation. Read more
    ","SubAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> SubAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn sub_assign(&mut self, other: T)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> SubAssign for Complex<T>
    where\n T: Clone + NumAssign,

    source§

    fn sub_assign(&mut self, other: Complex<T>)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N1, N2> SubsetOf<Complex<N2>> for Complex<N1>
    where\n N2: SupersetOf<N1>,

    §

    fn to_superset(&self) -> Complex<N2>

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

    fn from_superset_unchecked(element: &Complex<N2>) -> Complex<N1>

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

    fn is_in_subset(c: &Complex<N2>) -> bool

    Checks if element is actually part of the subset Self (and can be converted to it).
    §

    fn from_superset(element: &T) -> Option<Self>

    The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
    ","SubsetOf>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<'a, T> Sum<&'a Complex<T>> for Complex<T>
    where\n T: 'a + Num + Clone,

    source§

    fn sum<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = &'a Complex<T>>,

    Takes an iterator and generates Self from the elements by “summing up”\nthe items.
    ","Sum<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Sum for Complex<T>
    where\n T: Num + Clone,

    source§

    fn sum<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = Complex<T>>,

    Takes an iterator and generates Self from the elements by “summing up”\nthe items.
    ","Sum","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> ToPrimitive for Complex<T>
    where\n T: ToPrimitive + Num,

    source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
    source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
    source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
    source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
    source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
    source§

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
    source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
    source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
    source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
    source§

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
    source§

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
    source§

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
    ","ToPrimitive","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> UpperExp for Complex<T>
    where\n T: UpperExp + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperExp","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> UpperHex for Complex<T>
    where\n T: UpperHex + Num + PartialOrd + Clone,

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperHex","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Zero for Complex<T>
    where\n T: Clone + Num,

    source§

    fn zero() -> Complex<T>

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Copy for Complex<T>
    where\n T: Copy,

    ","Copy","numpy::Complex32","numpy::Complex64"],["
    source§

    impl<T> Eq for Complex<T>
    where\n T: Eq,

    ","Eq","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> Field for Complex<N>
    where\n N: SimdValue + Clone + NumAssign + ClosedNeg,

    ","Field","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> PrimitiveSimdValue for Complex<N>
    where\n N: PrimitiveSimdValue,

    ","PrimitiveSimdValue","numpy::Complex32","numpy::Complex64"],["
    source§

    impl ScalarOperand for Complex<f32>

    ","ScalarOperand","numpy::Complex32"],["
    source§

    impl ScalarOperand for Complex<f64>

    ","ScalarOperand","numpy::Complex64"],["
    source§

    impl<T> StructuralPartialEq for Complex<T>

    ","StructuralPartialEq","numpy::Complex32","numpy::Complex64"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl<'a, S, D> Add<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the + operator.
    Source§

    fn add(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Add<&'a ArrayBase<S, D>>>::Output

    Performs the + operation. Read more
    ","Add<&'a ArrayBase>","numpy::Complex32"],["
    Source§

    impl<'a, S, D> Add<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the + operator.
    Source§

    fn add(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Add<&'a ArrayBase<S, D>>>::Output

    Performs the + operation. Read more
    ","Add<&'a ArrayBase>","numpy::Complex64"],["
    Source§

    impl<'a, T> Add<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    Source§

    fn add(self, other: &Complex<T>) -> <Complex<T> as Add<&'a Complex<T>>>::Output

    Performs the + operation. Read more
    ","Add<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Add<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    Source§

    fn add(self, other: &T) -> <Complex<T> as Add<&'a T>>::Output

    Performs the + operation. Read more
    ","Add<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<S, D> Add<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the + operation. Read more
    ","Add>","numpy::Complex32"],["
    Source§

    impl<S, D> Add<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the + operator.
    Source§

    fn add(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the + operation. Read more
    ","Add>","numpy::Complex64"],["
    Source§

    impl<T> Add<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    Source§

    fn add(self, other: T) -> <Complex<T> as Add<T>>::Output

    Performs the + operation. Read more
    ","Add","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Add for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the + operator.
    Source§

    fn add(self, other: Complex<T>) -> <Complex<T> as Add>::Output

    Performs the + operation. Read more
    ","Add","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> AddAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn add_assign(&mut self, other: &Complex<T>)

    Performs the += operation. Read more
    ","AddAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> AddAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn add_assign(&mut self, other: &T)

    Performs the += operation. Read more
    ","AddAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> AddAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn add_assign(&mut self, other: T)

    Performs the += operation. Read more
    ","AddAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> AddAssign for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn add_assign(&mut self, other: Complex<T>)

    Performs the += operation. Read more
    ","AddAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T, U> AsPrimitive<U> for Complex<T>
    where\n T: AsPrimitive<U>,\n U: 'static + Copy,

    Source§

    fn as_(self) -> U

    Convert a value to another, using the as operator.
    ","AsPrimitive","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Binary for Complex<T>
    where\n T: Binary + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Binary","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Clone for Complex<T>
    where\n T: Clone,

    Source§

    fn clone(&self) -> Complex<T>

    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
    ","Clone","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: ConstZero,

    Source

    pub const ZERO: Complex<T> = _

    A constant Complex 0.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: ConstOne + ConstZero,

    Source

    pub const ONE: Complex<T> = _

    A constant Complex 1.

    \n
    Source

    pub const I: Complex<T> = _

    A constant Complex i, the imaginary unit.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>

    Source

    pub const fn new(re: T, im: T) -> Complex<T>

    Create a new Complex

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: Clone + Num,

    Source

    pub fn i() -> Complex<T>

    Returns the imaginary unit.

    \n

    See also Complex::I.

    \n
    Source

    pub fn norm_sqr(&self) -> T

    Returns the square of the norm (since T doesn’t necessarily\nhave a sqrt function), i.e. re^2 + im^2.

    \n
    Source

    pub fn scale(&self, t: T) -> Complex<T>

    Multiplies self by the scalar t.

    \n
    Source

    pub fn unscale(&self, t: T) -> Complex<T>

    Divides self by the scalar t.

    \n
    Source

    pub fn powu(&self, exp: u32) -> Complex<T>

    Raises self to an unsigned integer power.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    Source

    pub fn conj(&self) -> Complex<T>

    Returns the complex conjugate. i.e. re - i im

    \n
    Source

    pub fn inv(&self) -> Complex<T>

    Returns 1/self

    \n
    Source

    pub fn powi(&self, exp: i32) -> Complex<T>

    Raises self to a signed integer power.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: Clone + Signed,

    Source

    pub fn l1_norm(&self) -> T

    Returns the L1 norm |re| + |im| – the Manhattan distance from the origin.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: Float,

    Source

    pub fn cis(phase: T) -> Complex<T>

    Create a new Complex with a given phase: exp(i * phase).\nSee cis (mathematics).

    \n
    Source

    pub fn norm(self) -> T

    Calculate |self|

    \n
    Source

    pub fn arg(self) -> T

    Calculate the principal Arg of self.

    \n
    Source

    pub fn to_polar(self) -> (T, T)

    Convert to polar form (r, theta), such that\nself = r * exp(i * theta)

    \n
    Source

    pub fn from_polar(r: T, theta: T) -> Complex<T>

    Convert a polar representation into a complex number.

    \n
    Source

    pub fn exp(self) -> Complex<T>

    Computes e^(self), where e is the base of the natural logarithm.

    \n
    Source

    pub fn ln(self) -> Complex<T>

    Computes the principal value of natural logarithm of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0], continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ arg(ln(z)) ≤ π.

    \n
    Source

    pub fn sqrt(self) -> Complex<T>

    Computes the principal value of the square root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/2 ≤ arg(sqrt(z)) ≤ π/2.

    \n
    Source

    pub fn cbrt(self) -> Complex<T>

    Computes the principal value of the cube root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/3 ≤ arg(cbrt(z)) ≤ π/3.

    \n

    Note that this does not match the usual result for the cube root of\nnegative real numbers. For example, the real cube root of -8 is -2,\nbut the principal complex cube root of -8 is 1 + i√3.

    \n
    Source

    pub fn powf(self, exp: T) -> Complex<T>

    Raises self to a floating point power.

    \n
    Source

    pub fn log(self, base: T) -> Complex<T>

    Returns the logarithm of self with respect to an arbitrary base.

    \n
    Source

    pub fn powc(self, exp: Complex<T>) -> Complex<T>

    Raises self to a complex power.

    \n
    Source

    pub fn expf(self, base: T) -> Complex<T>

    Raises a floating point number to the complex power self.

    \n
    Source

    pub fn sin(self) -> Complex<T>

    Computes the sine of self.

    \n
    Source

    pub fn cos(self) -> Complex<T>

    Computes the cosine of self.

    \n
    Source

    pub fn tan(self) -> Complex<T>

    Computes the tangent of self.

    \n
    Source

    pub fn asin(self) -> Complex<T>

    Computes the principal value of the inverse sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(asin(z)) ≤ π/2.

    \n
    Source

    pub fn acos(self) -> Complex<T>

    Computes the principal value of the inverse cosine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies 0 ≤ Re(acos(z)) ≤ π.

    \n
    Source

    pub fn atan(self) -> Complex<T>

    Computes the principal value of the inverse tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i], continuous from the left.
    • \n
    • [i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(atan(z)) ≤ π/2.

    \n
    Source

    pub fn sinh(self) -> Complex<T>

    Computes the hyperbolic sine of self.

    \n
    Source

    pub fn cosh(self) -> Complex<T>

    Computes the hyperbolic cosine of self.

    \n
    Source

    pub fn tanh(self) -> Complex<T>

    Computes the hyperbolic tangent of self.

    \n
    Source

    pub fn asinh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i), continuous from the left.
    • \n
    • (i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(asinh(z)) ≤ π/2.

    \n
    Source

    pub fn acosh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic cosine of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 1), continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ Im(acosh(z)) ≤ π and 0 ≤ Re(acosh(z)) < ∞.

    \n
    Source

    pub fn atanh(self) -> Complex<T>

    Computes the principal value of inverse hyperbolic tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1], continuous from above.
    • \n
    • [1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(atanh(z)) ≤ π/2.

    \n
    Source

    pub fn finv(self) -> Complex<T>

    Returns 1/self using floating-point operations.

    \n

    This may be more accurate than the generic self.inv() in cases\nwhere self.norm_sqr() would overflow to ∞ or underflow to 0.

    \n
    §Examples
    \n
    use num_complex::Complex64;\nlet c = Complex64::new(1e300, 1e300);\n\n// The generic `inv()` will overflow.\nassert!(!c.inv().is_normal());\n\n// But we can do better for `Float` types.\nlet inv = c.finv();\nassert!(inv.is_normal());\nprintln!(\"{:e}\", inv);\n\nlet expected = Complex64::new(5e-301, -5e-301);\nassert!((inv - expected).norm() < 1e-315);
    \n
    Source

    pub fn fdiv(self, other: Complex<T>) -> Complex<T>

    Returns self/other using floating-point operations.

    \n

    This may be more accurate than the generic Div implementation in cases\nwhere other.norm_sqr() would overflow to ∞ or underflow to 0.

    \n
    §Examples
    \n
    use num_complex::Complex64;\nlet a = Complex64::new(2.0, 3.0);\nlet b = Complex64::new(1e300, 1e300);\n\n// Generic division will overflow.\nassert!(!(a / b).is_normal());\n\n// But we can do better for `Float` types.\nlet quotient = a.fdiv(b);\nassert!(quotient.is_normal());\nprintln!(\"{:e}\", quotient);\n\nlet expected = Complex64::new(2.5e-300, 5e-301);\nassert!((quotient - expected).norm() < 1e-315);
    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: Float + FloatConst,

    Source

    pub fn exp2(self) -> Complex<T>

    Computes 2^(self).

    \n
    Source

    pub fn log2(self) -> Complex<T>

    Computes the principal value of log base 2 of self.

    \n
    Source

    pub fn log10(self) -> Complex<T>

    Computes the principal value of log base 10 of self.

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Complex<T>
    where\n T: FloatCore,

    Source

    pub fn is_nan(self) -> bool

    Checks if the given complex number is NaN

    \n
    Source

    pub fn is_infinite(self) -> bool

    Checks if the given complex number is infinite

    \n
    Source

    pub fn is_finite(self) -> bool

    Checks if the given complex number is finite

    \n
    Source

    pub fn is_normal(self) -> bool

    Checks if the given complex number is normal

    \n
    ",0,"numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> ComplexField for Complex<N>
    where\n N: RealField + PartialOrd,

    §

    fn exp(self) -> Complex<N>

    Computes e^(self), where e is the base of the natural logarithm.

    \n
    §

    fn ln(self) -> Complex<N>

    Computes the principal value of natural logarithm of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0], continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ arg(ln(z)) ≤ π.

    \n
    §

    fn sqrt(self) -> Complex<N>

    Computes the principal value of the square root of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 0), continuous from above.
    • \n
    \n

    The branch satisfies -π/2 ≤ arg(sqrt(z)) ≤ π/2.

    \n
    §

    fn powf(self, exp: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Raises self to a floating point power.

    \n
    §

    fn log(self, base: N) -> Complex<N>

    Returns the logarithm of self with respect to an arbitrary base.

    \n
    §

    fn powc(self, exp: Complex<N>) -> Complex<N>

    Raises self to a complex power.

    \n
    §

    fn sin(self) -> Complex<N>

    Computes the sine of self.

    \n
    §

    fn cos(self) -> Complex<N>

    Computes the cosine of self.

    \n
    §

    fn tan(self) -> Complex<N>

    Computes the tangent of self.

    \n
    §

    fn asin(self) -> Complex<N>

    Computes the principal value of the inverse sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(asin(z)) ≤ π/2.

    \n
    §

    fn acos(self) -> Complex<N>

    Computes the principal value of the inverse cosine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1), continuous from above.
    • \n
    • (1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies 0 ≤ Re(acos(z)) ≤ π.

    \n
    §

    fn atan(self) -> Complex<N>

    Computes the principal value of the inverse tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i], continuous from the left.
    • \n
    • [i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Re(atan(z)) ≤ π/2.

    \n
    §

    fn sinh(self) -> Complex<N>

    Computes the hyperbolic sine of self.

    \n
    §

    fn cosh(self) -> Complex<N>

    Computes the hyperbolic cosine of self.

    \n
    §

    fn tanh(self) -> Complex<N>

    Computes the hyperbolic tangent of self.

    \n
    §

    fn asinh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic sine of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞i, -i), continuous from the left.
    • \n
    • (i, ∞i), continuous from the right.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(asinh(z)) ≤ π/2.

    \n
    §

    fn acosh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic cosine of self.

    \n

    This function has one branch cut:

    \n
      \n
    • (-∞, 1), continuous from above.
    • \n
    \n

    The branch satisfies -π ≤ Im(acosh(z)) ≤ π and 0 ≤ Re(acosh(z)) < ∞.

    \n
    §

    fn atanh(self) -> Complex<N>

    Computes the principal value of inverse hyperbolic tangent of self.

    \n

    This function has two branch cuts:

    \n
      \n
    • (-∞, -1], continuous from above.
    • \n
    • [1, ∞), continuous from below.
    • \n
    \n

    The branch satisfies -π/2 ≤ Im(atanh(z)) ≤ π/2.

    \n
    §

    type RealField = N

    §

    fn from_real(re: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Builds a pure-real complex number from the given value.
    §

    fn real(self) -> <Complex<N> as ComplexField>::RealField

    The real part of this complex number.
    §

    fn imaginary(self) -> <Complex<N> as ComplexField>::RealField

    The imaginary part of this complex number.
    §

    fn argument(self) -> <Complex<N> as ComplexField>::RealField

    The argument of this complex number.
    §

    fn modulus(self) -> <Complex<N> as ComplexField>::RealField

    The modulus of this complex number.
    §

    fn modulus_squared(self) -> <Complex<N> as ComplexField>::RealField

    The squared modulus of this complex number.
    §

    fn norm1(self) -> <Complex<N> as ComplexField>::RealField

    The sum of the absolute value of this complex number’s real and imaginary part.
    §

    fn recip(self) -> Complex<N>

    §

    fn conjugate(self) -> Complex<N>

    §

    fn scale(self, factor: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Multiplies this complex number by factor.
    §

    fn unscale(self, factor: <Complex<N> as ComplexField>::RealField) -> Complex<N>

    Divides this complex number by factor.
    §

    fn floor(self) -> Complex<N>

    §

    fn ceil(self) -> Complex<N>

    §

    fn round(self) -> Complex<N>

    §

    fn trunc(self) -> Complex<N>

    §

    fn fract(self) -> Complex<N>

    §

    fn mul_add(self, a: Complex<N>, b: Complex<N>) -> Complex<N>

    §

    fn abs(self) -> <Complex<N> as ComplexField>::RealField

    The absolute value of this complex number: self / self.signum(). Read more
    §

    fn exp2(self) -> Complex<N>

    §

    fn exp_m1(self) -> Complex<N>

    §

    fn ln_1p(self) -> Complex<N>

    §

    fn log2(self) -> Complex<N>

    §

    fn log10(self) -> Complex<N>

    §

    fn cbrt(self) -> Complex<N>

    §

    fn powi(self, n: i32) -> Complex<N>

    §

    fn is_finite(&self) -> bool

    §

    fn try_sqrt(self) -> Option<Complex<N>>

    §

    fn hypot(self, b: Complex<N>) -> <Complex<N> as ComplexField>::RealField

    Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
    §

    fn sin_cos(self) -> (Complex<N>, Complex<N>)

    §

    fn sinh_cosh(self) -> (Complex<N>, Complex<N>)

    §

    fn to_polar(self) -> (Self::RealField, Self::RealField)

    The polar form of this complex number: (modulus, arg)
    §

    fn to_exp(self) -> (Self::RealField, Self)

    The exponential form of this complex number: (modulus, e^{i arg})
    §

    fn signum(self) -> Self

    The exponential part of this complex number: self / self.modulus()
    §

    fn sinc(self) -> Self

    Cardinal sine
    §

    fn sinhc(self) -> Self

    §

    fn cosc(self) -> Self

    Cardinal cos
    §

    fn coshc(self) -> Self

    ","ComplexField","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> ComplexFloat for Complex<T>
    where\n T: Float + FloatConst,

    Source§

    type Real = T

    The type used to represent the real coefficients of this complex number.
    Source§

    fn re(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the real part of the number.
    Source§

    fn im(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the imaginary part of the number.
    Source§

    fn abs(self) -> <Complex<T> as ComplexFloat>::Real

    Returns the absolute value of the number. See also Complex::norm
    Source§

    fn recip(self) -> Complex<T>

    Take the reciprocal (inverse) of a number, 1/x. See also Complex::finv.
    Source§

    fn l1_norm(&self) -> <Complex<T> as ComplexFloat>::Real

    Returns the L1 norm |re| + |im| – the Manhattan distance from the origin.
    Source§

    fn is_nan(self) -> bool

    Returns true if this value is NaN and false otherwise.
    Source§

    fn is_infinite(self) -> bool

    Returns true if this value is positive infinity or negative infinity and\nfalse otherwise.
    Source§

    fn is_finite(self) -> bool

    Returns true if this number is neither infinite nor NaN.
    Source§

    fn is_normal(self) -> bool

    Returns true if the number is neither zero, infinite,\nsubnormal, or NaN.
    Source§

    fn arg(self) -> <Complex<T> as ComplexFloat>::Real

    Computes the argument of the number.
    Source§

    fn powc(\n self,\n exp: Complex<<Complex<T> as ComplexFloat>::Real>,\n) -> Complex<<Complex<T> as ComplexFloat>::Real>

    Raises self to a complex power.
    Source§

    fn exp2(self) -> Complex<T>

    Returns 2^(self).
    Source§

    fn log(self, base: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Returns the logarithm of the number with respect to an arbitrary base.
    Source§

    fn log2(self) -> Complex<T>

    Returns the base 2 logarithm of the number.
    Source§

    fn log10(self) -> Complex<T>

    Returns the base 10 logarithm of the number.
    Source§

    fn powf(self, f: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Raises self to a real power.
    Source§

    fn sqrt(self) -> Complex<T>

    Take the square root of a number.
    Source§

    fn cbrt(self) -> Complex<T>

    Take the cubic root of a number.
    Source§

    fn exp(self) -> Complex<T>

    Returns e^(self), (the exponential function).
    Source§

    fn expf(self, base: <Complex<T> as ComplexFloat>::Real) -> Complex<T>

    Returns base^(self).
    Source§

    fn ln(self) -> Complex<T>

    Returns the natural logarithm of the number.
    Source§

    fn sin(self) -> Complex<T>

    Computes the sine of a number (in radians).
    Source§

    fn cos(self) -> Complex<T>

    Computes the cosine of a number (in radians).
    Source§

    fn tan(self) -> Complex<T>

    Computes the tangent of a number (in radians).
    Source§

    fn asin(self) -> Complex<T>

    Computes the arcsine of a number. Return value is in radians in\nthe range [-pi/2, pi/2] or NaN if the number is outside the range\n[-1, 1].
    Source§

    fn acos(self) -> Complex<T>

    Computes the arccosine of a number. Return value is in radians in\nthe range [0, pi] or NaN if the number is outside the range\n[-1, 1].
    Source§

    fn atan(self) -> Complex<T>

    Computes the arctangent of a number. Return value is in radians in the\nrange [-pi/2, pi/2];
    Source§

    fn sinh(self) -> Complex<T>

    Hyperbolic sine function.
    Source§

    fn cosh(self) -> Complex<T>

    Hyperbolic cosine function.
    Source§

    fn tanh(self) -> Complex<T>

    Hyperbolic tangent function.
    Source§

    fn asinh(self) -> Complex<T>

    Inverse hyperbolic sine function.
    Source§

    fn acosh(self) -> Complex<T>

    Inverse hyperbolic cosine function.
    Source§

    fn atanh(self) -> Complex<T>

    Inverse hyperbolic tangent function.
    Source§

    fn powi(self, n: i32) -> Complex<T>

    Raises self to a signed integer power.
    Source§

    fn conj(self) -> Complex<T>

    Computes the complex conjugate of the number. Read more
    ","ComplexFloat","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> ConstOne for Complex<T>
    where\n T: Clone + Num + ConstOne + ConstZero,

    Source§

    const ONE: Complex<T> = Self::ONE

    The multiplicative identity element of Self, 1.
    ","ConstOne","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> ConstZero for Complex<T>
    where\n T: Clone + Num + ConstZero,

    Source§

    const ZERO: Complex<T> = Self::ZERO

    The additive identity element of Self, 0.
    ","ConstZero","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Debug for Complex<T>
    where\n T: Debug,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Default for Complex<T>
    where\n T: Default,

    Source§

    fn default() -> Complex<T>

    Returns the “default value” for a type. Read more
    ","Default","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Display for Complex<T>
    where\n T: Display + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Display","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, S, D> Div<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the / operator.
    Source§

    fn div(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Div<&'a ArrayBase<S, D>>>::Output

    Performs the / operation. Read more
    ","Div<&'a ArrayBase>","numpy::Complex32"],["
    Source§

    impl<'a, S, D> Div<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the / operator.
    Source§

    fn div(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Div<&'a ArrayBase<S, D>>>::Output

    Performs the / operation. Read more
    ","Div<&'a ArrayBase>","numpy::Complex64"],["
    Source§

    impl<'a, T> Div<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    Source§

    fn div(self, other: &Complex<T>) -> <Complex<T> as Div<&'a Complex<T>>>::Output

    Performs the / operation. Read more
    ","Div<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Div<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    Source§

    fn div(self, other: &T) -> <Complex<T> as Div<&'a T>>::Output

    Performs the / operation. Read more
    ","Div<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<S, D> Div<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the / operator.
    Source§

    fn div(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the / operation. Read more
    ","Div>","numpy::Complex32"],["
    Source§

    impl<S, D> Div<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the / operator.
    Source§

    fn div(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the / operation. Read more
    ","Div>","numpy::Complex64"],["
    Source§

    impl<T> Div<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    Source§

    fn div(self, other: T) -> <Complex<T> as Div<T>>::Output

    Performs the / operation. Read more
    ","Div","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Div for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the / operator.
    Source§

    fn div(self, other: Complex<T>) -> <Complex<T> as Div>::Output

    Performs the / operation. Read more
    ","Div","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> DivAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn div_assign(&mut self, other: &Complex<T>)

    Performs the /= operation. Read more
    ","DivAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> DivAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn div_assign(&mut self, other: &T)

    Performs the /= operation. Read more
    ","DivAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> DivAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn div_assign(&mut self, other: T)

    Performs the /= operation. Read more
    ","DivAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> DivAssign for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn div_assign(&mut self, other: Complex<T>)

    Performs the /= operation. Read more
    ","DivAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> From<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    fn from(re: &T) -> Complex<T>

    Converts to this type from the input type.
    ","From<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> From<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    fn from(re: T) -> Complex<T>

    Converts to this type from the input type.
    ","From","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> FromPrimitive for Complex<T>
    where\n T: FromPrimitive + Num,

    Source§

    fn from_usize(n: usize) -> Option<Complex<T>>

    Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_isize(n: isize) -> Option<Complex<T>>

    Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_u8(n: u8) -> Option<Complex<T>>

    Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_u16(n: u16) -> Option<Complex<T>>

    Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_u32(n: u32) -> Option<Complex<T>>

    Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_u64(n: u64) -> Option<Complex<T>>

    Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_i8(n: i8) -> Option<Complex<T>>

    Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_i16(n: i16) -> Option<Complex<T>>

    Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_i32(n: i32) -> Option<Complex<T>>

    Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_i64(n: i64) -> Option<Complex<T>>

    Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_u128(n: u128) -> Option<Complex<T>>

    Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    Source§

    fn from_i128(n: i128) -> Option<Complex<T>>

    Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    Source§

    fn from_f32(n: f32) -> Option<Complex<T>>

    Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    Source§

    fn from_f64(n: f64) -> Option<Complex<T>>

    Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    ","FromPrimitive","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> FromStr for Complex<T>
    where\n T: FromStr + Num + Clone,

    Source§

    fn from_str(s: &str) -> Result<Complex<T>, <Complex<T> as FromStr>::Err>

    Parses a +/- bi; ai +/- b; a; or bi where a and b are of type T

    \n
    Source§

    type Err = ParseComplexError<<T as FromStr>::Err>

    The associated error which can be returned from parsing.
    ","FromStr","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Hash for Complex<T>
    where\n T: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Inv for Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn inv(self) -> <Complex<T> as Inv>::Output

    Returns the multiplicative inverse of self. Read more
    ","Inv","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> LowerExp for Complex<T>
    where\n T: LowerExp + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","LowerExp","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> LowerHex for Complex<T>
    where\n T: LowerHex + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","LowerHex","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, S, D> Mul<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the * operator.
    Source§

    fn mul(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Mul<&'a ArrayBase<S, D>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a ArrayBase>","numpy::Complex32"],["
    Source§

    impl<'a, S, D> Mul<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the * operator.
    Source§

    fn mul(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Mul<&'a ArrayBase<S, D>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a ArrayBase>","numpy::Complex64"],["
    Source§

    impl<'a, T> Mul<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, other: &Complex<T>) -> <Complex<T> as Mul<&'a Complex<T>>>::Output

    Performs the * operation. Read more
    ","Mul<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Mul<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, other: &T) -> <Complex<T> as Mul<&'a T>>::Output

    Performs the * operation. Read more
    ","Mul<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<S, D> Mul<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the * operation. Read more
    ","Mul>","numpy::Complex32"],["
    Source§

    impl<S, D> Mul<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the * operation. Read more
    ","Mul>","numpy::Complex64"],["
    Source§

    impl<T> Mul<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, other: T) -> <Complex<T> as Mul<T>>::Output

    Performs the * operation. Read more
    ","Mul","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Mul for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the * operator.
    Source§

    fn mul(self, other: Complex<T>) -> <Complex<T> as Mul>::Output

    Performs the * operation. Read more
    ","Mul","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> MulAdd for Complex<T>
    where\n T: Clone + Num + MulAdd<Output = T>,

    Source§

    type Output = Complex<T>

    The resulting type after applying the fused multiply-add.
    Source§

    fn mul_add(self, other: Complex<T>, add: Complex<T>) -> Complex<T>

    Performs the fused multiply-add operation (self * a) + b
    ","MulAdd","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, 'b, T> MulAddAssign<&'a Complex<T>, &'b Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign + MulAddAssign,

    Source§

    fn mul_add_assign(&mut self, other: &Complex<T>, add: &Complex<T>)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign<&'a Complex, &'b Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> MulAddAssign for Complex<T>
    where\n T: Clone + NumAssign + MulAddAssign,

    Source§

    fn mul_add_assign(&mut self, other: Complex<T>, add: Complex<T>)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> MulAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn mul_assign(&mut self, other: &Complex<T>)

    Performs the *= operation. Read more
    ","MulAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> MulAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn mul_assign(&mut self, other: &T)

    Performs the *= operation. Read more
    ","MulAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> MulAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn mul_assign(&mut self, other: T)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> MulAssign for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn mul_assign(&mut self, other: Complex<T>)

    Performs the *= operation. Read more
    ","MulAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Neg for Complex<T>
    where\n T: Clone + Num + Neg<Output = T>,

    Source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    Source§

    fn neg(self) -> <Complex<T> as Neg>::Output

    Performs the unary - operation. Read more
    ","Neg","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Normed for Complex<T>
    where\n T: SimdRealField,

    Source§

    type Norm = <T as SimdComplexField>::SimdRealField

    The type of the norm.
    Source§

    fn norm(&self) -> <T as SimdComplexField>::SimdRealField

    Computes the norm.
    Source§

    fn norm_squared(&self) -> <T as SimdComplexField>::SimdRealField

    Computes the squared norm.
    Source§

    fn scale_mut(&mut self, n: <Complex<T> as Normed>::Norm)

    Multiply self by n.
    Source§

    fn unscale_mut(&mut self, n: <Complex<T> as Normed>::Norm)

    Divides self by n.
    ","Normed","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Num for Complex<T>
    where\n T: Num + Clone,

    Source§

    fn from_str_radix(\n s: &str,\n radix: u32,\n) -> Result<Complex<T>, <Complex<T> as Num>::FromStrRadixErr>

    Parses a +/- bi; ai +/- b; a; or bi where a and b are of type T

    \n

    radix must be <= 18; larger radix would include i and j as digits,\nwhich cannot be supported.

    \n

    The conversion returns an error if 18 <= radix <= 36; it panics if radix > 36.

    \n

    The elements of T are parsed using Num::from_str_radix too, and errors\n(or panics) from that are reflected here as well.

    \n
    Source§

    type FromStrRadixErr = ParseComplexError<<T as Num>::FromStrRadixErr>

    ","Num","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> NumCast for Complex<T>
    where\n T: NumCast + Num,

    Source§

    fn from<U>(n: U) -> Option<Complex<T>>
    where\n U: ToPrimitive,

    Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
    ","NumCast","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Octal for Complex<T>
    where\n T: Octal + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Octal","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> One for Complex<T>
    where\n T: Clone + Num,

    Source§

    fn one() -> Complex<T>

    Returns the multiplicative identity element of Self, 1. Read more
    Source§

    fn is_one(&self) -> bool

    Returns true if self is equal to the multiplicative identity. Read more
    Source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    ","One","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> PartialEq for Complex<T>
    where\n T: PartialEq,

    Source§

    fn eq(&self, other: &Complex<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'b, T> Pow<&'b Complex<T>> for Complex<T>
    where\n T: Float,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, _: &'b Complex<T>) -> <Complex<T> as Pow<&'b Complex<T>>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'b, T> Pow<&'b f32> for Complex<T>
    where\n T: Float,\n f32: Into<T>,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, _: &f32) -> <Complex<T> as Pow<&'b f32>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b f32>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'b, T> Pow<&'b f64> for Complex<T>
    where\n T: Float,\n f64: Into<T>,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, _: &f64) -> <Complex<T> as Pow<&'b f64>>::Output

    Returns self to the power rhs. Read more
    ","Pow<&'b f64>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Pow<Complex<T>> for Complex<T>
    where\n T: Float,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, exp: Complex<T>) -> <Complex<T> as Pow<Complex<T>>>::Output

    Returns self to the power rhs. Read more
    ","Pow>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Pow<f32> for Complex<T>
    where\n T: Float,\n f32: Into<T>,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, exp: f32) -> <Complex<T> as Pow<f32>>::Output

    Returns self to the power rhs. Read more
    ","Pow","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Pow<f64> for Complex<T>
    where\n T: Float,\n f64: Into<T>,

    Source§

    type Output = Complex<T>

    The result after applying the operator.
    Source§

    fn pow(self, exp: f64) -> <Complex<T> as Pow<f64>>::Output

    Returns self to the power rhs. Read more
    ","Pow","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Product<&'a Complex<T>> for Complex<T>
    where\n T: 'a + Num + Clone,

    Source§

    fn product<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = &'a Complex<T>>,

    Takes an iterator and generates Self from the elements by multiplying\nthe items.
    ","Product<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Product for Complex<T>
    where\n T: Num + Clone,

    Source§

    fn product<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = Complex<T>>,

    Takes an iterator and generates Self from the elements by multiplying\nthe items.
    ","Product","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Rem<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    Source§

    fn rem(self, other: &Complex<T>) -> <Complex<T> as Rem<&'a Complex<T>>>::Output

    Performs the % operation. Read more
    ","Rem<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Rem<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    Source§

    fn rem(self, other: &T) -> <Complex<T> as Rem<&'a T>>::Output

    Performs the % operation. Read more
    ","Rem<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Rem<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    Source§

    fn rem(self, other: T) -> <Complex<T> as Rem<T>>::Output

    Performs the % operation. Read more
    ","Rem","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Rem for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the % operator.
    Source§

    fn rem(self, modulus: Complex<T>) -> <Complex<T> as Rem>::Output

    Performs the % operation. Read more
    ","Rem","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> RemAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn rem_assign(&mut self, other: &Complex<T>)

    Performs the %= operation. Read more
    ","RemAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> RemAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn rem_assign(&mut self, other: &T)

    Performs the %= operation. Read more
    ","RemAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> RemAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn rem_assign(&mut self, other: T)

    Performs the %= operation. Read more
    ","RemAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> RemAssign for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn rem_assign(&mut self, modulus: Complex<T>)

    Performs the %= operation. Read more
    ","RemAssign","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> SimdValue for Complex<N>
    where\n N: SimdValue,

    §

    const LANES: usize = N::LANES

    The number of lanes of this SIMD value.
    §

    type Element = Complex<<N as SimdValue>::Element>

    The type of the elements of each lane of this SIMD value.
    §

    type SimdBool = <N as SimdValue>::SimdBool

    Type of the result of comparing two SIMD values like self.
    §

    fn splat(val: <Complex<N> as SimdValue>::Element) -> Complex<N>

    Initializes an SIMD value with each lanes set to val.
    §

    fn extract(&self, i: usize) -> <Complex<N> as SimdValue>::Element

    Extracts the i-th lane of self. Read more
    §

    unsafe fn extract_unchecked(\n &self,\n i: usize,\n) -> <Complex<N> as SimdValue>::Element

    Extracts the i-th lane of self without bound-checking. Read more
    §

    fn replace(&mut self, i: usize, val: <Complex<N> as SimdValue>::Element)

    Replaces the i-th lane of self by val. Read more
    §

    unsafe fn replace_unchecked(\n &mut self,\n i: usize,\n val: <Complex<N> as SimdValue>::Element,\n)

    Replaces the i-th lane of self by val without bound-checking. Read more
    §

    fn select(\n self,\n cond: <Complex<N> as SimdValue>::SimdBool,\n other: Complex<N>,\n) -> Complex<N>

    Merges self and other depending on the lanes of cond. Read more
    §

    fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self
    where\n Self: Clone,

    Applies a function to each lane of self. Read more
    §

    fn zip_map_lanes(\n self,\n b: Self,\n f: impl Fn(Self::Element, Self::Element) -> Self::Element,\n) -> Self
    where\n Self: Clone,

    Applies a function to each lane of self paired with the corresponding lane of b. Read more
    ","SimdValue","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, S, D> Sub<&'a ArrayBase<S, D>> for Complex<f32>
    where\n S: Data<Elem = Complex<f32>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f32>>, D>

    The resulting type after applying the - operator.
    Source§

    fn sub(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f32> as Sub<&'a ArrayBase<S, D>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a ArrayBase>","numpy::Complex32"],["
    Source§

    impl<'a, S, D> Sub<&'a ArrayBase<S, D>> for Complex<f64>
    where\n S: Data<Elem = Complex<f64>>,\n D: Dimension,

    Source§

    type Output = ArrayBase<OwnedRepr<Complex<f64>>, D>

    The resulting type after applying the - operator.
    Source§

    fn sub(\n self,\n rhs: &ArrayBase<S, D>,\n) -> <Complex<f64> as Sub<&'a ArrayBase<S, D>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a ArrayBase>","numpy::Complex64"],["
    Source§

    impl<'a, T> Sub<&'a Complex<T>> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, other: &Complex<T>) -> <Complex<T> as Sub<&'a Complex<T>>>::Output

    Performs the - operation. Read more
    ","Sub<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Sub<&'a T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, other: &T) -> <Complex<T> as Sub<&'a T>>::Output

    Performs the - operation. Read more
    ","Sub<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<S, D> Sub<ArrayBase<S, D>> for Complex<f32>
    where\n S: DataOwned<Elem = Complex<f32>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the - operation. Read more
    ","Sub>","numpy::Complex32"],["
    Source§

    impl<S, D> Sub<ArrayBase<S, D>> for Complex<f64>
    where\n S: DataOwned<Elem = Complex<f64>> + DataMut,\n D: Dimension,

    Source§

    type Output = ArrayBase<S, D>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, rhs: ArrayBase<S, D>) -> ArrayBase<S, D>

    Performs the - operation. Read more
    ","Sub>","numpy::Complex64"],["
    Source§

    impl<T> Sub<T> for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, other: T) -> <Complex<T> as Sub<T>>::Output

    Performs the - operation. Read more
    ","Sub","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Sub for Complex<T>
    where\n T: Clone + Num,

    Source§

    type Output = Complex<T>

    The resulting type after applying the - operator.
    Source§

    fn sub(self, other: Complex<T>) -> <Complex<T> as Sub>::Output

    Performs the - operation. Read more
    ","Sub","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> SubAssign<&'a Complex<T>> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn sub_assign(&mut self, other: &Complex<T>)

    Performs the -= operation. Read more
    ","SubAssign<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> SubAssign<&'a T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn sub_assign(&mut self, other: &T)

    Performs the -= operation. Read more
    ","SubAssign<&'a T>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> SubAssign<T> for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn sub_assign(&mut self, other: T)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> SubAssign for Complex<T>
    where\n T: Clone + NumAssign,

    Source§

    fn sub_assign(&mut self, other: Complex<T>)

    Performs the -= operation. Read more
    ","SubAssign","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N1, N2> SubsetOf<Complex<N2>> for Complex<N1>
    where\n N2: SupersetOf<N1>,

    §

    fn to_superset(&self) -> Complex<N2>

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

    fn from_superset_unchecked(element: &Complex<N2>) -> Complex<N1>

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

    fn is_in_subset(c: &Complex<N2>) -> bool

    Checks if element is actually part of the subset Self (and can be converted to it).
    §

    fn from_superset(element: &T) -> Option<Self>

    The inverse inclusion map: attempts to construct self from the equivalent element of its\nsuperset. Read more
    ","SubsetOf>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<'a, T> Sum<&'a Complex<T>> for Complex<T>
    where\n T: 'a + Num + Clone,

    Source§

    fn sum<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = &'a Complex<T>>,

    Takes an iterator and generates Self from the elements by “summing up”\nthe items.
    ","Sum<&'a Complex>","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Sum for Complex<T>
    where\n T: Num + Clone,

    Source§

    fn sum<I>(iter: I) -> Complex<T>
    where\n I: Iterator<Item = Complex<T>>,

    Takes an iterator and generates Self from the elements by “summing up”\nthe items.
    ","Sum","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> ToPrimitive for Complex<T>
    where\n T: ToPrimitive + Num,

    Source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
    Source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
    Source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
    Source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
    Source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
    Source§

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
    Source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
    Source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
    Source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
    Source§

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
    Source§

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
    Source§

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
    Source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
    Source§

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
    ","ToPrimitive","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> UpperExp for Complex<T>
    where\n T: UpperExp + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","UpperExp","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> UpperHex for Complex<T>
    where\n T: UpperHex + Num + PartialOrd + Clone,

    Source§

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

    Formats the value using the given formatter. Read more
    ","UpperHex","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Zero for Complex<T>
    where\n T: Clone + Num,

    Source§

    fn zero() -> Complex<T>

    Returns the additive identity element of Self, 0. Read more
    Source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Copy for Complex<T>
    where\n T: Copy,

    ","Copy","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl<T> Eq for Complex<T>
    where\n T: Eq,

    ","Eq","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> Field for Complex<N>
    where\n N: SimdValue + Clone + NumAssign + ClosedNeg,

    ","Field","numpy::Complex32","numpy::Complex64"],["
    §

    impl<N> PrimitiveSimdValue for Complex<N>
    where\n N: PrimitiveSimdValue,

    ","PrimitiveSimdValue","numpy::Complex32","numpy::Complex64"],["
    Source§

    impl ScalarOperand for Complex<f32>

    ","ScalarOperand","numpy::Complex32"],["
    Source§

    impl ScalarOperand for Complex<f64>

    ","ScalarOperand","numpy::Complex64"],["
    Source§

    impl<T> StructuralPartialEq for Complex<T>

    ","StructuralPartialEq","numpy::Complex32","numpy::Complex64"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[419195]} \ No newline at end of file +//{"start":55,"fragment_lengths":[420779]} \ No newline at end of file diff --git a/type.impl/numpy/array/struct.PyArray.js b/type.impl/numpy/array/struct.PyArray.js index 85c2a475..1b455ee0 100644 --- a/type.impl/numpy/array/struct.PyArray.js +++ b/type.impl/numpy/array/struct.PyArray.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

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

    source

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

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

    \n

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

    \n
    §Example
    \n
    use ndarray::array;\nuse pyo3::{pyclass, Py, Python, types::PyAnyMethods};\nuse numpy::{PyArray, PyArrayMethods};\n\n#[pyclass]\nstruct CustomElement {\n    foo: i32,\n    bar: f64,\n}\n\nPython::with_gil(|py| {\n    let array = array![\n        Py::new(py, CustomElement {\n            foo: 1,\n            bar: 2.0,\n        }).unwrap(),\n        Py::new(py, CustomElement {\n            foo: 3,\n            bar: 4.0,\n        }).unwrap(),\n    ];\n\n    let pyarray = PyArray::from_owned_object_array(py, array);\n\n    assert!(pyarray.readonly().as_array().get(0).unwrap().bind(py).is_instance_of::<CustomElement>());\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_owned_object_array

    Deprecated name for PyArray::from_owned_object_array.

    \n
    ",0,"numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    source§

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

    source

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

    Creates a new uninitialized NumPy array.

    \n

    If is_fortran is true, then it has Fortran/column-major order,\notherwise it has C/row-major order.

    \n
    §Safety
    \n

    The returned array will always be safe to be dropped as the elements must either\nbe trivially copyable (as indicated by <T as Element>::IS_COPY) or be pointers\ninto Python’s heap, which NumPy will automatically zero-initialize.

    \n

    However, the elements themselves will not be valid and should be initialized manually\nusing raw pointers obtained via [uget_raw][Self::uget_raw]. Before that, all methods\nwhich produce references to the elements invoke undefined behaviour. In particular,\nzero-initialized pointers are not valid instances of PyObject.

    \n
    §Example
    \n
    use numpy::prelude::*;\nuse numpy::PyArray3;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let arr = unsafe {\n        let arr = PyArray3::<i32>::new(py, [4, 5, 6], false);\n\n        for i in 0..4 {\n            for j in 0..5 {\n                for k in 0..6 {\n                    arr.uget_raw([i, j, k]).write((i * j * k) as i32);\n                }\n            }\n        }\n\n        arr\n    };\n\n    assert_eq!(arr.shape(), &[4, 5, 6]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::new

    Deprecated name for PyArray::new.

    \n
    §Safety
    \n

    See PyArray::new.

    \n
    source

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

    Creates a NumPy array backed by array and ties its ownership to the Python object container.

    \n

    The resulting NumPy array will be writeable from Python space. If this is undesireable, use\nPyReadwriteArray::make_nonwriteable.

    \n
    §Safety
    \n

    container is set as a base object of the returned array which must not be dropped until container is dropped.\nFurthermore, array must not be reallocated from the time this method is called and until container is dropped.

    \n
    §Example
    \n
    #[pyclass]\nstruct Owner {\n    array: Array1<f64>,\n}\n\n#[pymethods]\nimpl Owner {\n    #[getter]\n    fn array<'py>(this: Bound<'py, Self>) -> Bound<'py, PyArray1<f64>> {\n        let array = &this.borrow().array;\n\n        // SAFETY: The memory backing `array` will stay valid as long as this object is alive\n        // as we do not modify `array` in any way which would cause it to be reallocated.\n        unsafe { PyArray1::borrow_from_array(array, this.into_any()) }\n    }\n}
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::borrow_from_array

    Deprecated name for PyArray::borrow_from_array.

    \n
    §Safety
    \n

    See PyArray::borrow_from_array

    \n
    source

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

    Construct a new NumPy array filled with zeros.

    \n

    If is_fortran is true, then it has Fortran/column-major order,\notherwise it has C/row-major order.

    \n

    For arrays of Python objects, this will fill the array\nwith valid pointers to zero-valued Python integer objects.

    \n

    See also numpy.zeros and PyArray_Zeros.

    \n
    §Example
    \n
    use numpy::{PyArray2, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray2::<usize>::zeros(py, [2, 2], true);\n\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), [0; 4]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::zeros

    Deprecated name for PyArray::zeros.

    \n
    source

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

    Constructs a NumPy from an ndarray::Array

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse ndarray::array;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_owned_array(py, array![[1, 2], [3, 4]]);\n\n    assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_owned_array

    Deprecated name for PyArray::from_owned_array.

    \n
    source

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

    Construct a NumPy array from a ndarray::ArrayBase.

    \n

    This method allocates memory in Python’s heap via the NumPy API,\nand then copies all elements of the array there.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse ndarray::array;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_array(py, &array![[1, 2], [3, 4]]);\n\n    assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_array

    Deprecated name for PyArray::from_array.

    \n
    ",0,"numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    source§

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

    source

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

    Construct a one-dimensional array from a slice.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let slice = &[1, 2, 3, 4, 5];\n    let pyarray = PyArray::from_slice(py, slice);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_slice

    Deprecated name for PyArray::from_slice.

    \n
    source

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

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let vec = vec![1, 2, 3, 4, 5];\n    let pyarray = PyArray::from_vec(py, vec);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec

    Deprecated name for PyArray::from_vec.

    \n
    source

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

    Construct a one-dimensional array from an Iterator.

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_iter(py, \"abcde\".chars().map(u32::from));\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[97, 98, 99, 100, 101]);\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_iter

    Deprecated name for PyArray::from_iter.

    \n
    ",0,"numpy::array::PyArray1"],["
    source§

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

    source

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

    Return evenly spaced values within a given interval.

    \n

    See numpy.arange for the Python API and PyArray_Arange for the C API.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::arange(py, 2.0, 4.0, 0.5);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[2.0, 2.5, 3.0, 3.5]);\n\n    let pyarray = PyArray::arange(py, -2, 4, 3);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[-2, 1]);\n});
    \n
    source

    pub fn arange_bound<'py>(\n py: Python<'py>,\n start: T,\n stop: T,\n step: T,\n) -> Bound<'py, Self>

    👎Deprecated since 0.23.0: renamed to PyArray::arange

    Deprecated name for PyArray::arange.

    \n
    ",0,"numpy::array::PyArray1"],["
    source§

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

    source

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

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

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\nuse ndarray::array;\n\nPython::with_gil(|py| {\n    let vec2 = vec![vec![11, 12], vec![21, 22]];\n    let pyarray = PyArray::from_vec2(py, &vec2).unwrap();\n    assert_eq!(pyarray.readonly().as_array(), array![[11, 12], [21, 22]]);\n\n    let ragged_vec2 = vec![vec![11, 12], vec![21]];\n    assert!(PyArray::from_vec2(py, &ragged_vec2).is_err());\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec2

    Deprecated name for PyArray::from_vec2.

    \n
    ",0,"numpy::array::PyArray2"],["
    source§

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

    source

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

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

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\nuse ndarray::array;\n\nPython::with_gil(|py| {\n    let vec3 = vec![\n        vec![vec![111, 112], vec![121, 122]],\n        vec![vec![211, 212], vec![221, 222]],\n    ];\n    let pyarray = PyArray::from_vec3(py, &vec3).unwrap();\n    assert_eq!(\n        pyarray.readonly().as_array(),\n        array![[[111, 112], [121, 122]], [[211, 212], [221, 222]]]\n    );\n\n    let ragged_vec3 = vec![\n        vec![vec![111, 112], vec![121, 122]],\n        vec![vec![211], vec![221, 222]],\n    ];\n    assert!(PyArray::from_vec3(py, &ragged_vec3).is_err());\n});
    \n
    source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec3

    Deprecated name for PyArray::from_vec3.

    \n
    ",0,"numpy::array::PyArray3"],["
    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(ob: &Bound<'_, PyAny>) -> bool

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

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    ","PyTypeInfo","numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    source§

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

    ","DerefToPyAny","numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

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

    Source

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

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

    \n

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

    \n
    §Example
    \n
    use ndarray::array;\nuse pyo3::{pyclass, Py, Python, types::PyAnyMethods};\nuse numpy::{PyArray, PyArrayMethods};\n\n#[pyclass]\nstruct CustomElement {\n    foo: i32,\n    bar: f64,\n}\n\nPython::with_gil(|py| {\n    let array = array![\n        Py::new(py, CustomElement {\n            foo: 1,\n            bar: 2.0,\n        }).unwrap(),\n        Py::new(py, CustomElement {\n            foo: 3,\n            bar: 4.0,\n        }).unwrap(),\n    ];\n\n    let pyarray = PyArray::from_owned_object_array(py, array);\n\n    assert!(pyarray.readonly().as_array().get(0).unwrap().bind(py).is_instance_of::<CustomElement>());\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_owned_object_array

    Deprecated name for PyArray::from_owned_object_array.

    \n
    ",0,"numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    Source§

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

    Source

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

    Creates a new uninitialized NumPy array.

    \n

    If is_fortran is true, then it has Fortran/column-major order,\notherwise it has C/row-major order.

    \n
    §Safety
    \n

    The returned array will always be safe to be dropped as the elements must either\nbe trivially copyable (as indicated by <T as Element>::IS_COPY) or be pointers\ninto Python’s heap, which NumPy will automatically zero-initialize.

    \n

    However, the elements themselves will not be valid and should be initialized manually\nusing raw pointers obtained via [uget_raw][Self::uget_raw]. Before that, all methods\nwhich produce references to the elements invoke undefined behaviour. In particular,\nzero-initialized pointers are not valid instances of PyObject.

    \n
    §Example
    \n
    use numpy::prelude::*;\nuse numpy::PyArray3;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let arr = unsafe {\n        let arr = PyArray3::<i32>::new(py, [4, 5, 6], false);\n\n        for i in 0..4 {\n            for j in 0..5 {\n                for k in 0..6 {\n                    arr.uget_raw([i, j, k]).write((i * j * k) as i32);\n                }\n            }\n        }\n\n        arr\n    };\n\n    assert_eq!(arr.shape(), &[4, 5, 6]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::new

    Deprecated name for PyArray::new.

    \n
    §Safety
    \n

    See PyArray::new.

    \n
    Source

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

    Creates a NumPy array backed by array and ties its ownership to the Python object container.

    \n

    The resulting NumPy array will be writeable from Python space. If this is undesireable, use\nPyReadwriteArray::make_nonwriteable.

    \n
    §Safety
    \n

    container is set as a base object of the returned array which must not be dropped until container is dropped.\nFurthermore, array must not be reallocated from the time this method is called and until container is dropped.

    \n
    §Example
    \n
    #[pyclass]\nstruct Owner {\n    array: Array1<f64>,\n}\n\n#[pymethods]\nimpl Owner {\n    #[getter]\n    fn array<'py>(this: Bound<'py, Self>) -> Bound<'py, PyArray1<f64>> {\n        let array = &this.borrow().array;\n\n        // SAFETY: The memory backing `array` will stay valid as long as this object is alive\n        // as we do not modify `array` in any way which would cause it to be reallocated.\n        unsafe { PyArray1::borrow_from_array(array, this.into_any()) }\n    }\n}
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::borrow_from_array

    Deprecated name for PyArray::borrow_from_array.

    \n
    §Safety
    \n

    See PyArray::borrow_from_array

    \n
    Source

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

    Construct a new NumPy array filled with zeros.

    \n

    If is_fortran is true, then it has Fortran/column-major order,\notherwise it has C/row-major order.

    \n

    For arrays of Python objects, this will fill the array\nwith valid pointers to zero-valued Python integer objects.

    \n

    See also numpy.zeros and PyArray_Zeros.

    \n
    §Example
    \n
    use numpy::{PyArray2, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray2::<usize>::zeros(py, [2, 2], true);\n\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), [0; 4]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::zeros

    Deprecated name for PyArray::zeros.

    \n
    Source

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

    Constructs a NumPy from an ndarray::Array

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse ndarray::array;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_owned_array(py, array![[1, 2], [3, 4]]);\n\n    assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_owned_array

    Deprecated name for PyArray::from_owned_array.

    \n
    Source

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

    Construct a NumPy array from a ndarray::ArrayBase.

    \n

    This method allocates memory in Python’s heap via the NumPy API,\nand then copies all elements of the array there.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse ndarray::array;\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_array(py, &array![[1, 2], [3, 4]]);\n\n    assert_eq!(pyarray.readonly().as_array(), array![[1, 2], [3, 4]]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_array

    Deprecated name for PyArray::from_array.

    \n
    ",0,"numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    Source§

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

    Source

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

    Construct a one-dimensional array from a slice.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let slice = &[1, 2, 3, 4, 5];\n    let pyarray = PyArray::from_slice(py, slice);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_slice

    Deprecated name for PyArray::from_slice.

    \n
    Source

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

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let vec = vec![1, 2, 3, 4, 5];\n    let pyarray = PyArray::from_vec(py, vec);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[1, 2, 3, 4, 5]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec

    Deprecated name for PyArray::from_vec.

    \n
    Source

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

    Construct a one-dimensional array from an Iterator.

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::from_iter(py, \"abcde\".chars().map(u32::from));\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[97, 98, 99, 100, 101]);\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_iter

    Deprecated name for PyArray::from_iter.

    \n
    ",0,"numpy::array::PyArray1"],["
    Source§

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

    Source

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

    Return evenly spaced values within a given interval.

    \n

    See numpy.arange for the Python API and PyArray_Arange for the C API.

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::arange(py, 2.0, 4.0, 0.5);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[2.0, 2.5, 3.0, 3.5]);\n\n    let pyarray = PyArray::arange(py, -2, 4, 3);\n    assert_eq!(pyarray.readonly().as_slice().unwrap(), &[-2, 1]);\n});
    \n
    Source

    pub fn arange_bound<'py>(\n py: Python<'py>,\n start: T,\n stop: T,\n step: T,\n) -> Bound<'py, Self>

    👎Deprecated since 0.23.0: renamed to PyArray::arange

    Deprecated name for PyArray::arange.

    \n
    ",0,"numpy::array::PyArray1"],["
    Source§

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

    Source

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

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

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\nuse ndarray::array;\n\nPython::with_gil(|py| {\n    let vec2 = vec![vec![11, 12], vec![21, 22]];\n    let pyarray = PyArray::from_vec2(py, &vec2).unwrap();\n    assert_eq!(pyarray.readonly().as_array(), array![[11, 12], [21, 22]]);\n\n    let ragged_vec2 = vec![vec![11, 12], vec![21]];\n    assert!(PyArray::from_vec2(py, &ragged_vec2).is_err());\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec2

    Deprecated name for PyArray::from_vec2.

    \n
    ",0,"numpy::array::PyArray2"],["
    Source§

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

    Source

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

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

    \n

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

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods};\nuse pyo3::Python;\nuse ndarray::array;\n\nPython::with_gil(|py| {\n    let vec3 = vec![\n        vec![vec![111, 112], vec![121, 122]],\n        vec![vec![211, 212], vec![221, 222]],\n    ];\n    let pyarray = PyArray::from_vec3(py, &vec3).unwrap();\n    assert_eq!(\n        pyarray.readonly().as_array(),\n        array![[[111, 112], [121, 122]], [[211, 212], [221, 222]]]\n    );\n\n    let ragged_vec3 = vec![\n        vec![vec![111, 112], vec![121, 122]],\n        vec![vec![211], vec![221, 222]],\n    ];\n    assert!(PyArray::from_vec3(py, &ragged_vec3).is_err());\n});
    \n
    Source

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

    👎Deprecated since 0.23.0: renamed to PyArray::from_vec3

    Deprecated name for PyArray::from_vec3.

    \n
    ",0,"numpy::array::PyArray3"],["
    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(ob: &Bound<'_, PyAny>) -> bool

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

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

    Returns the safe abstraction over the type object.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
    Deprecated name for [PyTypeInfo::type_object].
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
    Deprecated name for [PyTypeInfo::is_type_of].
    §

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

    Checks if object is an instance of this type.
    §

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

    👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
    Deprecated name for [PyTypeInfo::is_exact_type_of].
    ","PyTypeInfo","numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"],["
    Source§

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

    ","DerefToPyAny","numpy::array::PyArray0","numpy::array::PyArray1","numpy::array::PyArray2","numpy::array::PyArray3","numpy::array::PyArray4","numpy::array::PyArray5","numpy::array::PyArray6","numpy::array::PyArrayDyn"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/borrow/struct.PyReadonlyArray.js b/type.impl/numpy/borrow/struct.PyReadonlyArray.js index 751bedc0..d4964eff 100644 --- a/type.impl/numpy/borrow/struct.PyReadonlyArray.js +++ b/type.impl/numpy/borrow/struct.PyReadonlyArray.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n 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
    ","Clone","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

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

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

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

    source§

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

    The resulting type after dereferencing.
    source§

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

    Dereferences the value.
    ","Deref","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

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

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

    impl<'py, T, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    source§

    fn from(value: PyReadwriteArray<'py, T, D>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    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
    ","FromPyObject<'py>","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

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

    source

    pub fn try_as_matrix<R, C, RStride, CStride>(\n &self,\n) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
    where\n R: Dim,\n C: Dim,\n RStride: Dim,\n CStride: Dim,

    Try to convert this array into a nalgebra::MatrixView using the given shape and strides.

    \n

    Note that nalgebra’s types default to Fortan/column-major standard strides whereas NumPy creates C/row-major strides by default.\nFurthermore, array views created by slicing into existing arrays will often have non-standard strides.

    \n

    If you do not fully control the memory layout of a given array, e.g. at your API entry points,\nit can be useful to opt into nalgebra’s support for dynamic strides, for example

    \n\n
    use pyo3::{py_run, ffi::c_str};\nuse numpy::{get_array_module, PyReadonlyArray2};\nuse nalgebra::{MatrixView, Const, Dyn};\n\n#[pyfunction]\nfn sum_standard_layout<'py>(py: Python<'py>, array: PyReadonlyArray2<'py, f64>) -> Option<f64> {\n    let matrix: Option<MatrixView<f64, Const<2>, Const<2>>> = array.try_as_matrix();\n    matrix.map(|matrix| matrix.sum())\n}\n\n#[pyfunction]\nfn sum_dynamic_strides<'py>(py: Python<'py>, array: PyReadonlyArray2<'py, f64>) -> Option<f64> {\n    let matrix: Option<MatrixView<f64, Const<2>, Const<2>, Dyn, Dyn>> = array.try_as_matrix();\n    matrix.map(|matrix| matrix.sum())\n}\n\nPython::with_gil(|py| {\n    let np = py.eval(c_str!(\"__import__('numpy')\"), None, None)?;\n    let sum_standard_layout = wrap_pyfunction!(sum_standard_layout)(py)?;\n    let sum_dynamic_strides = wrap_pyfunction!(sum_dynamic_strides)(py)?;\n\n    py_run!(py, np sum_standard_layout, r\"assert sum_standard_layout(np.ones((2, 2), order='F')) == 4.\");\n    py_run!(py, np sum_standard_layout, r\"assert sum_standard_layout(np.ones((2, 2, 2))[:,:,0]) is None\");\n\n    py_run!(py, np sum_dynamic_strides, r\"assert sum_dynamic_strides(np.ones((2, 2), order='F')) == 4.\");\n    py_run!(py, np sum_dynamic_strides, r\"assert sum_dynamic_strides(np.ones((2, 2, 2))[:,:,0]) == 4.\");\n})
    \n
    ",0,"numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    source§

    impl<'py, N> PyReadonlyArray<'py, N, Ix1>
    where\n N: Scalar + Element,

    source

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

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

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadonlyArray1"],["
    source§

    impl<'py, N> PyReadonlyArray<'py, N, Ix2>
    where\n 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.

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadonlyArray2"],["
    source§

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

    source

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

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

    \n
    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.

    \n
    source

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

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

    \n
    ",0,"numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl<'py, T, D> Clone for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n 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
    ","Clone","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

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

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

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

    Source§

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

    The resulting type after dereferencing.
    Source§

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

    Dereferences the value.
    ","Deref","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

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

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

    impl<'py, T, D> From<PyReadwriteArray<'py, T, D>> for PyReadonlyArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    Source§

    fn from(value: PyReadwriteArray<'py, T, D>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    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
    ","FromPyObject<'py>","numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

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

    Source

    pub fn try_as_matrix<R, C, RStride, CStride>(\n &self,\n) -> Option<MatrixView<'_, N, R, C, RStride, CStride>>
    where\n R: Dim,\n C: Dim,\n RStride: Dim,\n CStride: Dim,

    Try to convert this array into a nalgebra::MatrixView using the given shape and strides.

    \n

    Note that nalgebra’s types default to Fortan/column-major standard strides whereas NumPy creates C/row-major strides by default.\nFurthermore, array views created by slicing into existing arrays will often have non-standard strides.

    \n

    If you do not fully control the memory layout of a given array, e.g. at your API entry points,\nit can be useful to opt into nalgebra’s support for dynamic strides, for example

    \n\n
    use pyo3::{py_run, ffi::c_str};\nuse numpy::{get_array_module, PyReadonlyArray2};\nuse nalgebra::{MatrixView, Const, Dyn};\n\n#[pyfunction]\nfn sum_standard_layout<'py>(py: Python<'py>, array: PyReadonlyArray2<'py, f64>) -> Option<f64> {\n    let matrix: Option<MatrixView<f64, Const<2>, Const<2>>> = array.try_as_matrix();\n    matrix.map(|matrix| matrix.sum())\n}\n\n#[pyfunction]\nfn sum_dynamic_strides<'py>(py: Python<'py>, array: PyReadonlyArray2<'py, f64>) -> Option<f64> {\n    let matrix: Option<MatrixView<f64, Const<2>, Const<2>, Dyn, Dyn>> = array.try_as_matrix();\n    matrix.map(|matrix| matrix.sum())\n}\n\nPython::with_gil(|py| {\n    let np = py.eval(c_str!(\"__import__('numpy')\"), None, None)?;\n    let sum_standard_layout = wrap_pyfunction!(sum_standard_layout)(py)?;\n    let sum_dynamic_strides = wrap_pyfunction!(sum_dynamic_strides)(py)?;\n\n    py_run!(py, np sum_standard_layout, r\"assert sum_standard_layout(np.ones((2, 2), order='F')) == 4.\");\n    py_run!(py, np sum_standard_layout, r\"assert sum_standard_layout(np.ones((2, 2, 2))[:,:,0]) is None\");\n\n    py_run!(py, np sum_dynamic_strides, r\"assert sum_dynamic_strides(np.ones((2, 2), order='F')) == 4.\");\n    py_run!(py, np sum_dynamic_strides, r\"assert sum_dynamic_strides(np.ones((2, 2, 2))[:,:,0]) == 4.\");\n})
    \n
    ",0,"numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"],["
    Source§

    impl<'py, N> PyReadonlyArray<'py, N, Ix1>
    where\n N: Scalar + Element,

    Source

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

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

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadonlyArray1"],["
    Source§

    impl<'py, N> PyReadonlyArray<'py, N, Ix2>
    where\n 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.

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadonlyArray2"],["
    Source§

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

    Source

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

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

    \n
    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.

    \n
    Source

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

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

    \n
    ",0,"numpy::borrow::PyReadonlyArray0","numpy::borrow::PyReadonlyArray1","numpy::borrow::PyReadonlyArray2","numpy::borrow::PyReadonlyArray3","numpy::borrow::PyReadonlyArray4","numpy::borrow::PyReadonlyArray5","numpy::borrow::PyReadonlyArray6","numpy::borrow::PyReadonlyArrayDyn"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/borrow/struct.PyReadwriteArray.js b/type.impl/numpy/borrow/struct.PyReadwriteArray.js index 4cd26ef1..447480ac 100644 --- a/type.impl/numpy/borrow/struct.PyReadwriteArray.js +++ b/type.impl/numpy/borrow/struct.PyReadwriteArray.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    source§

    impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    source§

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    source§

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

    Dereferences the value.
    ","Deref","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    source§

    impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    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
    ","FromPyObject<'py>","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    source§

    impl<'py, N, D> PyReadwriteArray<'py, N, D>
    where\n N: Scalar + Element,\n D: Dimension,

    source

    pub fn try_as_matrix_mut<R, C, RStride, CStride>(\n &self,\n) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
    where\n R: Dim,\n C: Dim,\n RStride: Dim,\n CStride: Dim,

    Try to convert this array into a nalgebra::MatrixViewMut using the given shape and strides.

    \n

    See PyReadonlyArray::try_as_matrix for a discussion of the memory layout requirements.

    \n
    ",0,"numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    source§

    impl<'py, N> PyReadwriteArray<'py, N, Ix1>
    where\n N: Scalar + Element,

    source

    pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

    Convert this one-dimensional array into a nalgebra::DMatrixViewMut using dynamic strides.

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadwriteArray1"],["
    source§

    impl<'py, N> PyReadwriteArray<'py, N, Ix2>
    where\n N: Scalar + Element,

    source

    pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

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

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadwriteArray2"],["
    source§

    impl<'py, T, D> PyReadwriteArray<'py, T, D>
    where\n T: Element,\n 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.

    \n
    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.

    \n
    source

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

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

    \n
    source

    pub fn make_nonwriteable(self) -> PyReadonlyArray<'py, T, D>

    Clear the WRITEABLE flag from the underlying NumPy array.

    \n

    Calling this will prevent any further PyReadwriteArrays from being taken out. Python\nspace can reset this flag, unless the additional flag OWNDATA is unset. Such\nan array can be created from Rust space by using PyArray::borrow_from_array_bound.

    \n
    ",0,"numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    source§

    impl<'py, T> PyReadwriteArray<'py, T, Ix1>
    where\n T: Element,

    source

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

    Extends or truncates the dimensions of an array.

    \n

    Safe wrapper for [PyArray::resize].

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods, PyUntypedArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::arange(py, 0, 10, 1);\n    assert_eq!(pyarray.len(), 10);\n\n    let pyarray = pyarray.readwrite();\n    let pyarray = pyarray.resize(100).unwrap();\n    assert_eq!(pyarray.len(), 100);\n});
    \n
    ",0,"numpy::borrow::PyReadwriteArray1"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl<'py, T, D> Debug for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    Source§

    impl<'py, T, D> Deref for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    Source§

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    Source§

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

    Dereferences the value.
    ","Deref","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    Source§

    impl<'py, T, D> Drop for PyReadwriteArray<'py, T, D>
    where\n T: Element,\n D: Dimension,

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    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
    ","FromPyObject<'py>","numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    Source§

    impl<'py, N, D> PyReadwriteArray<'py, N, D>
    where\n N: Scalar + Element,\n D: Dimension,

    Source

    pub fn try_as_matrix_mut<R, C, RStride, CStride>(\n &self,\n) -> Option<MatrixViewMut<'_, N, R, C, RStride, CStride>>
    where\n R: Dim,\n C: Dim,\n RStride: Dim,\n CStride: Dim,

    Try to convert this array into a nalgebra::MatrixViewMut using the given shape and strides.

    \n

    See PyReadonlyArray::try_as_matrix for a discussion of the memory layout requirements.

    \n
    ",0,"numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    Source§

    impl<'py, N> PyReadwriteArray<'py, N, Ix1>
    where\n N: Scalar + Element,

    Source

    pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

    Convert this one-dimensional array into a nalgebra::DMatrixViewMut using dynamic strides.

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadwriteArray1"],["
    Source§

    impl<'py, N> PyReadwriteArray<'py, N, Ix2>
    where\n N: Scalar + Element,

    Source

    pub fn as_matrix_mut(&self) -> DMatrixViewMut<'_, N, Dyn, Dyn>

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

    \n
    §Panics
    \n

    Panics if the array has negative strides.

    \n
    ",0,"numpy::borrow::PyReadwriteArray2"],["
    Source§

    impl<'py, T, D> PyReadwriteArray<'py, T, D>
    where\n T: Element,\n 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.

    \n
    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.

    \n
    Source

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

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

    \n
    Source

    pub fn make_nonwriteable(self) -> PyReadonlyArray<'py, T, D>

    Clear the WRITEABLE flag from the underlying NumPy array.

    \n

    Calling this will prevent any further PyReadwriteArrays from being taken out. Python\nspace can reset this flag, unless the additional flag OWNDATA is unset. Such\nan array can be created from Rust space by using PyArray::borrow_from_array_bound.

    \n
    ",0,"numpy::borrow::PyReadwriteArray0","numpy::borrow::PyReadwriteArray1","numpy::borrow::PyReadwriteArray2","numpy::borrow::PyReadwriteArray3","numpy::borrow::PyReadwriteArray4","numpy::borrow::PyReadwriteArray5","numpy::borrow::PyReadwriteArray6","numpy::borrow::PyReadwriteArrayDyn"],["
    Source§

    impl<'py, T> PyReadwriteArray<'py, T, Ix1>
    where\n T: Element,

    Source

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

    Extends or truncates the dimensions of an array.

    \n

    Safe wrapper for [PyArray::resize].

    \n
    §Example
    \n
    use numpy::{PyArray, PyArrayMethods, PyUntypedArrayMethods};\nuse pyo3::Python;\n\nPython::with_gil(|py| {\n    let pyarray = PyArray::arange(py, 0, 10, 1);\n    assert_eq!(pyarray.len(), 10);\n\n    let pyarray = pyarray.readwrite();\n    let pyarray = pyarray.resize(100).unwrap();\n    assert_eq!(pyarray.len(), 100);\n});
    \n
    ",0,"numpy::borrow::PyReadwriteArray1"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/npyffi/types/struct.npy_cdouble.js b/type.impl/numpy/npyffi/types/struct.npy_cdouble.js index bc372a66..554e25fb 100644 --- a/type.impl/numpy/npyffi/types/struct.npy_cdouble.js +++ b/type.impl/numpy/npyffi/types/struct.npy_cdouble.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex128"],["
    source§

    impl Debug for npy_cdouble

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex128"],["
    source§

    impl Copy for npy_cdouble

    ","Copy","numpy::npyffi::types::npy_complex128"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex128"],["
    Source§

    impl Debug for npy_cdouble

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex128"],["
    Source§

    impl Copy for npy_cdouble

    ","Copy","numpy::npyffi::types::npy_complex128"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/npyffi/types/struct.npy_cfloat.js b/type.impl/numpy/npyffi/types/struct.npy_cfloat.js index 188da512..631027b0 100644 --- a/type.impl/numpy/npyffi/types/struct.npy_cfloat.js +++ b/type.impl/numpy/npyffi/types/struct.npy_cfloat.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex64"],["
    source§

    impl Debug for npy_cfloat

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex64"],["
    source§

    impl Copy for npy_cfloat

    ","Copy","numpy::npyffi::types::npy_complex64"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex64"],["
    Source§

    impl Debug for npy_cfloat

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex64"],["
    Source§

    impl Copy for npy_cfloat

    ","Copy","numpy::npyffi::types::npy_complex64"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/npyffi/types/struct.npy_clongdouble.js b/type.impl/numpy/npyffi/types/struct.npy_clongdouble.js index fd045c35..5d243aeb 100644 --- a/type.impl/numpy/npyffi/types/struct.npy_clongdouble.js +++ b/type.impl/numpy/npyffi/types/struct.npy_clongdouble.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex256"],["
    source§

    impl Debug for npy_clongdouble

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex256"],["
    source§

    impl Copy for npy_clongdouble

    ","Copy","numpy::npyffi::types::npy_complex256"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    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
    ","Clone","numpy::npyffi::types::npy_complex256"],["
    Source§

    impl Debug for npy_clongdouble

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::types::npy_complex256"],["
    Source§

    impl Copy for npy_clongdouble

    ","Copy","numpy::npyffi::types::npy_complex256"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/numpy/struct.PyArrayLike.js b/type.impl/numpy/struct.PyArrayLike.js index 34a5f505..53bd79a7 100644 --- a/type.impl/numpy/struct.PyArrayLike.js +++ b/type.impl/numpy/struct.PyArrayLike.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where\n T: Element + Debug,\n D: Dimension + Debug,\n C: Coerce + Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"],["
    source§

    impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where\n T: Element,\n D: Dimension,\n C: Coerce,

    source§

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    source§

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

    Dereferences the value.
    ","Deref","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"],["
    source§

    impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where\n T: Element + 'py,\n D: Dimension + 'py,\n C: Coerce,\n Vec<T>: FromPyObject<'py>,

    source§

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

    Extracts Self from the bound smart pointer obj. Read more
    ","FromPyObject<'py>","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl<'py, T, D, C> Debug for PyArrayLike<'py, T, D, C>
    where\n T: Element + Debug,\n D: Dimension + Debug,\n C: Coerce + Debug,

    Source§

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"],["
    Source§

    impl<'py, T, D, C> Deref for PyArrayLike<'py, T, D, C>
    where\n T: Element,\n D: Dimension,\n C: Coerce,

    Source§

    type Target = PyReadonlyArray<'py, T, D>

    The resulting type after dereferencing.
    Source§

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

    Dereferences the value.
    ","Deref","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"],["
    Source§

    impl<'py, T, D, C> FromPyObject<'py> for PyArrayLike<'py, T, D, C>
    where\n T: Element + 'py,\n D: Dimension + 'py,\n C: Coerce,\n Vec<T>: FromPyObject<'py>,

    Source§

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

    Extracts Self from the bound smart pointer obj. Read more
    ","FromPyObject<'py>","numpy::array_like::PyArrayLike0","numpy::array_like::PyArrayLike1","numpy::array_like::PyArrayLike2","numpy::array_like::PyArrayLike3","numpy::array_like::PyArrayLike4","numpy::array_like::PyArrayLike5","numpy::array_like::PyArrayLike6","numpy::array_like::PyArrayLikeDyn"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/pyo3_ffi/cpython/object/struct.PyTypeObject.js b/type.impl/pyo3_ffi/cpython/object/struct.PyTypeObject.js index 77dce70b..c9d8c100 100644 --- a/type.impl/pyo3_ffi/cpython/object/struct.PyTypeObject.js +++ b/type.impl/pyo3_ffi/cpython/object/struct.PyTypeObject.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    §

    impl Debug for PyTypeObject

    §

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::objects::PyArray_DTypeMeta"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    §

    impl Debug for PyTypeObject

    §

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

    Formats the value using the given formatter. Read more
    ","Debug","numpy::npyffi::objects::PyArray_DTypeMeta"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.f32.js b/type.impl/std/primitive.f32.js index a58f1b3e..0ef55e51 100644 --- a/type.impl/std/primitive.f32.js +++ b/type.impl/std/primitive.f32.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for f32

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> f32

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f32]) -> Vec<f32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, f32, D>,\n) -> Array<f32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_float","numpy::npyffi::types::npy_float32"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for f32

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> f32

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f32]) -> Vec<f32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, f32, D>,\n) -> Array<f32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_float","numpy::npyffi::types::npy_float32"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.f64.js b/type.impl/std/primitive.f64.js index 05813c4d..f5a03847 100644 --- a/type.impl/std/primitive.f64.js +++ b/type.impl/std/primitive.f64.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for f64

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> f64

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f64]) -> Vec<f64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, f64, D>,\n) -> Array<f64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_longdouble","numpy::npyffi::types::npy_double","numpy::npyffi::types::npy_float64"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for f64

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> f64

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[f64]) -> Vec<f64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, f64, D>,\n) -> Array<f64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_longdouble","numpy::npyffi::types::npy_double","numpy::npyffi::types::npy_float64"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.i16.js b/type.impl/std/primitive.i16.js index 0a5bdc09..43611a81 100644 --- a/type.impl/std/primitive.i16.js +++ b/type.impl/std/primitive.i16.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for i16

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> i16

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i16]) -> Vec<i16>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i16, D>,\n) -> Array<i16, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int16"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for i16

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i16

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i16]) -> Vec<i16>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i16, D>,\n) -> Array<i16, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int16"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.i32.js b/type.impl/std/primitive.i32.js index 29e9e8e0..d77f5c29 100644 --- a/type.impl/std/primitive.i32.js +++ b/type.impl/std/primitive.i32.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for i32

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> i32

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i32]) -> Vec<i32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i32, D>,\n) -> Array<i32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int32"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for i32

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i32

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i32]) -> Vec<i32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i32, D>,\n) -> Array<i32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int32"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.i64.js b/type.impl/std/primitive.i64.js index f80a5512..3186c7ac 100644 --- a/type.impl/std/primitive.i64.js +++ b/type.impl/std/primitive.i64.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for i64

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> i64

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i64]) -> Vec<i64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i64, D>,\n) -> Array<i64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int64"],["
    source§

    impl<U: Unit> From<Datetime<U>> for i64

    source§

    fn from(val: Datetime<U>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::npyffi::types::npy_int64"],["
    source§

    impl<U: Unit> From<Timedelta<U>> for i64

    source§

    fn from(val: Timedelta<U>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::npyffi::types::npy_int64"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for i64

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i64

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i64]) -> Vec<i64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i64, D>,\n) -> Array<i64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int64"],["
    Source§

    impl<U: Unit> From<Datetime<U>> for i64

    Source§

    fn from(val: Datetime<U>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::npyffi::types::npy_int64"],["
    Source§

    impl<U: Unit> From<Timedelta<U>> for i64

    Source§

    fn from(val: Timedelta<U>) -> Self

    Converts to this type from the input type.
    ","From>","numpy::npyffi::types::npy_int64"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.i8.js b/type.impl/std/primitive.i8.js index daacecce..432a8fc1 100644 --- a/type.impl/std/primitive.i8.js +++ b/type.impl/std/primitive.i8.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for i8

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> i8

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i8]) -> Vec<i8>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i8, D>,\n) -> Array<i8, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int8"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for i8

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> i8

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[i8]) -> Vec<i8>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, i8, D>,\n) -> Array<i8, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_int8"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.u16.js b/type.impl/std/primitive.u16.js index dbbb7423..352170ef 100644 --- a/type.impl/std/primitive.u16.js +++ b/type.impl/std/primitive.u16.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for u16

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> u16

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u16]) -> Vec<u16>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u16, D>,\n) -> Array<u16, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint16"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for u16

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u16

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u16]) -> Vec<u16>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u16, D>,\n) -> Array<u16, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint16"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.u32.js b/type.impl/std/primitive.u32.js index dc8b6fc4..e7a55283 100644 --- a/type.impl/std/primitive.u32.js +++ b/type.impl/std/primitive.u32.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for u32

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> u32

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u32]) -> Vec<u32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u32, D>,\n) -> Array<u32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint32"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for u32

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u32

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u32]) -> Vec<u32>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u32, D>,\n) -> Array<u32, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint32"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.u64.js b/type.impl/std/primitive.u64.js index 05f73df4..2ded654f 100644 --- a/type.impl/std/primitive.u64.js +++ b/type.impl/std/primitive.u64.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for u64

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> u64

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u64]) -> Vec<u64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u64, D>,\n) -> Array<u64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint64"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for u64

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u64

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u64]) -> Vec<u64>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u64, D>,\n) -> Array<u64, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint64"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/std/primitive.u8.js b/type.impl/std/primitive.u8.js index 6122c0c4..2088e7ae 100644 --- a/type.impl/std/primitive.u8.js +++ b/type.impl/std/primitive.u8.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["numpy",[["
    source§

    impl Element for u8

    source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    source§

    fn clone_ref(&self, _py: Python<'_>) -> u8

    Create a clone of the value while the GIL is guaranteed to be held.
    source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u8]) -> Vec<u8>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u8, D>,\n) -> Array<u8, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint8"]]]]); + var type_impls = Object.fromEntries([["numpy",[["
    Source§

    impl Element for u8

    Source§

    const IS_COPY: bool = true

    Flag that indicates whether this type is trivially copyable. Read more
    Source§

    fn get_dtype(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    Returns the associated type descriptor (“dtype”) for the given element type.
    Source§

    fn clone_ref(&self, _py: Python<'_>) -> u8

    Create a clone of the value while the GIL is guaranteed to be held.
    Source§

    fn vec_from_slice(_py: Python<'_>, slc: &[u8]) -> Vec<u8>

    Create an owned copy of the slice while the GIL is guaranteed to be held. Read more
    Source§

    fn array_from_view<D>(\n _py: Python<'_>,\n view: ArrayView<'_, u8, D>,\n) -> Array<u8, D>
    where\n D: Dimension,

    Create an owned copy of the array while the GIL is guaranteed to be held. Read more
    Source§

    fn get_dtype_bound(py: Python<'_>) -> Bound<'_, PyArrayDescr>

    👎Deprecated since 0.23.0: renamed to Element::get_dtype
    Deprecated name for Element::get_dtype.
    ","Element","numpy::npyffi::types::npy_uint8"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else {