Struct syn::ImplItemFn
source · pub struct ImplItemFn {
pub attrs: Vec<Attribute>,
pub vis: Visibility,
pub defaultness: Option<Default>,
pub sig: Signature,
pub block: Block,
}
Expand description
An associated function within an impl block.
Fields§
§attrs: Vec<Attribute>
§vis: Visibility
§defaultness: Option<Default>
§sig: Signature
§block: Block
Trait Implementations§
source§impl From<ImplItemFn> for ImplItem
impl From<ImplItemFn> for ImplItem
source§fn from(e: ImplItemFn) -> ImplItem
fn from(e: ImplItemFn) -> ImplItem
Converts to this type from the input type.