GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs.rs
  • numpy-0.30.0
  • Permalink
  • Docs.rs crate page
  • BSD-2-Clause
  • Repository
  • crates.io
  • Source
  • termoshtt
  • davidhewitt
  • kngwyu
  • github:rust-numpy:publish
  • github:pyo3:rust-numpy
  • half ^2.0 normal optional

This view

  • Original page
  • New address

GeezerVison is showing docs.rs — 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 { ... }
}
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.

See inner for an example.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Implementors§

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.