Rust: 'impl … for' idiom

后端 未结 0 1440
我在风中等你
我在风中等你 2021-01-31 16:32

I see the following pattern coming up a lot in Rust coebases, but I can\'t find an explanation why this is used.

For what end does one use the impl ... for construction?<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题