ArmanriazirusterRore0277 Le trait lié `` n'est pas satisfait

It seems you do not bound trait for a specific struct or type so you need to define your trait for a struct

use gui::Screen;

fn main() {
    let screen = Screen {
        components: vec![Box::new(String::from("Hi"))],
    };

    screen.run();
}
//Attempting to use a type(String) that doesn’t implement the trait object’s trait
ArmanRiazi