Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Anonymous Types

Anonymous union and struct types are not supported. Rust mandates that all types are named, i.e. it does not have a concept of anonymous types beyond tuples. Other interim anonymous types do not need any special handling, as they can be expressed directly in the type system.