Skip to content

Glossary: Rust Beyond the Basics

orphan rule

You may implement a trait for a type only if the trait or the type is your own. You can't implement the standard `Display` for the standard `Vec`.

Where the book teaches it

Related terms

trait