[−][src]Struct rustc_hir::FnSig

pub struct FnSig<'hir> {
    pub header: FnHeader,
    pub decl: &'hir FnDecl<'hir>,
    pub span: Span,
}

Represents a function's signature in a trait declaration, trait implementation, or a free function.

Fields

header: FnHeaderdecl: &'hir FnDecl<'hir>span: Span

Trait Implementations

impl<'hir> Debug for FnSig<'hir>[src]

impl<'hir, __CTX> HashStable<__CTX> for FnSig<'hir> where
    __CTX: HashStableContext, 
[src]

Auto Trait Implementations

impl<'hir> !RefUnwindSafe for FnSig<'hir>

impl<'hir> !Send for FnSig<'hir>

impl<'hir> !Sync for FnSig<'hir>

impl<'hir> Unpin for FnSig<'hir>

impl<'hir> !UnwindSafe for FnSig<'hir>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.