pub struct PpResult {
pub mode: u8,
pub mods: u32,
pub pp: f32,
pub raw: PpRaw,
pub attributes: StarResult,
}Expand description
Basic struct containing the result of a PP calculation.
Fields§
§mode: u8§mods: u32§pp: f32§raw: PpRaw§attributes: StarResultImplementations§
Trait Implementations§
Source§impl AttributeProvider for PpResult
impl AttributeProvider for PpResult
fn attributes(self) -> StarResult
Source§impl FruitsAttributeProvider for PpResult
Available on crate feature fruits only.
impl FruitsAttributeProvider for PpResult
Available on crate feature
fruits only.fn attributes(self) -> Option<DifficultyAttributes>
Source§impl ManiaAttributeProvider for PpResult
Available on crate feature mania only.
impl ManiaAttributeProvider for PpResult
Available on crate feature
mania only.fn attributes(self) -> Option<f32>
Source§impl OsuAttributeProvider for PpResult
Available on crate feature osu only.
impl OsuAttributeProvider for PpResult
Available on crate feature
osu only.fn attributes(self) -> Option<DifficultyAttributes>
Source§impl TaikoAttributeProvider for PpResult
Available on crate feature taiko only.
impl TaikoAttributeProvider for PpResult
Available on crate feature
taiko only.fn attributes(self) -> Option<f32>
Auto Trait Implementations§
impl Freeze for PpResult
impl RefUnwindSafe for PpResult
impl Send for PpResult
impl Sync for PpResult
impl Unpin for PpResult
impl UnwindSafe for PpResult
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