rustc_abi::layout

Type Alias LayoutCalculatorResult

Source
type LayoutCalculatorResult<FieldIdx, VariantIdx, F> = Result<LayoutData<FieldIdx, VariantIdx>, LayoutCalculatorError<F>>;

Aliased Type§

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

Variants§

§

Ok(LayoutData<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.