I have something like the following:
- BigTrait
pub trait BigTrait {
fn1(....);
fn2(....);
...
fn30(...);
}
(think something like a bunch of blas bindings + other numerical bindings)
- Then, I have something like
impl BigTrait for Foo {
...
}
Now, the unforutnate thing is that I have do dump all 30 impls into the same *.rs file. Is there a way to split the “impl BigTrait for Foo” across multiple *.rs files? (without breaking BigTrait itself into multiple smaller traits) ?