Macro open_ambient::open_ambient_dir
source · macro_rules! open_ambient_dir {
($path:literal) => { ... };
}Expand description
Opens a directory with ambient authority, using a path known at compile time.
Examples
use open_ambient::open_ambient_dir;
let dir = open_ambient_dir!("src").unwrap();