Trait rustc_const_eval::interpret::operand::Readable
source · pub trait Readable<'tcx, Prov: Provenance>: Projectable<'tcx, Prov> {
// Required method
fn as_mplace_or_imm(
&self
) -> Either<MPlaceTy<'tcx, Prov>, ImmTy<'tcx, Prov>>;
}
Expand description
The Readable
trait describes interpreter values that one can read from.