Percorso Rust

Ownership e borrowing

Ciò che rende Rust diverso: ownership, move, riferimenti, slice, lifetime e smart pointer.

Prova Rust online

5 lezioni

Lifetimes

Tell the compiler how long references stay valid with lifetime annotations.

Vedi la lezione →