Open ithinuel opened 6 years ago
So that we can use enums even if the field is only 1 bit wide.
It can currently be worked around by using into Type, field1, _: 2, 2; But it looks wrong and it still requires Type to implement From/Into.
into Type, field1, _: 2, 2;
Type
From
Into
So that we can use enums even if the field is only 1 bit wide.
It can currently be worked around by using
into Type, field1, _: 2, 2;
But it looks wrong and it still requiresType
to implementFrom
/Into
.