Function has_implicit_borrow

Source
fn has_implicit_borrow(_: &Adjustment<'_>) -> Option<(Mutability, bool)>
Expand description

Test if some adjustment has some implicit borrow.

Returns Some((mutability, was_an_overloaded_deref)) if the argument adjustment is an implicit borrow (or has an implicit borrow via an overloaded deref).