Trait mesh_protobuf::protofile::DescribeField
source · pub trait DescribeField<T> {
const FIELD_TYPE: FieldType<'static>;
const PACKED_TYPE: Option<&'static str> = None;
}
Expand description
A trait for a self-describing protobuf message field.
Required Associated Constants§
sourceconst FIELD_TYPE: FieldType<'static>
const FIELD_TYPE: FieldType<'static>
The type of the field.
Provided Associated Constants§
sourceconst PACKED_TYPE: Option<&'static str> = None
const PACKED_TYPE: Option<&'static str> = None
The type name of the field in a packed context.
Object Safety§
This trait is not object safe.