# Trait rustc_mir_build::thir::cx::expr::ToBorrowKind

source ·

    trait ToBorrowKind {
        // Required method
        fn to_borrow_kind(&self) -> BorrowKind;
    }

## Required Methods§

source

#### fn to_borrow_kind(&self) -> BorrowKind

## Implementations on Foreign Types§

source§

### impl ToBorrowKind for Mutability

source§

#### fn to_borrow_kind(&self) -> BorrowKind

source§

### impl ToBorrowKind for AutoBorrowMutability

source§

#### fn to_borrow_kind(&self) -> BorrowKind

## Implementors§