Explores potential features for Rust programming language, examining two specific proposals: fields in traits (which would allow trait-defined data fields with polymorphic access) and self-referential structs (enabling structs where one field borrows from another). The author evaluates fields in traits as potentially useful but

19m read timeFrom thecodedmessage.com
Post cover image
Table of contents
Fields in Traits: Maybe. #Self-Referential Structs: Absolutely. #
1 Comment

Sort: