Skip to main content

load_dir

Function load_dir 

Source
pub fn load_dir(dir: &Path) -> LoadReport
Expand description

Load every *.toml in dir, compiling each into a Preset. Missing or unreadable directories yield an empty report rather than an error; a bad file lands in errors and does not stop the others (degrade, never crash).