def-mod 0.5.0

Simplifies module implementation routing and statically verifies exports.
1
2
3
4
5
6
7
8
9
10
11
pub fn method(_: u32) -> u8 {
	0
}

pub struct Test;

impl Test {
	pub fn new() -> Test {
		Test
	}
}