About class in rust

what is the real reason rust do not have class…
is it because it consume more memory or because of ownership problem during programming

class” can mean all kinds of things, and Rust accomplishes those goals in other ways. The book talks about that in chapter 17: https://doc.rust-lang.org/stable/book/ch17-00-oop.html

4 Likes