, but you can also call one of the "casting" methods, such as
operation(0u.toUInt())
,
operation(0u.toUShort())
, etc.
As for a generic method matching all unsingned types, I'm not sure how. Looking at the API, it doesn't seem like they extend any other types like