Macro rune::sources [−][src]
macro_rules! sources {
($($name : ident => { $($tt : tt) * }), * $(,) ?) => { ... };
}
Expand description
Helper macro to define a collection of sources populatedc with the given entries.
let sources = rune::sources! {
entry => {
pub fn main() {
42
}
}
};