Crate rdom[][src]

A Rust-based simulated DOM (browser-independent replacement for web_sys)

Modules

config

Configuration for a sandbox. A sandbox represents a virtual browser tab, so in order to allow some values (e.g. window.innerWidth), we need a configuration for the tab, which is what the structures in this module represent.

error

Errors that may occur while using rdom.

named_node_map

Representation of a NamedNodeMap and associated metadata.

node

This module contains various representations of Nodes and Elements. There are two variants:

node_list

Representation of a NodeList and associated metadata.

sandbox

A sandbox represents a virtual browser tab. It contains a document and a window, as well as some configuration information for screen dimensions.

window

A virtual browser window.

Macros

node_base

Provides the trait implementations for all wrapped node types