Skip to main content

rvalue_source_place

Function rvalue_source_place 

Source
pub fn rvalue_source_place<'a, 'tcx>(
    rvalue: &'a Rvalue<'tcx>,
) -> Option<&'a Place<'tcx>>
Expand description

Extracts the source Place from an rvalue for simple forwarding operations (copy, move, cast, reference, raw-pointer, copy-for-deref).