rustc_borrowck::prefixes

Trait IsPrefixOf

source
pub(crate) trait IsPrefixOf<'tcx> {
    // Required method
    fn is_prefix_of(&self, other: PlaceRef<'tcx>) -> bool;
}

Required Methods§

source

fn is_prefix_of(&self, other: PlaceRef<'tcx>) -> bool

Implementations on Foreign Types§

source§

impl<'tcx> IsPrefixOf<'tcx> for PlaceRef<'tcx>

source§

fn is_prefix_of(&self, other: PlaceRef<'tcx>) -> bool

Implementors§