pub enum Boost {
Const(f64),
ByType {
doc_type: &'static str,
matched: f64,
otherwise: f64,
},
}Expand description
How much a field weighs in the token → document boost.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Boost
impl Freeze for Boost
impl Move for Boost
impl RefUnwindSafe for Boost
impl Send for Boost
impl Sync for Boost
impl Unpin for Boost
impl UnsafeUnpin for Boost
impl UnwindSafe for Boost
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