pub struct RoundRobinByRank;Expand description
Interleave providers by within-provider rank: every provider’s best frame first, then every provider’s second-best, and so on.
The only score comparisons are within one provider, where F10 says the ordering is meaningful. Across providers the order is by provider id, which is arbitrary and stable rather than a claim that one source outranks another.
With one provider the ranks are 0, 1, 2, … in score order, so this is
identical to ScoreDescending — the cross-provider question does not
arise, and no strategy here invents one.
Trait Implementations§
Source§impl Clone for RoundRobinByRank
impl Clone for RoundRobinByRank
Source§fn clone(&self) -> RoundRobinByRank
fn clone(&self) -> RoundRobinByRank
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 moreimpl Copy for RoundRobinByRank
Source§impl Debug for RoundRobinByRank
impl Debug for RoundRobinByRank
Source§impl Default for RoundRobinByRank
impl Default for RoundRobinByRank
Source§fn default() -> RoundRobinByRank
fn default() -> RoundRobinByRank
Returns the “default value” for a type. Read more
impl Eq for RoundRobinByRank
Source§impl PartialEq for RoundRobinByRank
impl PartialEq for RoundRobinByRank
Source§impl RankingStrategy for RoundRobinByRank
impl RankingStrategy for RoundRobinByRank
Source§fn policy_name(&self) -> &str
fn policy_name(&self) -> &str
The policy’s name, for a host that has to state which cross-provider
ordering it applied. F10 requires a host to document the choice; a
strategy that cannot say what it is makes that impossible, which is why
this has no default implementation.
impl StructuralPartialEq for RoundRobinByRank
Auto Trait Implementations§
impl Freeze for RoundRobinByRank
impl RefUnwindSafe for RoundRobinByRank
impl Send for RoundRobinByRank
impl Sync for RoundRobinByRank
impl Unpin for RoundRobinByRank
impl UnsafeUnpin for RoundRobinByRank
impl UnwindSafe for RoundRobinByRank
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