rustc_
mir_
build
1.84.0-beta.4
(202008a1b 2024-12-07)
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
§