Suppose I have a trait T:

trait A {
  fn fun<T:A>(t:T); // <- [1]
}

Is there a way to get a pointer to the implementation of fun for a
specific T? How would I go about calling it?

(Yeah, I know I'm kinda far off the reservation.)

[1] Not necessarily an instance method, but that would be useful, too.


-- 
Tommy M. McGuire
[email protected]
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to