pub struct StrategyRecommendation {
pub config: CompilationConfig,
pub confidence: f64,
pub rationale: String,
pub alternatives: Vec<(CompilationConfig, f64, String)>,
}Expand description
Strategy recommendation with confidence score.
Fields§
§config: CompilationConfigRecommended configuration
confidence: f64Confidence score (0.0 to 1.0)
rationale: StringExplanation for the recommendation
alternatives: Vec<(CompilationConfig, f64, String)>Alternative configurations (if any)
Trait Implementations§
Source§impl Clone for StrategyRecommendation
impl Clone for StrategyRecommendation
Source§fn clone(&self) -> StrategyRecommendation
fn clone(&self) -> StrategyRecommendation
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 moreAuto Trait Implementations§
impl Freeze for StrategyRecommendation
impl RefUnwindSafe for StrategyRecommendation
impl Send for StrategyRecommendation
impl Sync for StrategyRecommendation
impl Unpin for StrategyRecommendation
impl UnwindSafe for StrategyRecommendation
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