Expand description
§noonoo-engine
Orchestration: the crate that gives you a working page — the equivalent of
the replaced engine’s BaseDocument / HtmlDocument, but assembled from the
small crates instead of a monolith.
An Engine owns a noonoo_dom::Document, the Stylesheets parsed out
of the document, and (once the resolve feature is on) the layout caches
that keep it presentable. Each of those abilities is a different crate
underneath, and — crucially — the parse and style-ingest steps are ours:
noonoo_html and noonoo_css, not a borrowed parser.
§The Send question
The replaced engine’s Document was !Send, which blocked running a page
off the UI thread and forced consumers into a texture-overlay workaround for
sub-documents. Noonoo’s tree owns no Rc/RefCell and promises nothing
unsafe, so an engine is Send whenever its payload is.
Structs§
- Engine
- A page: a DOM document, its stylesheets, and (later) its resolved layout.
- Loaded
Font - A
@font-facethe host should register.
Enums§
- Font
Data - What a loaded face is made of.
Constants§
- VERSION
- The version of this crate, taken from the workspace.