#[interface_method]Expand description
Meta-information attribute for interface methods.
§Fields
§id (required)
#[interface_method(id = 0)]Numeric identifier of the method. Should be unique for every method in the trait.
Using this attribute is a recommended way to remove methods from interface, since it guarantees that method ID won’t be reused.