pub trait BorrowMut<'a, T>: Borrow<'a, T>where
T: for<'b> BorrowMutHkt<'b>,{
// Required method
fn borrow_mut<'b>(&'a mut self) -> BorrowedMut<'b, T>
where 'a: 'b;
}
Expand description
Flexible mutable borrowing trait.
This is similar to std::borrow::BorrowMut but allows non-reference types to be used.
Required Methods§
Sourcefn borrow_mut<'b>(&'a mut self) -> BorrowedMut<'b, T>where
'a: 'b,
fn borrow_mut<'b>(&'a mut self) -> BorrowedMut<'b, T>where
'a: 'b,
Create a borrowed version of this type.