Skip to main content

ResourcePath

Trait ResourcePath 

Source
pub trait ResourcePath {
    // Required method
    fn path(&self) -> &str;
}

Required Methods§

Source

fn path(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ResourcePath for String

Source§

fn path(&self) -> &str

Source§

impl<'a> ResourcePath for &'a str

Source§

fn path(&self) -> &str

Implementors§