Debian Codegraph @

debian/rust-vendor/bitvec/doc/macros/bitbox.md

raw
1 # Boxed Bit-Slice Constructor
2
3 This macro creates encoded `BitSlice` buffers at compile-time, and at run-time
4 copies them directly into a new heap allocation.
5
6 It forwards all of its arguments to [`bitvec!`], and calls
7 [`BitVec::into_boxed_bitslice`] on the produced `BitVec`.
8
9 [`BitVec::into_boxed_bitslice`]: crate::vec::BitVec::into_boxed_bitslice
10 [`bitvec!`]: macro@crate::bitvec