Enum rosu_map::section::hit_objects::HitObjectKind
source · pub enum HitObjectKind {
Circle(HitObjectCircle),
Slider(HitObjectSlider),
Spinner(HitObjectSpinner),
Hold(HitObjectHold),
}Expand description
Additional data for a HitObject depending on its type.
Variants§
Implementations§
source§impl HitObjectKind
impl HitObjectKind
sourcepub const fn new_combo(&self) -> bool
pub const fn new_combo(&self) -> bool
Whether the HitObjectKind starts a new combo.
Trait Implementations§
source§impl Clone for HitObjectKind
impl Clone for HitObjectKind
source§fn clone(&self) -> HitObjectKind
fn clone(&self) -> HitObjectKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HitObjectKind
impl Debug for HitObjectKind
source§impl PartialEq for HitObjectKind
impl PartialEq for HitObjectKind
source§fn eq(&self, other: &HitObjectKind) -> bool
fn eq(&self, other: &HitObjectKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HitObjectKind
Auto Trait Implementations§
impl RefUnwindSafe for HitObjectKind
impl Send for HitObjectKind
impl Sync for HitObjectKind
impl Unpin for HitObjectKind
impl UnwindSafe for HitObjectKind
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