Roop
This library provides 2 attributes: class and extends.
Combination of these attributes can 'simulate' inheritance in Rust.
Note that this library and it's functions are highly experimental.
As class can be marked only struct with named fields.
The child class don't have to be marked as class.
You can't implement Deref and DerefMut traits on child class, because extends actively uses them.
Extending class outside of local module is currently not working.
use *;
// Marks struct as class
// Extends Parent class, inherit all fields from Parent