Open tosti007 opened 1 year ago
This PR basically changes the different enum types to repr implementations, allowing the usage of as. It also changes the from_raw into try_from implementations. Additionally it applies usage of Self in some cases.
repr
as
from_raw
try_from
Self
This PR basically changes the different enum types to
repr
implementations, allowing the usage ofas
. It also changes thefrom_raw
intotry_from
implementations. Additionally it applies usage ofSelf
in some cases.