Skip to main content

kw

Macro kw 

Source
macro_rules! kw {
    ( : $ns:ident$(. $nss:ident)+ / $nn:ident$(. $nns:ident)+ ) => { ... };
    ( : $ns:ident$(. $nss:ident)+ / $nn:ident ) => { ... };
    ( : $ns:ident / $nn:ident$(. $nns:ident)+ ) => { ... };
    ( : $ns:ident / $nn:ident ) => { ... };
    ( : $n:ident ) => { ... };
}
Expand description

Produce the appropriate Keyword for the provided namespace and name. This lives here because we can’t re-export macros: https://github.com/rust-lang/rust/issues/29638.