Struct syntax::ast::FnHeader  [−][src]
pub struct FnHeader {
    pub unsafety: Unsafety,
    pub asyncness: IsAsync,
    pub constness: Spanned<Constness>,
    pub abi: Abi,
}A function header
All the information between the visibility & the name of the function is
included in this struct (e.g. async unsafe fn or const extern "C" fn)
Fields
unsafety: Unsafety
                           
                           
                           
                           asyncness: IsAsync
                           
                           
                           
                           constness: Spanned<Constness>
                           
                           
                           
                           abi: Abi
                           
                Trait Implementations
impl Clone for FnHeader[src] 
impl Clone for FnHeaderfn clone(&self) -> FnHeader[src] 
fn clone(&self) -> FnHeaderReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for FnHeader[src] 
impl Copy for FnHeaderimpl Encodable for FnHeader[src] 
impl Encodable for FnHeaderimpl Decodable for FnHeader[src] 
impl Decodable for FnHeaderimpl Debug for FnHeader[src] 
impl Debug for FnHeaderfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for FnHeader[src] 
impl Default for FnHeader