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: action.rs
    path of file: ./repos/zemeroth/zscene/examples
    
    the code of the file until where you have to start completion: use std::time::Duration;

use mq::{
    camera::{set_camera, Camera2D},
    color::{Color, BLACK},
    math::{Rect, Vec2},
    text,
    texture::{self, Texture2D},
    time, window,
};
use zscene::{self, action, Action, Boxed, Layer, Scene, Sprite};

#[derive(Debug)]
pub enum Err {
    File(mq::file::FileError),
    Font(mq::text::FontError),
}

impl From<m
    
async fn main() {
    let assets = Assets::load().await.expect("Can't load assets");
    let mut state = State::new(assets);
    {
        // Run two demo demo actions in parallel.
        state.scene.add_action(state.action_demo_move());
        state.scene.add_action(state.action_demo_show_hide());
    }
    loop {
        window::clear_background(BLACK);
        update_aspect_ratio();
        let dtime = time::get_frame_time();
        state.scene.tick(Duration::from_secs_f32(dtime));
        state.scene.draw();
        window::next_frame().await;
    }
}