macro_rules! pref { ($($segment: ident).+) => { ... }; }
A convenience macro for accessing a preference value using its static path. Passing an invalid path is a compile-time error.