You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bg_failing.rs
    path of file: ./repos/Ambient/crates/ui_native/examples
    
    the code of the file until where you have to start completion: use ambient_app::{App, AppBuilder};
use ambient_cameras::UICamera;
use ambient_core::{asset_cache, runtime};
use ambient_element::{
    use_memo_with, use_state, Element, ElementComponent, ElementComponentExt, Hooks,
};
use ambient_gpu::std_assets::PixelTextureViewKey;
use ambient_native_std::{asset_cache::SyncAssetKeyExt, color::Color};
use ambient_ui_native::{FlowColumn, Image, Text, UIExt};

#[derive(Debug, Clone)]
struct Example;
impl ElementComponent for Example {
    fn render(self: Box<Self>, hooks: &mut Hooks) -> Element {
        let (_, set_k) = use_state(hooks, 1.0);

        let assets = hooks.world.resource(asset_cache());

        let texture = PixelTextureViewKey::white().get(assets);
    
    
    fn render(self: Box<Self>, hooks: &mut Hooks) -> Element {
        let (_, set_k) = use_state(hooks, 1.0);

        let assets = hooks.world.resource(asset_cache());

        let texture = PixelTextureViewKey::white().get(assets);
        let runtime = hooks.world.resource(runtime()).clone();
        use_memo_with(hooks, (), move |_, _| {
            runtime.spawn(async move {
                tracing::trace!("Spawning task");
                use ambient_native_std::IntoDuration;
                tokio::time::sleep(5.secs()).await;
                set_k(5.0)
            });
        });

        // After 5 seconds, on rerender, this component crashes the app
        FlowColumn(vec![
            Image {
                texture: Some(texture),
            }
            .el()
            .with_background(Color::rgba(1.0, 1.0, 0.0, 1.0).into()),
            Text::el("Hello, World!").with_background(Color::rgba(0.5, 0.0, 1.0, 1.0).into()),
        ])
        .el()
    }