Struct syn::ForeignItemFn [−][src]
pub struct ForeignItemFn {
pub attrs: Vec<Attribute>,
pub vis: Visibility,
pub sig: Signature,
pub semi_token: Semi,
}This is supported on crate feature
full only.Expand description
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: Visibilitysig: Signaturesemi_token: SemiTrait Implementations
Performs the conversion.
impl PartialEq<ForeignItemFn> for ForeignItemFn
This is supported on crate feature extra-traits only.
impl PartialEq<ForeignItemFn> for ForeignItemFn
This is supported on crate feature
extra-traits only.Auto Trait Implementations
impl RefUnwindSafe for ForeignItemFn
impl !Send for ForeignItemFn
impl !Sync for ForeignItemFn
impl Unpin for ForeignItemFn
impl UnwindSafe for ForeignItemFn
Blanket Implementations
Mutably borrows from an owned value. Read more