macro_rules! b {
($cond:expr) => { ... };
}
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!(Bool::True) {
println!("Always true :)!");
}