pub trait SmartPointerMut<T: ?Sized>:
SmartPointer<T>
+ AsMut<T>
+ BorrowMut<T>
+ DerefMut<Target = T> { }
Expand description
A SmartPointer
which beyond immutable access to the wrapped value also provides mutable
access via the AsMut
, BorrowMut
and DerefMut
traits.
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.