Skip to content

Glossary: Rust Basics

Associated function

Also written: associated functions

A function inside an `impl` block that has no `self`, so it belongs to the type rather than one instance. You call it with `::`, like `Product::new(...)`.

Where the book teaches it

Related terms

implself / Self