pub enum GainMode {
Gain,
Lift,
}Expand description
Whether a GainChart shows the cumulative gain curve or the lift curve.
Variants§
Gain
Fraction targeted vs fraction of positives captured; baseline is y = x.
Lift
Fraction targeted vs lift (gain / fraction); baseline is y = 1.
Trait Implementations§
impl Copy for GainMode
impl Eq for GainMode
impl StructuralPartialEq for GainMode
Auto Trait Implementations§
impl Freeze for GainMode
impl RefUnwindSafe for GainMode
impl Send for GainMode
impl Sync for GainMode
impl Unpin for GainMode
impl UnsafeUnpin for GainMode
impl UnwindSafe for GainMode
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