[][src]Struct osu_db::listing::TimingPoint

pub struct TimingPoint {
    pub bpm: f64,
    pub offset: f64,
    pub inherits: bool,
}

Fields

bpm: f64

The bpm of the timing point.

offset: f64

The amount of milliseconds from the start of the song this timing point is located on.

inherits: bool

Whether the timing point inherits or not.

Basically, inherited timing points are absolute, and define a new bpm independent of any previous bpms. On the other hand, timing points that do not inherit have a negative bpm representing a percentage of the bpm of the previous timing point. See the osu wiki on the .osu format for more details.

Trait Implementations

impl Clone for TimingPoint[src]

impl Debug for TimingPoint[src]

impl PartialEq<TimingPoint> for TimingPoint[src]

impl StructuralPartialEq for TimingPoint[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.