rdom 0.2.0

A Rust-based simulated DOM (browser-independent replacement for web_sys)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![macro_use]

pub trait ParentBehavior {}
pub struct ParentBehaviorStorage;

#[macro_export]
/// Implements ParentBehavior
macro_rules! impl_parent {
    ($structname: ident, $fieldname: ident) => {
        paste::paste! {
            impl ParentBehavior for $structname {}
        }
    };
}