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

Method into_raw

crates/common/src/crt_fd.rs:194–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192
193 #[inline]
194 pub fn into_raw(self) -> Raw {
195 self.inner.into_raw_fd()
196 }
197
198 pub fn leak<'fd>(self) -> Borrowed<'fd> {
199 unsafe { Borrowed::borrow_raw(self.into_raw()) }

Callers 8

_wrap_socketMethod · 0.45
_wrap_bioMethod · 0.45
py_newMethod · 0.45
newMethod · 0.45
step_callbackMethod · 0.45
leakMethod · 0.45
into_raw_fdMethod · 0.45
closeFunction · 0.45

Calls 1

into_raw_fdMethod · 0.45

Tested by

no test coverage detected