Robbepop / modular-bitfield

Macro to generate bitfields for structs that allow for modular use of enums.
Apache License 2.0
159 stars 41 forks source link

Bitfield macro trait implementation on struct #48

Closed mikart143 closed 3 years ago

mikart143 commented 3 years ago

Does the bitfield macro implement some trait on struct ? I would like to create function which will take such sructs that have bitfield macro. Any ideas ?

henrikssn commented 3 years ago

Is this a duplicate of #40? Could you please provide an example?

Robbepop commented 3 years ago

Yes, please provide an example for your use case but in issue #40 . Closed because of duplication.