MCPcopy Create free account
hub / github.com/PerroEngine/Perro / to_variant

Method to_variant

perro_source/api_modules/perro_resource_api/src/res_path.rs:320–322  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

318impl From<&ResPathBuf> for Variant {
319 fn from(path: &ResPathBuf) -> Self {
320 Variant::from(path.as_str())
321 }
322}
323
324impl From<&ResPath> for Variant {
325 fn from(path: &ResPath) -> Self {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected