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

Method uget_mut

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

Source from the content-addressed store, hash-verified

896 #[inline(always)]
897 #[allow(clippy::mut_from_ref)]
898 unsafe fn uget_mut<Idx>(&self, index: Idx) -> &mut T
899 where
900 T: Element,
901 D: Dimension,
902 Idx: NpyIndex<Dim = D>,
903 {
904 &mut *self.uget_raw(index)
905 }
906
907 /// Same as [`uget`][Self::uget], but returns `*mut T`.
908 ///

Callers

nothing calls this directly

Implementers 1

array.rssrc/array.rs

Calls 1

uget_rawMethod · 0.80

Tested by

no test coverage detected