ToOwnedMut

Trait ToOwnedMut 

Source
pub trait ToOwnedMut: ToOwned<Owned = Self::OwnedMut> {
    type OwnedMut: BorrowMut<Self>;
}
Expand description

ToOwned types that can be mutably borrowed from Owned.

Required Associated Types§

Source

type OwnedMut: BorrowMut<Self>

The resulting type after obtaining ownership.

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.

Implementors§

Source§

impl<T> ToOwnedMut for T
where T: ?Sized + ToOwned, T::Owned: BorrowMut<T>,