You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ANCHOR: All// ANCHOR: Useuse orbtk::prelude::*;// ANCHOR_END: Use// ANCHOR: Mainfnmain(){// ANCHOR_END: Main// ANCHOR: Initialize// use this only if you want to run it as web application.
orbtk::initialize();// ANCHOR_END: Initialize// ANCHOR: ApplicationApplication::new()// ANCHOR_END: Application// ANCHOR: Window.window(|ctx| {Window::new().title("OrbTk - Minimal").position((100.0,100.0)).size(420.0,140.0)// ANCHOR_END: Window// ANCHOR: Child.child(TextBlock::new()// ANCHOR: Properties.font_size(28).h_align("center").text("Hey OrbTk!").v_align("center")// ANCHOR_END: Properties.build(ctx),)// ANCHOR: Build.build(ctx)// ANCHOR_END: Build// ANCHOR_END: Child})// ANCHOR: Run.run();// ANCHOR_END: Run}// ANCHOR_END: All
|
136 | / self.system_store
137 || .borrow_entity_system(*system)
138 ||.unwrap()
139 || .system
140 || .run_with_context(&mut self.entity_component_manager, ctx);||______________________________________________________________________________^ ...so that the type`E` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound...
|
39 | E: EntityStore + 'static, | +++++++++For more information about this error, try `rustc --explain E0310`.error: could not compile `dces` due to 10 previous errorswarning: build failed, waiting for other jobs to finish...Some errors have detailed explanations: E0412, E0433.For more information about an error, try `rustc --explain E0412`.error: could not compile `orbtk_orbclient` due to 4 previous errors
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: