Consider 2 structs as so
struct A {
a: T1,
b: B,
}
struct B {
c: T3,
d: T4
}
Could we add an attribute that could maybe expose the getters of B as if they were getters of A?
So instead of invoking a.b().c(), one could invoke a.c() directly.
I am happy to contribute code for this, as well as discuss possible design issues as well.
Thank you.
Consider 2 structs as so
struct A {
a: T1,
b: B,
}
struct B {
c: T3,
d: T4
}
Could we add an attribute that could maybe expose the getters of B as if they were getters of A?
So instead of invoking a.b().c(), one could invoke a.c() directly.
I am happy to contribute code for this, as well as discuss possible design issues as well.
Thank you.