Skip to main content
A trait for dereferencing in mutable contexts. This trait is similar to Deref but specifically handles cases where the value accessed is mutable. Despite its name, DerefMut does NOT allow modifying the inner value - it only indicates that the container itself is mutable.

Signature

Examples

Trait functions

deref_mut

Returns the dereferenced value.

Signature

Trait types

Target

The type of the dereferenced value.

Signature