Struct libosu::timing::TimingPoint[][src]

pub struct TimingPoint {
    pub time: Millis,
    pub kiai: bool,
    pub sample_set: SampleSet,
    pub sample_index: u32,
    pub volume: u16,
    pub kind: TimingPointKind,
}

A timing point, which represents configuration settings for a timing section.

This is a generic timing point struct representing both inherited and uninherited timing points, distinguished by the kind field.

Fields

time: Millis

The timestamp of this timing point, represented as a TimeLocation.

kiai: bool

Whether or not Kiai time should be on for this timing point.

sample_set: SampleSet

The sample set associated with this timing section.

sample_index: u32

Index (if using a custom sample)

volume: u16

Volume of this timing section.

kind: TimingPointKind

The type of this timing point. See TimingPointKind.

Trait Implementations

impl Clone for TimingPoint[src]

impl Debug for TimingPoint[src]

impl<'de> Deserialize<'de> for TimingPoint[src]

impl Display for TimingPoint[src]

impl Eq for TimingPoint[src]

impl FromStr for TimingPoint[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Ord for TimingPoint[src]

impl PartialEq<TimingPoint> for TimingPoint[src]

impl PartialOrd<TimingPoint> for TimingPoint[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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> ToString for T where
    T: Display + ?Sized
[src]

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.