Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust trait vs TypeScript interface #335

Open
xxleyi opened this issue Oct 1, 2022 · 0 comments
Open

Rust trait vs TypeScript interface #335

xxleyi opened this issue Oct 1, 2022 · 0 comments

Comments

@xxleyi
Copy link
Owner

xxleyi commented Oct 1, 2022

好文:Exploring the subtle difference between Rust traits and TypeScript interfaces.

没有对比,就没有伤害。在上面这篇优秀的对比文章中,可以更轻松的理解 trait 与 interface 的区别。

让我们放一张上面文章中的截图在下面,方便直观理解。

Screen Shot 2022-10-01 at 12 30 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant