Rust: Reference Counted Smart Pointer

Publicado el: 08 diciembre 2022
en el canal de: The Dev Method
2,463
129

In Rust ownership you have a simple case where there is only ever one owner of a variable. However, there can be times where you need multiple owners to one value.

In Rust, you can enable multiple owners by using the Rc type. This stands for Reference Counting.

0:00 intro
1:07 Using Rc to Share Data
3:13 Cloning an Rc Increases the Reference Count


En esta página del sitio puede ver el video en línea Rust: Reference Counted Smart Pointer de Duración hora minuto segunda en buena calidad , que subió el usuario The Dev Method 08 diciembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,463 veces y le gustó 129 a los espectadores. Disfruta viendo!