Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A structure (or record) is a composite data structure made of several fields in sequence. In Rust, the fields of a structure are typed. They may have identical or different types.

There exist two types of structures in Rust: