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

Method get

crates/vm/src/stdlib/os.rs:64–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62
63 #[inline(always)]
64 pub(crate) const fn get(self) -> crt_fd::Borrowed<'fd> {
65 let [fd] = self.0;
66 fd
67 }
68}
69
70impl<const AVAILABLE: usize> FromArgs for DirFd<'_, AVAILABLE> {

Callers 15

formatFunction · 0.45
missMethod · 0.45
internedMethod · 0.45
write_traceback_entryFunction · 0.45
get_argMethod · 0.45
py_newMethod · 0.45
slot_initMethod · 0.45
check_signalsFunction · 0.45
trigger_signalsFunction · 0.45
lookupMethod · 0.45
lookup_error_optMethod · 0.45
error_encodingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected