Skip to main content

## IsPrefixOf

# 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§