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

Method try_readwrite

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

Source from the content-addressed store, hash-verified

1554 }
1555
1556 fn try_readwrite(&self) -> Result<PyReadwriteArray<'py, T, D>, BorrowError>
1557 where
1558 T: Element,
1559 D: Dimension,
1560 {
1561 self.clone().try_into_readwrite()
1562 }
1563
1564 unsafe fn as_array(&self) -> ArrayView<'_, T, D>
1565 where

Callers 3

readwriteMethod · 0.80

Calls 2

try_into_readwriteMethod · 0.80
cloneMethod · 0.80

Tested by 2