We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
参考 lihaoyi 博客
若方法的参数被 implicit 修饰,则其为隐式参数。
implicit
带有隐式参数的方法可以像普通方法一样被调用,特别之处在于:若调用时未提供隐式参数,则该参数将被 自动提供,Scala 编译器将基于该参数的类型,在隐式作用域查找满足条件的 implicit 参数