Skip to main content

ScoreSortedDescending

Trait ScoreSortedDescending 

Source
pub trait ScoreSortedDescending {
    // Required method
    fn _score(
        &self,
        labels_with_weights: impl Iterator<Item = (f64, (bool, f64))> + Clone,
    ) -> f64;

    // Provided method
    fn score<P, B, W>(
        &self,
        labels_with_weights: impl Iterator<Item = (P, (B, W))> + Clone,
    ) -> f64
       where P: IntoF64,
             B: BinaryLabel,
             W: IntoF64 { ... }
}

Required Methods§

Source

fn _score( &self, labels_with_weights: impl Iterator<Item = (f64, (bool, f64))> + Clone, ) -> f64

Provided Methods§

Source

fn score<P, B, W>( &self, labels_with_weights: impl Iterator<Item = (P, (B, W))> + Clone, ) -> f64
where P: IntoF64, B: BinaryLabel, W: IntoF64,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§