Enum libosu::HitObjectKind [−][src]
pub enum HitObjectKind { Circle, Slider { kind: SliderSplineKind, control: Vec<Point<i32>>, repeats: u32, pixel_length: f64, duration: u32, }, Spinner { end_time: TimeLocation, }, }
Distinguishes between different types of hit objects.
Variants
Circle
Regular hit circle.
Slider
Slider.
Fields of Slider
kind: SliderSplineKind | The algorithm used to calculate the spline. |
control: Vec<Point<i32>> | The control points that make up the body of the slider. |
repeats: u32 | The number of times this slider should repeat. |
pixel_length: f64 | How long this slider is in pixels. |
duration: u32 | The number of milliseconds long that this slider lasts. |
Spinner
Spinner.
Fields of Spinner
end_time: TimeLocation | The time at which the slider ends. |
Trait Implementations
impl Clone for HitObjectKind
[src]
impl Clone for HitObjectKind
fn clone(&self) -> HitObjectKind
[src]
fn clone(&self) -> HitObjectKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HitObjectKind
[src]
impl Debug for HitObjectKind
Auto Trait Implementations
impl Send for HitObjectKind
impl Send for HitObjectKind
impl Sync for HitObjectKind
impl Sync for HitObjectKind