Value

Type Alias Value 

Source
pub type Value<'tcx> = EvalToValTreeResult<'tcx>;

Aliased Type§

pub enum Value<'tcx> {
    Ok(ValTree<'tcx>),
    Err(ValTreeCreationError<'tcx>),
}

Variants§

§

Ok(ValTree<'tcx>)

Contains the success value

§

Err(ValTreeCreationError<'tcx>)

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.