[][src]Struct libosu::SliderInfo

pub struct SliderInfo {
    pub kind: SliderSplineKind,
    pub control_points: Vec<Point<i32>>,
    pub num_repeats: u32,
    pub pixel_length: f64,
    pub edge_additions: Vec<Additions>,
    pub edge_samplesets: Vec<(SampleSet, SampleSet)>,
}

Extra information provided by a slider.

Fields

kind: SliderSplineKind

The algorithm used to calculate the spline.

control_points: 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

Trait Implementations

impl Clone for SliderInfo[src]

impl Debug for SliderInfo[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.