[][src]Module sauron_core::prelude

Prelude simplifies the imports from sauron This imports the necessary functions to build a basic sauron app.

Re-exports

pub use crate::html::attributes::attr;
pub use crate::html::attributes::*;
pub use crate::html::tags::*;
pub use crate::html::units::*;
pub use crate::html::*;
pub use crate::svg::attributes::*;
pub use crate::svg::*;
pub use crate::*;
pub use serde_json;
pub use web_sys;

Structs

Closure

A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure.

JsValue

Representation of an object owned by JS.

Traits

UnwrapThrowExt

An extension trait for Option<T> and Result<T, E> for unwraping the T value, or throwing a JS error if it is not available.

Functions

a

Creates an html a element

abbr

Creates an html abbr element

address

Creates an html address element

animate

Creates an svg animate element

animateMotion

Creates an svg animateMotion element

animateTransform

Creates an svg animateTransform element

article

Creates an html article element

aside

Creates an html aside element

audio

Creates an html audio element

b

Creates an html b element

bdi

Creates an html bdi element

bdo

Creates an html bdo element

blockquote

Creates an html blockquote element

body

Creates an html body element

button

Creates an html button element

canvas

Creates an html canvas element

caption

Creates an html caption element

circle

Creates an svg circle element

cite

Creates an html cite element

clipPath

Creates an svg clipPath element

code

Creates an html code element

colgroup

Creates an html colgroup element

data

Creates an html data element

datalist

Creates an html datalist element

dd

Creates an html dd element

defs

Creates an svg defs element

del

Creates an html del element

desc

Creates an svg desc element

details

Creates an html details element

dfn

Creates an html dfn element

dialog

Creates an html dialog element

discard

Creates an svg discard element

div

Creates an html div element

dl

Creates an html dl element

dt

Creates an html dt element

ellipse

Creates an svg ellipse element

em

Creates an html em element

feBlend

Creates an svg feBlend element

feColorMatrix

Creates an svg feColorMatrix element

feComponentTransfer

Creates an svg feComponentTransfer element

feComposite

Creates an svg feComposite element

feConvolveMatrix

Creates an svg feConvolveMatrix element

feDiffuseLighting

Creates an svg feDiffuseLighting element

feDisplacementMap

Creates an svg feDisplacementMap element

feDistantLight

Creates an svg feDistantLight element

feDropShadow

Creates an svg feDropShadow element

feFlood

Creates an svg feFlood element

feFuncA

Creates an svg feFuncA element

feFuncB

Creates an svg feFuncB element

feFuncG

Creates an svg feFuncG element

feFuncR

Creates an svg feFuncR element

feGaussianBlur

Creates an svg feGaussianBlur element

feImage

Creates an svg feImage element

feMerge

Creates an svg feMerge element

feMergeNode

Creates an svg feMergeNode element

feMorphology

Creates an svg feMorphology element

feOffset

Creates an svg feOffset element

fePointLight

Creates an svg fePointLight element

feSpecularLighting

Creates an svg feSpecularLighting element

feSpotLight

Creates an svg feSpotLight element

feTile

Creates an svg feTile element

feTurbulence

Creates an svg feTurbulence element

fieldset

Creates an html fieldset element

figcaption

Creates an html figcaption element

figure

Creates an html figure element

filter

Creates an svg filter element

footer

Creates an html footer element

foreignObject

Creates an svg foreignObject element

form

Creates an html form element

g

Creates an svg g element

h1

Creates an html h1 element

h2

Creates an html h2 element

h3

Creates an html h3 element

h4

Creates an html h4 element

h5

Creates an html h5 element

h6

Creates an html h6 element

hatch

Creates an svg hatch element

hatchpath

Creates an svg hatchpath element

head

Creates an html head element

header

Creates an html header element

hgroup

Creates an html hgroup element

html

Creates an html html element

i

Creates an html i element

iframe

Creates an html iframe element

image

Creates an svg image element

ins

Creates an html ins element

kbd

Creates an html kbd element

label

Creates an html label element

legend

Creates an html legend element

li

Creates an html li element

linearGradient

Creates an svg linearGradient element

main

Creates an html main element

map

Creates an html map element

mark

Creates an html mark element

marker

Creates an svg marker element

mask

Creates an svg mask element

menu

Creates an html menu element

menuitem

Creates an html menuitem element

mesh

Creates an svg mesh element

meshgradient

Creates an svg meshgradient element

meshpatch

Creates an svg meshpatch element

meshrow

Creates an svg meshrow element

metadata

Creates an svg metadata element

meter

Creates an html meter element

mpath

Creates an svg mpath element

nav

Creates an html nav element

noscript

Creates an html noscript element

object

Creates an html object element

ol

Creates an html ol element

optgroup

Creates an html optgroup element

option

Creates an html option element

output

Creates an html output element

p

Creates an html p element

path

Creates an svg path element

pattern

Creates an svg pattern element

picture

Creates an html picture element

polygon

Creates an svg polygon element

polyline

Creates an svg polyline element

pre

Creates an html pre element

progress

Creates an html progress element

q

Creates an html q element

radialGradient

Creates an svg radialGradient element

rb

Creates an html rb element

rect

Creates an svg rect element

rp

Creates an html rp element

rt

Creates an html rt element

rtc

Creates an html rtc element

ruby

Creates an html ruby element

s

Creates an html s element

samp

Creates an html samp element

script

Creates an html script element

section

Creates an html section element

select

Creates an html select element

set

Creates an svg set element

small

Creates an html small element

solidcolor

Creates an svg solidcolor element

span

Creates an html span element

stop

Creates an svg stop element

strong

Creates an html strong element

sub

Creates an html sub element

summary

Creates an html summary element

sup

Creates an html sup element

svg

Creates an svg svg element

switch

Creates an svg switch element

symbol

Creates an svg symbol element

table

Creates an html table element

tbody

Creates an html tbody element

td

Creates an html td element

template

Creates an html template element

textPath

Creates an svg textPath element

textarea

Creates an html textarea element

tfoot

Creates an html tfoot element

th

Creates an html th element

thead

Creates an html thead element

time

Creates an html time element

tr

Creates an html tr element

tspan

Creates an svg tspan element

u

Creates an html u element

ul

Creates an html ul element

unknown

Creates an svg unknown element

var

Creates an html var element

video

Creates an html video element

view

Creates an svg view element

Attribute Macros

__wasm_bindgen_class_marker
wasm_bindgen