How do I convert a boolean to an integer in Rust? As in, true
becomes 1, and false
becomes 0.
↧
How do I convert a boolean to an integer in Rust?
↧
How do I convert a boolean to an integer in Rust? As in, true
becomes 1, and false
becomes 0.