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

Trait Implementations

impl Clone for FnHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FnHeader
[src]

impl Encodable for FnHeader
[src]

impl Decodable for FnHeader
[src]

impl Debug for FnHeader
[src]

Formats the value using the given formatter. Read more

impl Default for FnHeader
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for FnHeader

impl !Sync for FnHeader