pub trait CompactBorrowMut: Compactable {
type Target<'a>
where Self: 'a;
// Required method
fn borrow_mut(compact: &mut Compact<Self>) -> Self::Target<'_>;
}
Required Associated Types§
Required Methods§
fn borrow_mut(compact: &mut Compact<Self>) -> Self::Target<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.