IsPrefixOf in rustc_borrowck::prefixes - Rust
Description: API documentation for the Rust `IsPrefixOf` trait in crate `rustc_borrowck`.

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§