MCPcopy Index your code
hub / github.com/PyO3/rust-numpy / uget

Method uget

src/array.rs:878–885  ·  view source on GitHub ↗
(&self, index: Idx)

Source from the content-addressed store, hash-verified

876 /// ```
877 #[inline(always)]
878 unsafe fn uget<Idx>(&self, index: Idx) -> &T
879 where
880 T: Element,
881 D: Dimension,
882 Idx: NpyIndex<Dim = D>,
883 {
884 &*self.uget_raw(index)
885 }
886
887 /// Same as [`uget`](Self::uget), but returns `&mut T`.
888 ///

Callers

nothing calls this directly

Implementers 1

array.rssrc/array.rs

Calls 1

uget_rawMethod · 0.80

Tested by

no test coverage detected