Glossary: Rust Beyond the Basics
default method
Also written: default methods
A trait method that has a body, so every implementing type gets it for free and may override it. `label` in `Shippable` is one.
Glossary: Rust Beyond the Basics
Also written: default methods
A trait method that has a body, so every implementing type gets it for free and may override it. `label` in `Shippable` is one.