[][src]Struct beatmap_parser::info::Info

pub struct Info {
    pub version: Version,
    pub song_name: String,
    pub song_sub_name: String,
    pub song_author_name: String,
    pub level_author_name: String,
    pub beats_per_minute: f64,
    pub song_time_offset: f64,
    pub shuffle: f64,
    pub shuffle_period: f64,
    pub preview_start_time: f64,
    pub preview_duration: f64,
    pub song_filename: String,
    pub cover_image_filename: String,
    pub environment_name: Environment,
    pub custom_data: CustomData,
    pub difficulty_beatmap_sets: Vec<DifficultyBeatmapSet>,
}

Represents an info.dat file

Fields

version: Version

Format version

song_name: String

Name of the song

song_sub_name: String

Text rendered in smaller letters next to song name

song_author_name: String

Author of the song itself

level_author_name: String

Mapper of the song

beats_per_minute: f64

BPM of the song

song_time_offset: f64

Offset playing the audio, in seconds

shuffle: f64shuffle_period: f64preview_start_time: f64

Audio preview starting point, in seconds

preview_duration: f64

Audio preview length, in seconds

song_filename: String

Audio file name

cover_image_filename: String

Cover file name

environment_name: Environment

Game environment to use

custom_data: CustomData

Custom data used by mods

difficulty_beatmap_sets: Vec<DifficultyBeatmapSet>

A set of maps for a given characteristic

Trait Implementations

impl Debug for Info[src]

impl Serialize for Info[src]

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

Auto Trait Implementations

impl Sync for Info

impl Send for Info

impl Unpin for Info

impl RefUnwindSafe for Info

impl UnwindSafe for Info

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,