Skip to main content

add_method

Attribute Macro add_method 

Source
#[add_method]
Expand description

Inter-mod communication proc-macros. A method added to a class: #[add_method(LivingEntity, name = "yogCharge", desc = "()I")] (target: the interface whose method it is, for its run-time name).