Macro b
Source macro_rules! b {
($cond:expr) => { ... };
}
Expand description
Transforms a value with type Bool into the equivalent value with the primitive type bool.
Equivalent to calling Into::<bool>::into on a Bool value.
Example:
if b!(Boolean::True) {
println!("Always true :)!");
}