Attribute Macro kas::extends

#[extends]
Expand description

A trait implementation is an extension over some base

Usage as follows:

#[extends(ThemeDraw, base = self.base())]
impl ThemeDraw for Object {
    // All methods not present are implemented automatically over
    // `self.base()`, which mut return an object implementing ThemeDraw
}

Note: this is a very limited macro which only supports ThemeDraw.