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

Method data

src/array.rs:1485–1487  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1483
1484 #[inline(always)]
1485 fn data(&self) -> *mut T {
1486 unsafe { (*self.as_array_ptr()).data.cast() }
1487 }
1488
1489 #[inline(always)]
1490 unsafe fn get(&self, index: impl NpyIndex<Dim = D>) -> Option<&T>

Callers 12

from_sliceMethod · 0.80
from_vec2Method · 0.80
from_vec3Method · 0.80
as_sliceMethod · 0.80
as_slice_mutMethod · 0.80
uget_rawMethod · 0.80
itemMethod · 0.80
get_rawFunction · 0.80
as_viewFunction · 0.80
try_as_matrixMethod · 0.80
try_as_matrix_mutMethod · 0.80
to_pyarrayMethod · 0.80

Calls 2

castMethod · 0.80
as_array_ptrMethod · 0.80

Tested by

no test coverage detected