pub trait MutProtoObject:
SealedInternal
+ ProtoObject
+ AsMut<MutProxied = Self>
+ 'static {
type Mut<'msg>: AsMut<MutProxied = Self> + IntoMut<'msg> + IntoView<'msg>;
}Expand description
NOTE: This type is primarily an implementation detail in support of trait resolution, and application code should very rarely write this type.
A ProtoObject that can also be accessed mutably through a reference-like proxy.
An instance of a MutProtoObject can be accessed mutably via MutProtoObject::Mut
and immutably via ProtoObject::View.
MutProtoObject is implemented by message, map and repeated field types.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".