Struct pr47::syntax::decl::ConcreteFuncDecl[][src]

pub struct ConcreteFuncDecl<'a> {
    pub attr: Option<Attribute<'a>>,
    pub func_name: String,
    pub func_param_list: Vec<FunctionParam<'a>>,
    pub func_return_type: Option<ConcreteType<'a>>,
    pub func_body: Option<ConcreteCompoundStmt<'a>>,
    pub func_kwd_range: SourceRange,
    pub func_name_range: SourceRange,
    pub param_open_paren_loc: SourceLoc,
    pub param_close_paren_loc: SourceLoc,
}

Fields

attr: Option<Attribute<'a>>func_name: Stringfunc_param_list: Vec<FunctionParam<'a>>func_return_type: Option<ConcreteType<'a>>func_body: Option<ConcreteCompoundStmt<'a>>func_kwd_range: SourceRangefunc_name_range: SourceRangeparam_open_paren_loc: SourceLocparam_close_paren_loc: SourceLoc

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.