Skip to main content

functions

Macro functions 

Source
macro_rules! functions {
    ($library:path; $(
        $(#[$meta:meta])*
        pub fn $name:ident($($argument:ident: $type:ty),* $(,)?) $(-> $result:ty)?;
    )*) => { ... };
    ($library:path; $(#[$meta:meta])* pub static $name:ident: $type:ty;) => { ... };
}