pub enum OptimizeMode {
SPEED = 1,
CODE_SIZE = 2,
LITE_RUNTIME = 3,
}
Expand description
Generated classes can be optimized for speed or code size.
Variants§
Trait Implementations§
Source§impl Clone for OptimizeMode
impl Clone for OptimizeMode
Source§fn clone(&self) -> OptimizeMode
fn clone(&self) -> 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 OptimizeMode
impl Debug for OptimizeMode
Source§impl Default for OptimizeMode
impl Default for OptimizeMode
Source§impl Enum for OptimizeMode
impl Enum for OptimizeMode
Source§const VALUES: &'static [OptimizeMode] = _
const VALUES: &'static [OptimizeMode] = _
All enum values for enum type.
Source§impl EnumFull for OptimizeMode
impl EnumFull for OptimizeMode
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for OptimizeMode
impl Hash for OptimizeMode
Source§impl PartialEq for OptimizeMode
impl PartialEq for OptimizeMode
impl Copy for OptimizeMode
impl Eq for OptimizeMode
impl StructuralPartialEq for OptimizeMode
Auto Trait Implementations§
impl Freeze for OptimizeMode
impl RefUnwindSafe for OptimizeMode
impl Send for OptimizeMode
impl Sync for OptimizeMode
impl Unpin for OptimizeMode
impl UnwindSafe for 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