Struct syn::ForeignItemFn [−][src]
pub struct ForeignItemFn { pub attrs: Vec<Attribute>, pub vis: Visibility, pub sig: Signature, pub semi_token: Semi, }
A foreign function in an extern
block.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
vis: Visibility
sig: Signature
semi_token: Semi
Trait Implementations
impl Clone for ForeignItemFn
[src]
impl Clone for ForeignItemFn
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ForeignItemFn> for ForeignItem
[src]
impl From<ForeignItemFn> for ForeignItem
[src]fn from(e: ForeignItemFn) -> ForeignItem
[src]
impl Hash for ForeignItemFn
[src]
impl Hash for ForeignItemFn
[src]impl Parse for ForeignItemFn
[src]
impl Parse for ForeignItemFn
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ForeignItemFn> for ForeignItemFn
[src]
impl PartialEq<ForeignItemFn> for ForeignItemFn
[src]impl ToTokens for ForeignItemFn
[src]
impl ToTokens for ForeignItemFn
[src]