Enum rosu_pp::model::hit_object::HitObjectKind
source · pub enum HitObjectKind {
Circle,
Slider(Slider),
Spinner(Spinner),
Hold(HoldNote),
}
Expand description
Additional data for a HitObject
.
Note that each mode handles hit objects differently.
Variants§
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 Freeze for HitObjectKind
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