use other::Foo; /// Bar struct pub struct Bar {} /// Foo implementation for Bar impl Foo for Bar { /// bar method for Bar fn bar() -> () { // } }