```
enum OhGodWhy {
Trait(Box<dyn TheTrait>),
SuperTrait(Box<dyn TheSuperTrait>)
}
impl TheTrait for OhGodWhy {
// Delegate to TheTrait if it is an implementation
}
```
```
enum OhGodWhy {
Trait(Box<dyn TheTrait>),
SuperTrait(Box<dyn TheSuperTrait>)
}
impl TheTrait for OhGodWhy {
// Delegate to TheTrait if it is an implementation
}
```
It looks like you can use anchors in code. Very cool! This is what I get for not reading the docs.
It looks like you can use anchors in code. Very cool! This is what I get for not reading the docs.