pub struct MatchWeights {
pub signature: f64,
pub context: f64,
pub semantic: f64,
pub fuzzy: f64,
}Expand description
Weights for combining matcher scores.
Fields§
§signature: f64§context: f64§semantic: f64§fuzzy: f64Trait Implementations§
Source§impl Clone for MatchWeights
impl Clone for MatchWeights
Source§fn clone(&self) -> MatchWeights
fn clone(&self) -> MatchWeights
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 MatchWeights
impl Debug for MatchWeights
Auto Trait Implementations§
impl Freeze for MatchWeights
impl RefUnwindSafe for MatchWeights
impl Send for MatchWeights
impl Sync for MatchWeights
impl Unpin for MatchWeights
impl UnsafeUnpin for MatchWeights
impl UnwindSafe for MatchWeights
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