Enum protobuf::descriptor::FieldOptions_JSType [−][src]
pub enum FieldOptions_JSType { JS_NORMAL, JS_STRING, JS_NUMBER, }
Variants
JS_NORMAL
JS_STRING
JS_NUMBER
Trait Implementations
impl Clone for FieldOptions_JSType
[src]
impl Clone for FieldOptions_JSType
fn clone(&self) -> FieldOptions_JSType
[src]
fn clone(&self) -> FieldOptions_JSType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for FieldOptions_JSType
[src]
impl PartialEq for FieldOptions_JSType
fn eq(&self, other: &FieldOptions_JSType) -> bool
[src]
fn eq(&self, other: &FieldOptions_JSType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for FieldOptions_JSType
[src]
impl Eq for FieldOptions_JSType
impl Debug for FieldOptions_JSType
[src]
impl Debug for FieldOptions_JSType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for FieldOptions_JSType
[src]
impl Hash for FieldOptions_JSType
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl ProtobufEnum for FieldOptions_JSType
[src]
impl ProtobufEnum for FieldOptions_JSType
fn value(&self) -> i32
[src]
fn value(&self) -> i32
Get enum i32
value.
fn from_i32(value: i32) -> Option<FieldOptions_JSType>
[src]
fn from_i32(value: i32) -> Option<FieldOptions_JSType>
Try to create an enum from i32
value. Return None
if value is unknown. Read more
fn values() -> &'static [Self]
[src]
fn values() -> &'static [Self]
Get all enum values for enum type.
fn enum_descriptor_static() -> &'static EnumDescriptor
[src]
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
fn descriptor(&self) -> &'static EnumValueDescriptor
[src]
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
fn enum_descriptor(&self) -> &'static EnumDescriptor
[src]
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
impl Copy for FieldOptions_JSType
[src]
impl Copy for FieldOptions_JSType
impl ProtobufValue for FieldOptions_JSType
[src]
impl ProtobufValue for FieldOptions_JSType
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_ref(&self) -> ProtobufValueRef
fn as_any(&self) -> &Any
[src]
fn as_any(&self) -> &Any
fn is_non_zero(&self) -> bool
[src]
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
impl Send for FieldOptions_JSType
impl Send for FieldOptions_JSType
impl Sync for FieldOptions_JSType
impl Sync for FieldOptions_JSType