Rust 1.96.1
31fca3adb

# Traits

There is a new edition of the book and this is an old link.

> Traits abstract over behavior that types can have in common.

    pub trait Summarizable {
        fn summary(&self) -> String;
    }

Here are the relevant sections in the new and old books:

- in the current edition: Ch 10.02 — Traits
- in the current edition: Ch 20.02 — Advanced Traits
- In the first edition: Ch 3.19 — Traits