pub trait MeshField:
Sized
+ DefaultEncoding<Encoding = Self::Encoding>
+ Send
+ 'static {
type Encoding: FieldEncode<Self, Resource> + for<'a> FieldDecode<'a, Self, Resource> + Send + Sync;
}
Expand description
Trait for types that can be a field in a mesh message, including both scalar
types and types that implement MeshPayload
.
Required Associated Types§
type Encoding: FieldEncode<Self, Resource> + for<'a> FieldDecode<'a, Self, Resource> + Send + Sync
Object Safety§
This trait is not object safe.