Struct devise::syn::ForeignItemFn
source · pub struct ForeignItemFn {
pub attrs: Vec<Attribute, Global>,
pub vis: Visibility,
pub ident: Ident,
pub decl: Box<FnDecl, Global>,
pub semi_token: Semi,
}
Expand description
A foreign function in an extern
block.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute, Global>
§vis: Visibility
§ident: Ident
§decl: Box<FnDecl, Global>
§semi_token: Semi
Trait Implementations§
source§impl Clone for ForeignItemFn
impl Clone for ForeignItemFn
source§fn clone(&self) -> ForeignItemFn
fn clone(&self) -> ForeignItemFn
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ForeignItemFn
impl Debug for ForeignItemFn
source§impl From<ForeignItemFn> for ForeignItem
impl From<ForeignItemFn> for ForeignItem
source§fn from(e: ForeignItemFn) -> ForeignItem
fn from(e: ForeignItemFn) -> ForeignItem
Converts to this type from the input type.