Struct syn::ForeignItemFn [−][src]
pub struct ForeignItemFn {
pub attrs: Vec<Attribute>,
pub vis: Visibility,
pub sig: Signature,
pub semi_token: Semi,
}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.
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