Enum protobuf::descriptor::FileOptions_OptimizeMode
[−]
[src]
pub enum FileOptions_OptimizeMode { SPEED, CODE_SIZE, LITE_RUNTIME, }
Variants
SPEED
CODE_SIZE
LITE_RUNTIME
Trait Implementations
impl Clone for FileOptions_OptimizeMode
[src]
fn clone(&self) -> FileOptions_OptimizeMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for FileOptions_OptimizeMode
[src]
fn eq(&self, __arg_0: &FileOptions_OptimizeMode) -> 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
This method tests for !=
.
impl Eq for FileOptions_OptimizeMode
[src]
impl Debug for FileOptions_OptimizeMode
[src]
impl Hash for FileOptions_OptimizeMode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl ProtobufEnum for FileOptions_OptimizeMode
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<FileOptions_OptimizeMode>
fn values() -> &'static [Self]
fn enum_descriptor_static(_: Option<FileOptions_OptimizeMode>)
-> &'static EnumDescriptor
-> &'static EnumDescriptor