Skip to content

how to create a const BitArray #209

Discussion options

You must be logged in to vote

I have found the solution:

const TRANSPARENT: BitArray<[usize; 1], LocalBits> = bitarr![const 0,0,0,0,1,0];

I have add it to the provided examples; see #210

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LuckyTurtleDev
Comment options

Answer selected by LuckyTurtleDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant