[][src]Macro bitvec::bitbox

macro_rules! bitbox {
    ( $cursor:path , $bits:ty ; $( $val:expr ),* ) => { ... };
    ( $cursor:path , $bits:ty ; $( $val:expr , )* ) => { ... };
    ( $cursor:path ; $( $val:expr ),* ) => { ... };
    ( $cursor:path ; $( $val:expr , )* ) => { ... };
    ( $( $val:expr ),* ) => { ... };
    ( $( $val:expr , )* ) => { ... };
    ( $cursor:path , $bits:ty ; $val:expr ; $rep:expr ) => { ... };
    ( $cursor:path ; $val:expr ; $rep:expr ) => { ... };
    ( $val:expr ; $rep:expr ) => { ... };
}

Construct a BitBox out of a literal array in source code, like bitvec!.

This has exactly the same syntax as bitvec!, and in fact is a thin wrapper around bitvec! that calls .into_boxed_slice() on the produced BitVec to freeze it.