Module sauron_core::prelude [−][src]
Expand description
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::vdom::*;
pub use crate::*;
pub use web_sys;
Structs
A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure.
Representation of an object owned by JS.
Traits
Add mapping function for Attribute
Add mapping function for Element
Add mapping function for Node, Element, Attribute,
render node, elements to a writable buffer
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
Creates an svg animateMotion element
Creates an svg animateTransform element
Creates an html blockquote element
Creates an svg feColorMatrix element
Creates an svg feComponentTransfer element
Creates an svg feComposite element
Creates an svg feConvolveMatrix element
Creates an svg feDiffuseLighting element
Creates an svg feDisplacementMap element
Creates an svg feDistantLight element
Creates an svg feDropShadow element
Creates an svg feGaussianBlur element
Creates an svg feMergeNode element
Creates an svg feMorphology element
Creates an svg fePointLight element
Creates an svg feSpecularLighting element
Creates an svg feSpotLight element
Creates an svg feTurbulence element
Creates an html figcaption element
Creates an svg foreignObject element
Creates an svg linearGradient element
Creates an svg meshgradient element
Creates an svg radialGradient element
Creates an svg solidcolor element