What a String is in Rust, and how they differ from &str. Strings are resizeable arrays of bytes that are guaranteed to be in UTF-8 format. &st… ...more
In our work recently on Element Web (specifically attempting to replace our encryption code with our cross-platform Rust implementation) we've noticed… ...more
Explanation of some of the most commonly used types in Rust: Vecs, which store lists of items, Boxes that allow us to own things that we keep on the h… ...more
This time we discuss how to add methods to structs and enums, using impl blocks. Methods work similarly to other languages, but it might be a surprise… ...more
We learnt about enums and generics last time, which means we're ready to talk about Result, which is a really nice way of handling errors in Rust, tha… ...more