rustc_
mir_
build
1.84.0-nightly
(03ee48451 2024-11-18)
ToBorrow
Kind
Required Methods
to_borrow_kind
Implementations on Foreign Types
AutoBorrowMutability
Mutability
Implementors
In rustc_
mir_
build::
thir::
cx::
expr
rustc_mir_build
::
thir
::
cx
::
expr
Trait
ToBorrowKind
Copy item path
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
§