Functions

Ensures that the given visibility is pub and otherwise returns an appropriate error.

Returns a local ID unique to the ink! trait definition for the identifier.