web_sys::HtmlCanvasElement Struct

The HTML5CanvasElement Struct provides properties and methods for manipulating the DOM canvas element.

Cargo.toml

[package]
name = "web_sys_console"
version = "0.1.0"
authors = ["www.webassemblyman.com"]
edition = "2019"

[lib]
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.50"

[dependencies.web-sys]
version = "0.3.4"
features = [
  'HTMLCanvasElement',
]       
        

Functions

features/dependencies

Source Code