Macro raui_core::widget[][src]

macro_rules! widget {
    {()} => { ... };
    {[]} => { ... };
    ({{$expr:expr}}) => { ... };
    ({$expr:expr}) => { ... };
    {
        (
            $(
                #{ $key:expr }
            )?
            $type_id:path
            $(
                : {$props:expr}
            )?
            $(
                | {$shared_props:expr}
            )?
            $(
                {
                    $($named_slot_name:ident = $named_slot_widget:tt)+
                }
            )?
            $(
                |[ $listed_slot_widgets:expr ]|
            )?
            $(
                [
                    $($listed_slot_widget:tt)+
                ]
            )?
        )
    } => { ... };
}