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.
This type is available only if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute>
§mac: Macro
§semi_token: Option<Semi>
Trait Implementations§
source§impl Clone for ImplItemMacro
impl Clone for ImplItemMacro
source§impl Debug for ImplItemMacro
impl Debug for ImplItemMacro
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.