wasm_toolkit/document_ops/
mod.rs1use web_sys::Document;
2
3mod css_variables;
4
5#[derive(Debug, PartialEq, Eq, Clone)]
6pub struct WasmDocument(Document);
7
8impl WasmDocument {
9 pub fn new(document: Document) -> Self {
10 Self(document)
11 }
12
13 pub fn inner(&self) -> &Document {
14 &self.0
15 }
16}