pub struct ScoredPattern<L, V> {
pub pattern: Pattern<L, V>,
pub score: PatternScore,
}Expand description
A candidate pattern paired with its evaluation scores.
Fields§
§pattern: Pattern<L, V>The candidate pattern.
score: PatternScoreEvaluation scores from all evaluators.
Trait Implementations§
Source§impl<L: Clone, V: Clone> Clone for ScoredPattern<L, V>
impl<L: Clone, V: Clone> Clone for ScoredPattern<L, V>
Source§fn clone(&self) -> ScoredPattern<L, V>
fn clone(&self) -> ScoredPattern<L, V>
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<L, V> Freeze for ScoredPattern<L, V>
impl<L, V> RefUnwindSafe for ScoredPattern<L, V>where
L: RefUnwindSafe,
V: RefUnwindSafe,
impl<L, V> Send for ScoredPattern<L, V>
impl<L, V> Sync for ScoredPattern<L, V>
impl<L, V> Unpin for ScoredPattern<L, V>
impl<L, V> UnsafeUnpin for ScoredPattern<L, V>
impl<L, V> UnwindSafe for ScoredPattern<L, V>where
L: UnwindSafe,
V: UnwindSafe,
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