pub enum FileOptions_OptimizeMode {
SPEED,
CODE_SIZE,
LITE_RUNTIME,
}
Variants§
Trait Implementations§
source§impl Clone for FileOptions_OptimizeMode
impl Clone for FileOptions_OptimizeMode
source§fn clone(&self) -> FileOptions_OptimizeMode
fn clone(&self) -> FileOptions_OptimizeMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileOptions_OptimizeMode
impl Debug for FileOptions_OptimizeMode
source§impl Default for FileOptions_OptimizeMode
impl Default for FileOptions_OptimizeMode
source§impl Hash for FileOptions_OptimizeMode
impl Hash for FileOptions_OptimizeMode
source§impl PartialEq<FileOptions_OptimizeMode> for FileOptions_OptimizeMode
impl PartialEq<FileOptions_OptimizeMode> for FileOptions_OptimizeMode
source§fn eq(&self, other: &FileOptions_OptimizeMode) -> bool
fn eq(&self, other: &FileOptions_OptimizeMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for FileOptions_OptimizeMode
impl ProtobufEnum for FileOptions_OptimizeMode
source§fn from_i32(value: i32) -> Option<FileOptions_OptimizeMode>
fn from_i32(value: i32) -> Option<FileOptions_OptimizeMode>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
source§impl ProtobufValue for FileOptions_OptimizeMode
impl ProtobufValue for FileOptions_OptimizeMode
source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for FileOptions_OptimizeMode
impl Eq for FileOptions_OptimizeMode
impl StructuralEq for FileOptions_OptimizeMode
impl StructuralPartialEq for FileOptions_OptimizeMode
Auto Trait Implementations§
impl RefUnwindSafe for FileOptions_OptimizeMode
impl Send for FileOptions_OptimizeMode
impl Sync for FileOptions_OptimizeMode
impl Unpin for FileOptions_OptimizeMode
impl UnwindSafe for FileOptions_OptimizeMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more