3
Problems with borrowing Traits
(lemmy.world)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
The first problem I saw is that
Widget::rendertakesselfby value, meaning that the widget will be destroyed after being rendered once. The need to satisfy that method's type could be the cause of the other errors you're running into.