pub struct RankingInput<'a> {
pub pool: &'a [String],
pub excluded: &'a [String],
pub mode: &'a RankMode,
pub bias: &'a Bias,
pub scope: &'a ScoreScope,
pub lineage: &'a Lineage,
pub tie_order: Option<&'a [String]>,
}Expand description
Inputs already resolved by the caller. excluded includes truncated ids.
tie_order is a resolved, statically exact-derived order_of source.
Fields§
§pool: &'a [String]§excluded: &'a [String]§mode: &'a RankMode§bias: &'a Bias§scope: &'a ScoreScope§lineage: &'a LineageUnion of candidate, projection and tie-break source lineage (3.11.1).
tie_order: Option<&'a [String]>Auto Trait Implementations§
impl<'a> Freeze for RankingInput<'a>
impl<'a> RefUnwindSafe for RankingInput<'a>
impl<'a> Send for RankingInput<'a>
impl<'a> Sync for RankingInput<'a>
impl<'a> Unpin for RankingInput<'a>
impl<'a> UnsafeUnpin for RankingInput<'a>
impl<'a> UnwindSafe for RankingInput<'a>
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