3 ms·Rust doesn't have constructors. By convention, a static method called new returns a struct - no magic.by mmaniac 2y agoRust doesn't have constructors. By convention, a static method called new returns a struct - no magic.