[−][src]Trait protobuf::core::ProtobufEnum
Required methods
Loading content...Provided methods
fn values() -> &'static [Self]
fn descriptor(&self) -> &'static EnumValueDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor_static(_: Option<Self>) -> &'static EnumDescriptor
Implementors
impl ProtobufEnum for FieldDescriptorProto_Label
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<FieldDescriptorProto_Label>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<FieldDescriptorProto_Label>
) -> &'static EnumDescriptor
[src]
_: Option<FieldDescriptorProto_Label>
) -> &'static EnumDescriptor
impl ProtobufEnum for FieldDescriptorProto_Type
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<FieldDescriptorProto_Type>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<FieldDescriptorProto_Type>
) -> &'static EnumDescriptor
[src]
_: Option<FieldDescriptorProto_Type>
) -> &'static EnumDescriptor
impl ProtobufEnum for FieldOptions_CType
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<FieldOptions_CType>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<FieldOptions_CType>
) -> &'static EnumDescriptor
[src]
_: Option<FieldOptions_CType>
) -> &'static EnumDescriptor
impl ProtobufEnum for FieldOptions_JSType
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<FieldOptions_JSType>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<FieldOptions_JSType>
) -> &'static EnumDescriptor
[src]
_: Option<FieldOptions_JSType>
) -> &'static EnumDescriptor
impl ProtobufEnum for FileOptions_OptimizeMode
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<FileOptions_OptimizeMode>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<FileOptions_OptimizeMode>
) -> &'static EnumDescriptor
[src]
_: Option<FileOptions_OptimizeMode>
) -> &'static EnumDescriptor
impl ProtobufEnum for Field_Cardinality
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<Field_Cardinality>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static(
_: Option<Field_Cardinality>
) -> &'static EnumDescriptor
[src]
_: Option<Field_Cardinality>
) -> &'static EnumDescriptor