Version: 1.1.0
@implicit
@implicit — Allows an initializer to run as a conversion without an explicit constructor call.
Example
@fieldwise_init
struct Demo:
var value: Int
Apply @implicit on the declaration it changes. Decorators are resolved while compiling. They are not runtime wrappers.
See the decorator index for the rest of the set.