flapigen 0.11.0

Tool for connecting libraries written in Rust with other languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
foreigner_class!(class One {
    self_type One;
    private constructor = empty;
});

foreigner_class!(class Two {
    self_type Two;
    private constructor = empty;
});

foreigner_class!(class Foo {
    self_type Foo;
    private constructor = empty;
    fn Foo::f(&self) -> (One, Two);
    fn Foo::g(&self) -> (i32, i32);
    fn Foo::h(&self) -> (&str, &str);
});