Macro ezconf::ezconf_int [−][src]
macro_rules! ezconf_int { ($confname:ident: $key:expr, $default:expr) => { ... }; }
Read an integer (i64
) from the config
Example
ezconf_file!(CONFIG = "tests/test.toml"); let val = ezconf_int!(CONFIG: "integer.b", 123); assert!(val == 23434248);