3 ms·
Rust structs are in some ways similar to C++ classes. You can combine data and methods together with them without worrying about things like function pointers.
by rascul 2y ago
Rust structs are in some ways similar to C++ classes. You can combine data and methods together with them without worrying about things like function pointers.