[][src]Function kurenai::image::create_new_html_image_element

pub fn create_new_html_image_element(
    bytes: &[u8],
    extension: &str
) -> HtmlImageElement

This function creates an HTMLImageElement, which you can add to the GameService implementation.