Rust Installation The first step is to install Rust. First of all, download Rust through rustup which is a command line tool…
intro
-
-
RefCell<T> Interior mutability pattern is a pattern is used to mutate the reference if we have an immutable reference. RefCell<T> can be…
-
Rust Trait Rust trait is a feature of a Rust language that describes the functionality of each type that it can provide.…
-
Referring to names in different modules When we call the function of a module, then we need to specify the full path.…
-
Concise control flow with if let The if let syntax is used to combine if and let which handles the values that…
-
Rust Recoverable Errors Recoverable errors are those errors which are not very serious to stop the program entirely. The errors which can…
-
Rust Error handling Error handling is a mechanism in which Rust determines the possibility of an error and acknowledge you to take…
-
Features of Rust Rust is a system programming language. Rust provides the following features: Zero cost abstraction Error messages Move semantics Threads…
-
Rust References and Borrowing Reference is an address which is passed to a function as an argument. Borrowing is just like when…
-
For loop The for loop is a conditional loop, i.e., the loop runs for the particular number of times. The behavior of…