Rust

Rust Owned And Borrowed Types

What are Owned and Borrowed types in Rust? To know these concepts, we need to understand first what Rust Ownership and Rust References. Get Your Head Around Rust Ownership When we talk about ownership in Rust, we generally mean –

Rust, Software Development

Ways To Use Stack in Rust

There are several ways to implement or use a stack in Rust. A stack is a data structure that allows us to store data in LIFO (last-in-first-out). Rust has no stack data structure, but it offers data structures with similar

Rust, Software Development

How To Concatenate Strings in Rust

We can concatenate Strings in any programming language, including Rust, and we do it a lot. No programming language does not deal with string concatenation. However, Rust is different as it has two types of strings – String and str.