pub trait OperandExt<'tcx> {
    // Required method
    fn as_place(&self) -> Option<Place<'tcx>>;
}
Expand description

Extension trait for Operand.

Required Methods§

source

fn as_place(&self) -> Option<Place<'tcx>>

Extracts the Place inside an Operand if it exists.

Implementations on Foreign Types§

source§

impl<'tcx> OperandExt<'tcx> for Operand<'tcx>

source§

fn as_place(&self) -> Option<Place<'tcx>>

Implementors§