[−][src]Struct rustc_hir::hir::Param

pub struct Param<'hir> {
    pub attrs: &'hir [Attribute],
    pub hir_id: HirId,
    pub pat: &'hir Pat<'hir>,
    pub ty_span: Span,
    pub span: Span,
}

Represents a parameter in a function header.

Fields

attrs: &'hir [Attribute]hir_id: HirIdpat: &'hir Pat<'hir>ty_span: Spanspan: Span

Trait Implementations

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

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

Auto Trait Implementations

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

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

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

impl<'hir> Unpin for Param<'hir>

impl<'hir> !UnwindSafe for Param<'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.