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.

Required Methods§

source

fn as_mplace_or_imm(&self) -> Either<MPlaceTy<'tcx, Prov>, ImmTy<'tcx, Prov>>

Implementors§

source§

impl<'tcx, Prov: Provenance> Readable<'tcx, Prov> for MPlaceTy<'tcx, Prov>

source§

impl<'tcx, Prov: Provenance> Readable<'tcx, Prov> for ImmTy<'tcx, Prov>

source§

impl<'tcx, Prov: Provenance> Readable<'tcx, Prov> for OpTy<'tcx, Prov>