[][src]Enum libosu::HitObjectKind

pub enum HitObjectKind {
    Circle,
    Slider {
        kind: SliderSplineKind,
        control: Vec<Point<i32>>,
        num_repeats: u32,
        pixel_length: f64,
        edge_additions: Vec<Additions>,
        edge_samplesets: Vec<(SampleSet, SampleSet)>,
    },
    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.

num_repeats: u32

The number of times this slider should repeat.

pixel_length: f64

How long this slider is in pixels.

edge_additions: Vec<Additions>

Hitsounds on each repeat of the slider

edge_samplesets: Vec<(SampleSet, SampleSet)>

Additions on each repeat of the slider

Spinner

Spinner.

Fields of Spinner

end_time: TimeLocation

The time at which the slider ends.

Trait Implementations

impl Clone for HitObjectKind[src]

impl Debug for HitObjectKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.