rustc_abi::layout

Type Alias LayoutCalculatorResult

source
type LayoutCalculatorResult<FieldIdx, VariantIdx, F> = Result<LayoutS<FieldIdx, VariantIdx>, LayoutCalculatorError<F>>;

Aliased Type§

enum LayoutCalculatorResult<FieldIdx, VariantIdx, F> {
    Ok(LayoutS<FieldIdx, VariantIdx>),
    Err(LayoutCalculatorError<F>),
}

Variants§

§

Ok(LayoutS<FieldIdx, VariantIdx>)

Contains the success value

§

Err(LayoutCalculatorError<F>)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.