doc: fixed broken doc links
This commit is contained in:
@@ -17,14 +17,14 @@ use super::{
|
||||
|
||||
/// Gradually calculate the difficulty attributes of an osu!catch map.
|
||||
///
|
||||
/// Note that this struct implements [`Iterator`](std::iter::Iterator).
|
||||
/// On every call of [`Iterator::next`](std::iter::Iterator::next), the map's next fruit or droplet
|
||||
/// Note that this struct implements [`Iterator`].
|
||||
/// On every call of [`Iterator::next`], the map's next fruit or droplet
|
||||
/// will be processed and the [`CatchDifficultyAttributes`] will be updated and returned.
|
||||
///
|
||||
/// Note that it does not return attributes after a tiny droplet. Only for fruits and droplets.
|
||||
///
|
||||
/// If you want to calculate performance attributes, use
|
||||
/// [`CatchGradualPerformanceAttributes`](crate::catch::CatchGradualPerformance) instead.
|
||||
/// [`CatchGradualPerformance`](crate::catch::CatchGradualPerformance) instead.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
|
||||
@@ -4,11 +4,9 @@ use super::{CatchGradualDifficulty, CatchPerformanceAttributes, CatchScoreState}
|
||||
|
||||
/// Gradually calculate the performance attributes of an osu!catch map.
|
||||
///
|
||||
/// After each hit object you can call
|
||||
/// [`next`](`CatchGradualPerformanceAttributes::next`)
|
||||
/// After each hit object you can call [`next`](`CatchGradualPerformance::next`)
|
||||
/// and it will return the resulting current [`CatchPerformanceAttributes`].
|
||||
/// To process multiple objects at once, use
|
||||
/// [`nth`](`CatchGradualPerformanceAttributes::nth`) instead.
|
||||
/// To process multiple objects at once, use [`nth`](`CatchGradualPerformance::nth`) instead.
|
||||
///
|
||||
/// Both methods require a [`CatchScoreState`] that contains the current
|
||||
/// hitresults as well as the maximum combo so far.
|
||||
@@ -16,8 +14,7 @@ use super::{CatchGradualDifficulty, CatchPerformanceAttributes, CatchScoreState}
|
||||
/// Note that neither hits nor misses of tiny droplets require
|
||||
/// to be processed. Only fruits and droplets do.
|
||||
///
|
||||
/// If you only want to calculate difficulty attributes use
|
||||
/// [`CatchGradualDifficultyAttributes`](crate::catch::CatchGradualDifficulty) instead.
|
||||
/// If you only want to calculate difficulty attributes use [`CatchGradualDifficulty`] instead.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/// Aggregation for a score's current state i.e. what was the
|
||||
/// maximum combo so far and what are the current hitresults.
|
||||
///
|
||||
/// This struct is used for [`CatchGradualPerformanceAttributes`].
|
||||
#[derive(Clone, Debug, Default, Eq, PartialEq)]
|
||||
pub struct CatchScoreState {
|
||||
/// Maximum combo that the score has had so far.
|
||||
|
||||
Reference in New Issue
Block a user