Enum protobuf::descriptor::FileOptions_OptimizeMode
[−]
[src]
pub enum FileOptions_OptimizeMode {
SPEED,
CODE_SIZE,
LITE_RUNTIME,
}Variants
SPEEDCODE_SIZELITE_RUNTIME
Trait Implementations
impl Clone for FileOptions_OptimizeMode[src]
fn clone(&self) -> FileOptions_OptimizeMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for FileOptions_OptimizeMode[src]
fn eq(&self, __arg_0: &FileOptions_OptimizeMode) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for FileOptions_OptimizeMode[src]
impl Debug for FileOptions_OptimizeMode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Hash for FileOptions_OptimizeMode[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl ProtobufEnum for FileOptions_OptimizeMode[src]
fn value(&self) -> i32[src]
Get enum i32 value.
fn from_i32(value: i32) -> Option<FileOptions_OptimizeMode>[src]
Try to create an enum from i32 value. Return None if value is unknown. Read more
fn values() -> &'static [Self][src]
Get all enum values for enum type.
fn enum_descriptor_static() -> &'static EnumDescriptor[src]
Get enum descriptor by type.
fn descriptor(&self) -> &'static EnumValueDescriptor[src]
Get enum value descriptor.
fn enum_descriptor(&self) -> &'static EnumDescriptor[src]
Get enum descriptor.