[][src]Struct syntax::ast::FnHeader

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 and 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]

Performs copy-assignment from source. Read more

impl Copy for FnHeader
[src]

impl Default for FnHeader
[src]

impl Debug for FnHeader
[src]

impl Encodable for FnHeader
[src]

impl Decodable for FnHeader
[src]

Auto Trait Implementations

impl !Send for FnHeader

impl !Sync for FnHeader

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T