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

pub struct ConcreteObjectDecl<'a> {
    pub attr: Option<Attribute<'a>>,
    pub name: String,
    pub obj_type: Option<ConcreteType<'a>>,
    pub init_expr: Option<ConcreteExpr<'a>>,
    pub kwd_range: SourceRange,
    pub name_range: SourceRange,
}

Fields

attr: Option<Attribute<'a>>name: Stringobj_type: Option<ConcreteType<'a>>init_expr: Option<ConcreteExpr<'a>>kwd_range: SourceRangename_range: SourceRange

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.