Previous Episode: News: Rust 1.25
Next Episode: News: Rust 1.26

Defining and using your own traits, using other crates' traits, and the orphan rule.

Show Notes

Traits—

in the Rust book
in Rust by Example

Also of interest: specialization:

RFC #1210
recent blog posts:

“Maximally minimal specialization: always applicable impls”
“Sound and ergonomic specialization for Rust”

Sponsors

Aaron Turon
Alexander Payne
Anthony Deschamps
Anthony Scotti
Antonin Carette
Aleksey Pirogov
Andreas Fischer
Andrew Thompson
Austin LeSure
Behnam Esfahbod
Benjamin Wasty
Brent Vatne
Brian Casiello
Chap Lovejoy
Charlie Egan
Chris Jones
Chris Palmer
Coleman McFarland
Dan Abrams
Daniel Collin
Daniel P. Clark
David W. Allen
David Hewson
Derek Buckley
Derek Morr
Eugene Bulkin
[Hans Fjällemark]
Henri Sivonen
Ian Jones
Jakub “Limeth” Hlusička
James Cooper
Jerome Froelich
John Rudnick
Jonathan Turner
Joseph Hain
Jupp Müller
Justin Ossevoort
Karl Hobley
Keith Gray
Kilian Rault
Laurie Hedge
Luca Schmid
Luiz Irber
Mark LeMoine
Masashi Fujita
Matt Rudder
Matthew Brenner
Matthias Ruszala
Max Jacobson
Messense Lv
Micael Bergeron
Nathan Sculli
Nick Stevens
Oluseyi Sonaiya
Ovidiu Curcan
Pascal Hertleif
Patrick O’Doherty
[Paul Naranja]
Peter Tillemans
Ralph Giles (“rillian”)
Raj Venkalil
Ramon Buckley
Randy MacLeod
Raph Levien
reddraggone9
Ryan Blecher
Sebastián Ramírez Magrí
Shane Utt
Simon G.
Steve Jenson
Steven Knight
Steven Murawski
Stuart Hinson
Tim Brooks
Timm Preetz
Tom Prince
Ty Overby
Tyler Harper
Vesa Kaihlavirta
Victor Kruger
Will Greenberg
William Roe
Yaacov Finkelman
Zachary Snyder
Zaki

(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)


Become a sponsor

Patreon
Venmo
Dwolla
Cash.me
Flattr
PayPal.me

Contact

New Rustacean:

Twitter: @newrustacean
Email: [email protected]

Chris Krycho

GitHub: chriskrycho
Twitter: @chriskrycho

Twitter Mentions