[][src]Struct libosu::Hitsound

pub struct Hitsound {
    pub time: TimeLocation,
    pub sample: SampleSet,
    pub additions: Additions,
    pub sample_set: i32,
    pub addition_set: i32,
    pub custom_index: i32,
    pub sample_volume: i32,
    pub filename: String,
}

A hitsound "item" represents a single "hitsound".

Fields

time: TimeLocation

The time at which this hitsound occurs.

sample: SampleSet

The sample (normal/soft/drum) this hitsound uses.

additions: Additions

The additions (whistle, finish, clap) attached to this hitsound.

sample_set: i32

TODO: additional field

addition_set: i32

TODO: additional field

custom_index: i32

TODO: additional field

sample_volume: i32

TODO: additional field

filename: String

TODO: additional field

Trait Implementations

impl Clone for Hitsound[src]

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