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

Add limited implementation inheritance via traits #299

Closed
rust-highfive opened this issue Sep 24, 2014 · 1 comment
Closed

Add limited implementation inheritance via traits #299

rust-highfive opened this issue Sep 24, 2014 · 1 comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@rust-highfive
Copy link

Issue by brson
Thursday Oct 17, 2013 at 18:48 GMT

For earlier discussion, see rust-lang/rust#9912

This issue was labelled with: A-grammar, A-traits, A-typesystem, B-RFC, P-high in the Rust repository


Not sure if 'implementation inheritance' is the right name for this.

Servo people are complaining a lot about not being able to inherit the memory layout of supertypes, since the DOM is a classic OO hierarchy. Seems like we just have to do it. The basic idea is to let traits specify struct fields.

Needs a complete design, something simple.

@nrc nrc added the T-lang Relevant to the language team, which will review and decide on the RFC. label Aug 17, 2016
@nrc
Copy link
Member

nrc commented Aug 17, 2016

dup of #349

@nrc nrc closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

2 participants