pub struct ScoredBullet {
pub bullet: Bullet,
pub score: f64,
pub score_breakdown: HashMap<String, f64>,
}Expand description
Bullet with its calculated relevance score.
Fields§
§bullet: Bullet§score: f64§score_breakdown: HashMap<String, f64>Trait Implementations§
Source§impl Clone for ScoredBullet
impl Clone for ScoredBullet
Source§fn clone(&self) -> ScoredBullet
fn clone(&self) -> ScoredBullet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScoredBullet
impl RefUnwindSafe for ScoredBullet
impl Send for ScoredBullet
impl Sync for ScoredBullet
impl Unpin for ScoredBullet
impl UnsafeUnpin for ScoredBullet
impl UnwindSafe for ScoredBullet
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