DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

RUST Reference: Structs & Enums

Quick reference for Structs & Enums.

Read time: 1 min Words: 18
My Progress

RUST Reference — Structs & Enums

Quick summary of Structs & Enums with syntax and example.

Syntax

fn main(){}

Example

fn main(){
  println!("Hello Rust");
}