BitsChoices returns the valid choices for this type. It must work on the zero value. Note that when using this in an Option the ExampleBitsChoices will be filled in automatically.
| 43 | // Note that when using this in an Option the ExampleBitsChoices will be |
| 44 | // filled in automatically. |
| 45 | type BitsChoices interface { |
| 46 | // Choices returns the valid choices for each bit of this type |
| 47 | Choices() []BitsChoicesInfo |
| 48 | } |
| 49 | |
| 50 | // String turns a Bits into a string |
| 51 | func (b Bits[C]) String() string { |
no outgoing calls
no test coverage detected
searching dependent graphs…