Skip to main content

MapValue

Trait MapValue 

Source
pub trait MapValue: Singular + SealedInternal { }
Expand description

A trait implemented by types which are allowed as values in maps, which is all Singular types. This trait is distinct from Singular only because of the generic K: MapKey.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<MessageType> MapValue for MessageType
where Self: Proxied + EntityType + UpbTypeConversions<<Self as EntityType>::Tag>,