Enum pbjson_types::file_options::OptimizeMode [−][src]
#[repr(i32)]
pub enum OptimizeMode {
Speed,
CodeSize,
LiteRuntime,
}
Variants
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for OptimizeMode
impl<'de> Deserialize<'de> for OptimizeMode
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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
impl Serialize for OptimizeMode
impl Serialize for OptimizeMode
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