Can somebody either explain the following questions about Rust, or point me to a description, or (ideally) both?
1. I'm compiling the source code for some crate, and I need a trait implementation. Over what scope is the instance resolution search performed? [Following assume that the answer is "over the crate being compiled"] 2. I'm compiling a library crate. A parameter of type T crosses the interface boundary of this library, and the library does something that requires an implementation of MyTrait<T>. How is the implementation of MyTrait<T> obtained?
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
