MCPcopy Index your code
hub / github.com/RustPython/RustPython / from

Method from

crates/stdlib/src/posixsubprocess.rs:173–175  ·  view source on GitHub ↗
(fd: OwnedFd)

Source from the content-addressed store, hash-verified

171
172impl From<OwnedFd> for Fd {
173 fn from(fd: OwnedFd) -> Self {
174 Self(unsafe { BorrowedFd::borrow_raw(fd.into_raw_fd()) })
175 }
176}
177
178#[derive(Copy, Clone)]

Callers

nothing calls this directly

Calls 2

SelfFunction · 0.85
into_raw_fdMethod · 0.45

Tested by

no test coverage detected