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

Method borrow

crates/common/src/crt_fd.rs:184–186  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

182
183 #[inline]
184 pub fn borrow(&self) -> Borrowed<'_> {
185 unsafe { Borrowed::borrow_raw(self.as_raw()) }
186 }
187
188 #[inline]
189 pub fn as_raw(&self) -> Raw {

Callers 12

convert_ssl_errorFunction · 0.45
borrow_varsMethod · 0.45
copyMethod · 0.45
dump_tracebackFunction · 0.45
dump_all_threadsFunction · 0.45
_get_running_loopFunction · 0.45
get_running_loopFunction · 0.45
get_event_loopFunction · 0.45
current_taskFunction · 0.45
_enter_taskFunction · 0.45
_leave_taskFunction · 0.45
_swap_current_taskFunction · 0.45

Calls 1

as_rawMethod · 0.45

Tested by

no test coverage detected