pub enum RecommendationType {
RemoveUnusedFeatures,
AddMissingFeatures,
UpdateVersion,
ReplaceWithAlternative {
alternative_crate: String,
},
SplitFeatures,
ConsolidateFeatures,
RemoveDependency,
}
Expand description
NEW: Types of optimization recommendations
Variants§
RemoveUnusedFeatures
Remove unused features
AddMissingFeatures
Add missing features
UpdateVersion
Update to latest compatible version
ReplaceWithAlternative
Replace with lighter alternative crate
SplitFeatures
Split large feature into specific ones
ConsolidateFeatures
Consolidate multiple small features
RemoveDependency
Remove entire unused dependency
Trait Implementations§
Source§impl Clone for RecommendationType
impl Clone for RecommendationType
Source§fn clone(&self) -> RecommendationType
fn clone(&self) -> RecommendationType
Returns a duplicate 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 RecommendationType
impl Debug for RecommendationType
Source§impl PartialEq for RecommendationType
impl PartialEq for RecommendationType
impl StructuralPartialEq for RecommendationType
Auto Trait Implementations§
impl Freeze for RecommendationType
impl RefUnwindSafe for RecommendationType
impl Send for RecommendationType
impl Sync for RecommendationType
impl Unpin for RecommendationType
impl UnwindSafe for RecommendationType
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