Struct syn::ImplItemMacro
source · pub struct ImplItemMacro {
pub attrs: Vec<Attribute>,
pub mac: Macro,
pub semi_token: Option<Semi>,
}
Expand description
A macro invocation within an impl block.
Fields§
§attrs: Vec<Attribute>
§mac: Macro
§semi_token: Option<Semi>
Trait Implementations§
source§impl From<ImplItemMacro> for ImplItem
impl From<ImplItemMacro> for ImplItem
source§fn from(e: ImplItemMacro) -> ImplItem
fn from(e: ImplItemMacro) -> ImplItem
Converts to this type from the input type.