Struct etterna::Judge [−][src]
Specification of a judgement level
For detailed information, see this spreadsheet from Foxfire and poco0317
Fields
name: &'static str
marvelous_window: f32
perfect_window: f32
great_window: f32
good_window: f32
bad_window: f32
hold_window: f32
roll_window: f32
mine_window: f32
This is the window in which you can hit a mine, assuming no notes are prioritized. This is a +/- value.
Before universal mine timing the mine window was equal to the current judge’s great window.
Implementations
impl Judge
[src]
pub fn classify(&self, deviation: f32) -> TapJudgement
[src]
Classifies a tap deviation in seconds to a judgement. The parameter can be negative.
pub fn is_cb(&self, deviation: f32) -> bool
[src]
Whether the given deviation is a combo breaker (CB)
pub fn is_marv(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered marvelous
pub fn is_perf(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered perfect
pub fn is_great(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered great
pub fn is_good(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered good
pub fn is_bad(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered bad
pub fn is_miss(&self, deviation: f32) -> bool
[src]
Whether the given deviation is considered a bad
Auto Trait Implementations
impl RefUnwindSafe for Judge
impl Send for Judge
impl Sync for Judge
impl Unpin for Judge
impl UnwindSafe for Judge
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>,