MCPcopy Create free account
hub / github.com/PyO3/rust-numpy / try_into_readonly

Method try_into_readonly

src/array.rs:1532–1538  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1530 }
1531
1532 fn try_into_readonly(self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
1533 where
1534 T: Element,
1535 D: Dimension,
1536 {
1537 PyReadonlyArray::try_new(self)
1538 }
1539
1540 fn try_readonly(&self) -> Result<PyReadonlyArray<'py, T, D>, BorrowError>
1541 where

Callers 2

into_readonlyMethod · 0.80
try_readonlyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected