Macro red4ext_rs::method

source ยท
macro_rules! method {
    ($name:literal, $ty:ident::$id:ident $($mods:ident)*) => { ... };
    (event $name:literal, $ty:ident::$id:ident $($mods:ident)*) => { ... };
    (final $name:literal, $ty:ident::$id:ident $($mods:ident)*) => { ... };
}
Expand description

A macro for defining class methods. Usually used in conjunction with the methods! macro.