Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
318
impl From<&ResPathBuf> for Variant {
319
fn from(path: &ResPathBuf) -> Self {
320
Variant::from(path.as_str())
321
}
322
}
323
324
impl From<&ResPath> for Variant {
325
fn from(path: &ResPath) -> Self {
Callers
nothing calls this directly
Calls
1
as_str
Method · 0.45
Tested by
no test coverage detected