paralegal_flow::utils

Trait PlaceExt

Source
pub trait PlaceExt<'tcx> {
    // Required method
    fn simple_overlaps(self, other: Place<'tcx>) -> Overlap<'tcx>;
}
Expand description

Extension trait for Places so we can implement methods on them. Self is only ever supposed to be instantiated as Place.

Required Methods§

Source

fn simple_overlaps(self, other: Place<'tcx>) -> Overlap<'tcx>

Implementations on Foreign Types§

Source§

impl<'tcx> PlaceExt<'tcx> for Place<'tcx>

Source§

fn simple_overlaps(self, other: Place<'tcx>) -> Overlap<'tcx>

Implementors§