Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 216 Bytes

File metadata and controls

8 lines (5 loc) · 216 Bytes

Custom Types

Rust custom data types are formed mainly through the two keywords:

  • struct: define a structure
  • enum: define an enumeration

Constants can also be created via the const and static keywords.