Struct etterna::Wife2 [−][src]
2nd revision of Etterna’s Wife scoring system
Trait Implementations
impl Wife for Wife2
[src]
const MISS_WEIGHT: f32
[src]
const HOLD_DROP_WEIGHT: f32
[src]
const MINE_HIT_WEIGHT: f32
[src]
fn calc_deviation(deviation: f32, judge: &Judge) -> f32
[src]
fn calc(hit: Hit, judge: &Judge) -> f32
[src]
fn apply(
note_hits: impl IntoIterator<Item = Hit>,
num_mine_hits: u32,
num_hold_drops: u32,
judge: &Judge
) -> Option<Wifescore>
[src]
note_hits: impl IntoIterator<Item = Hit>,
num_mine_hits: u32,
num_hold_drops: u32,
judge: &Judge
) -> Option<Wifescore>
Auto Trait Implementations
impl RefUnwindSafe for Wife2
impl Send for Wife2
impl Sync for Wife2
impl Unpin for Wife2
impl UnwindSafe for Wife2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,