Macro bv::bv
[−]
[src]
macro_rules! bv { ( $e:expr ; $n:expr ) => { ... }; ( $( $e:expr ),* ) => { ... }; }
Like vec!
but for BV
.
Examples
use bv::*; fn main() { let mut bv1: BV = bv![ true; 3 ]; let bv2: BV = bv![ true, false, true ]; assert_ne!(bv1, bv2); bv1.set_bit(1, false); assert_eq!(bv1, bv2); }