enum
SurfaceKind
pub enum SurfaceKind {
Canvas2d,
Scene3d,
Shader,
Particles,
}What kind of drawing surface an element is.
Variants
Methods
of
pub fn of(tag: &str) -> Option<SurfaceKind>The surface an element with tag is (canvas2d, scene3d…), if it's one.