Behavior and data is more separated
A struct only contains data, however you e.g. can define methods on it or implement traits for it No inheritance.
A struct only contains data, however you e.g. can define methods on it or implement traits for it No inheritance.