Function pleco::bit_twiddles::more_than_one
[−]
[src]
pub fn more_than_one(x: u64) -> bool
Returns if there are more than one bits in a u64
Examples
use pleco::bit_twiddles::*; assert!(more_than_one(0b1111)); assert!(!more_than_one(0b0001))