Struct cglue_gen::func::WrappedType[][src]

pub struct WrappedType {
    pub ty: GenericType,
    pub ty_ret_tmp: Option<GenericType>,
    pub ty_static: Option<GenericType>,
    pub lifetime_bound: Option<Lifetime>,
    pub lifetime_type_bound: Option<Lifetime>,
    pub other_bounds: Option<TokenStream>,
    pub other_bounds_simple: Option<TokenStream>,
    pub return_conv: Option<ExprClosure>,
    pub impl_return_conv: Option<TokenStream>,
    pub inject_ret_tmp: bool,
    pub unbounded_hrtb: bool,
}

Fields

ty: GenericTypety_ret_tmp: Option<GenericType>ty_static: Option<GenericType>lifetime_bound: Option<Lifetime>lifetime_type_bound: Option<Lifetime>other_bounds: Option<TokenStream>other_bounds_simple: Option<TokenStream>return_conv: Option<ExprClosure>impl_return_conv: Option<TokenStream>inject_ret_tmp: boolunbounded_hrtb: bool

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.