danaugrs/overload

Is there a way to overload "()"?

dbsxdbsx opened this issue · 0 comments

I wonder if there is a way to overload parenthesis in rust, like this:

let  x = MyStrcut();

let y = x();// or more complex like  let y = x(1,"dd");

I know how to overload arithmetic and "[]", but not the case of parenthesis.

(I know here may not be the right place to ask this. But I just googled and found your crate. Hope this could give your crate some population.^_^)