Struct rosu_pp::model::hit_object::HitObject
source · pub struct HitObject {
pub pos: Pos,
pub start_time: f64,
pub kind: HitObjectKind,
}
Expand description
All hitobject related data required for difficulty and performance
calculation except for the HitSoundType
.
Fields§
§pos: Pos
§start_time: f64
§kind: HitObjectKind
Implementations§
Trait Implementations§
source§impl PartialEq for HitObject
impl PartialEq for HitObject
source§impl PartialOrd for HitObject
impl PartialOrd for HitObject
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for HitObject
Auto Trait Implementations§
impl Freeze for HitObject
impl RefUnwindSafe for HitObject
impl Send for HitObject
impl Sync for HitObject
impl Unpin for HitObject
impl UnwindSafe for HitObject
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