Skip to main content

Switch

Macro Switch 

Source
macro_rules! Switch {
    ($($body:tt)*) => { ... };
}
Expand description

Build a Switch: key = value sets a property, anything else is added as an attribute or child.