[][src]Trait rustc_mir::hair::cx::expr::ToBorrowKind

trait ToBorrowKind {
    fn to_borrow_kind(&self) -> BorrowKind;
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Required methods

fn to_borrow_kind(&self) -> BorrowKind

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementations on Foreign Types

impl ToBorrowKind for AutoBorrowMutability[src]

impl ToBorrowKind for Mutability[src]

Loading content...

Implementors

Loading content...