Skip to main content

expand_param

Macro expand_param 

Source
macro_rules! expand_param {
    ($t:ty) => { ... };
}
Expand description

Build a ExpandParamDecl directly from a bare Rust type: expand_param!(KeyExpr) is ExpandParamDecl::new(<KeyExpr as syn::Type>). See ptr_class! for the parsing mechanics.