Difference between revisions of "Rust"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (Rust `match` construct)
m (use defmt::*;)
Line 41: Line 41:
  
 
(3) Rust `match` construct, is this equal to C switch statement?
 
(3) Rust `match` construct, is this equal to C switch statement?
 +
 +
(4) what does at or near top of source file `use defmt::*;` mean?

Revision as of 22:13, 18 December 2025

Notes on Rust programming language

- Overview -

This local page about the programming language of Rust aims to answer among other questions: How suitable is Rust for embedded development?

Rust By Example (RBE) home page here:

Rust language for embedded systems:

Install Rust on Ubuntu:

Adoption and popularity of Rust:

2025-12-16

Rust crates

^ Questions to Answer

(1) For what is Rust language 'derive' keyword used?

  #[derive(Clone)]

  #[derive(Default)]

(2) How is the `.await` method working, and is this kind of element called a method in Rust?

(3) Rust `match` construct, is this equal to C switch statement?

(4) what does at or near top of source file `use defmt::*;` mean?