Macro ts_rs::export_here[][src]

macro_rules! export_here {
    ($($(($decl : ident)) ? $($p : path), + => $l : expr), * $(,) ?) => { ... };
}
Expand description

Like export! but instead of creating a test function it executes the binding generation right here. This may be useful if you’d like to run the binding generation in any other context than a test.