Struct and Traits in Rust

Rust is not an OOP language. However, is possible to have similar behavior using Structs and traits. Traits are great because allow us to create common and interfaces and allow structure for generic coding. The struct is like a struct in C. They allow us to have Pojos and hold both data and behavior using traits.  Today I want to show you guys how we can work with struct and traits in Rust. This is another short video focusing on understanding and also you will learn somethings about macros as well.  So I hope you guys liked it, let's get started !!!


struct and traits in Rust from Diego Pacheco on Vimeo.


Diego Pacheco

Popular posts from this blog

Podman in Linux

Java Agents

Manage Work not People