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

Method as_ref

crates/vm/src/ospath.rs:278–280  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

276
277impl AsRef<Path> for OsPath {
278 fn as_ref(&self) -> &Path {
279 self.as_path()
280 }
281}
282
283impl TryFromObject for OsPath {

Callers

nothing calls this directly

Calls 1

as_pathMethod · 0.80

Tested by

no test coverage detected