pub struct ScoreWeights {
pub proper_noun_weight: f64,
pub unknown_word_weight: f64,
pub number_mismatch_weight: f64,
}
Fields§
§proper_noun_weight: f64
§unknown_word_weight: f64
§number_mismatch_weight: f64
Trait Implementations§
Source§impl Clone for ScoreWeights
impl Clone for ScoreWeights
Source§fn clone(&self) -> ScoreWeights
fn clone(&self) -> ScoreWeights
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 moreAuto Trait Implementations§
impl Freeze for ScoreWeights
impl RefUnwindSafe for ScoreWeights
impl Send for ScoreWeights
impl Sync for ScoreWeights
impl Unpin for ScoreWeights
impl UnwindSafe for ScoreWeights
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