Gradual calculation now requires the gradual feature to be enabled.
Types of gradual calculation have been renamed to drop the Attributes suffix e.g. GradualDifficultyAttributes is now GradualDifficulty.
Types of gradual calculation that depend on a lifetime now have a counterpart without a lifetime that may clone underlying data along the way e.g. CatchGradualDifficulty<'_> now has the counterpart CatchOwnedGradualDifficulty.
OsuGradualDifficulty and GradualDifficulty no longer implement Clone.
Gradual performance methods process_next_object and process_next_n_objects have been renamed to next and nth, respectively. They now also have the new method last.
Similar to Iterator::nth, gradual performance calculators' method nth is now zero-indexed i.e. passing n=0 will process 1 object, n=1 will process 2, and so on.
Also fixed some minor issues along the way like off-by-one errors and slight inefficiencies.
gradual
feature to be enabled.Attributes
suffix e.g.GradualDifficultyAttributes
is nowGradualDifficulty
.CatchGradualDifficulty<'_>
now has the counterpartCatchOwnedGradualDifficulty
.OsuGradualDifficulty
andGradualDifficulty
no longer implementClone
.process_next_object
andprocess_next_n_objects
have been renamed tonext
andnth
, respectively. They now also have the new methodlast
.Iterator::nth
, gradual performance calculators' methodnth
is now zero-indexed i.e. passingn=0
will process 1 object,n=1
will process 2, and so on.Also fixed some minor issues along the way like off-by-one errors and slight inefficiencies.