[][src]Macro sauron::image

macro_rules! image {
    ( [$d($att: expr),*], [$d($children: expr),*] ) => { ... };
    ( [$d($att: expr),*], [$d($children: expr),*], ) => { ... };
    ( [$d($att: expr),*], [$d($children: expr,)*] ) => { ... };
    ( [$d($att: expr),*], [$d($children: expr,)*], ) => { ... };
    ( [$d($att: expr,)*], [$d($children: expr),*] ) => { ... };
    ( [$d($att: expr,)*], [$d($children: expr,)*], ) => { ... };
    ( [$d($att: expr,)*], [$d($children: expr,)*] ) => { ... };
    ( [$d($att: expr,)*], [$d($children: expr,)*], ) => { ... };
    ( $att: expr, $children: expr ) => { ... };
    ( $att: expr, $children: expr, ) => { ... };
}

name is the supplied ident in declare_tags_macro This creates an alternative macro call to the tag function This has a more cleaner syntax since it removes the need for using vec![] for both the attributes and the children