Processing a considerable number of large XML files may require a lot of memory and processing power. With Rust, we can create applications that process
The Composite Design Pattern In Rust
This post shows how to use the Composite design pattern in Rust. Also, it offers a sample implementation with two levels of composition. For instance,
The Iterator Design Pattern Example In Rust
This post shows how to use the Iterator design pattern in Rust without using the Iterator trait or any crate. Suppose we have a struct
Chain of Responsibility Pattern Example In Rust
This post shows a simple implementation of the Chain of Responsibility pattern in Rust. For example, we have a set of struct instances that check
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
What Are References In Rust And How To Use Them?
Understanding what references are in Rust and how to use them is crucial. A reference is a pointer to a memory location. A location where
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
Rust – How to Compare Struct Instances With Traits
In Rust, we can compare if two struct instances are equivalent and whose respective field values are the same. However, doing so requires using traits.
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.
Difference Between String and str in Rust
Rust has two (type of) string values – String and str. The difference between them is huge because Rust ships with functions that cater to both