path_of

Macro path_of 

Source
macro_rules! path_of {
    ($p: path) => { ... };
}
Expand description

Takes the path of a type/mod/const.. as its path &str, e.g. path_of!(web::info::Foo).

ยงExamples

use web::info::Foo;


println!("struct path `{}`.", path_of!(web::info::Foo));