Function extract_const_value

Source
fn extract_const_value<'tcx>(
    const_: Const<'tcx>,
    ty: Ty<'tcx>,
    cx: &LayoutCx<'tcx>,
) -> Result<Value<'tcx>, &'tcx LayoutError<'tcx>>