3 ms·
The syntax is function-style, e.g. `Trait::method(object)` rather than ` use Trait; object. method()` Or you can cast &object to &Trait.
by remram 5y ago
The syntax is function-style, e.g. `Trait::method(object)` rather than ` use Trait; object. method()`
Or you can cast &object to &Trait.