pub(crate) fn try_destructure_const<'tcx>(
    tcx: TyCtxt<'tcx>,
    const_: Const<'tcx>
) -> Option<DestructuredConst<'tcx>>
Expand description

Tries to destructure constants of type Array or Adt into the constants of its fields.