usepavo_traits::{impl_as_ref};
structBar {}
structFoo {
bar: Bar,
}
impl_as_ref!(Foo);
// Comment/Uncomment to select one of the follow lines.// impl_as_ref!(Foo, Bar); // Exclusive with the bellow.impl_as_ref!(Foo, Bar, bar); // Exclusive with the above.