Skip to content

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.

Where the book teaches it

Related terms

traitoverriding