Enum prost_types::file_options::OptimizeMode [−][src]
#[repr(i32)] pub enum OptimizeMode { Speed, CodeSize, LiteRuntime, }
Expand description
Generated classes can be optimized for speed or code size.
Variants
Generate complete code for parsing, serialization,
etc.
Use ReflectionOps to implement these methods.
Generate code using MessageLite and the lite runtime.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for OptimizeMode
impl Send for OptimizeMode
impl Sync for OptimizeMode
impl Unpin for OptimizeMode
impl UnwindSafe for OptimizeMode
Blanket Implementations
Mutably borrows from an owned value. Read more