Mutable References on Vectors vs. Structs: Some less known techniques.

applied.math.coding
7 min readFeb 25, 2022

Once one feels well acquainted with Rust’s concepts of ownership and the rules related to multiple immutable or mutable references, problems usual strike back when one starts writing code that makes use of vectors, slices or structs. Although all these concepts do apply here in the same fashion as for other data types, one typically has to pay extra attention in order…

--

--

applied.math.coding

I am a Software Developer - Java, Rust, SQL, TypeScript - with strong interest doing research in pure and applied Mathematics.