pub struct BmsonInfo {Show 18 fields
pub title: String,
pub subtitle: String,
pub artist: String,
pub subartists: Option<Vec<String>>,
pub genre: String,
pub mode_hint: String,
pub chart_name: String,
pub level: u32,
pub init_bpm: f64,
pub judge_rank: f64,
pub total: f64,
pub back_image: Option<String>,
pub eyecatch_image: Option<String>,
pub title_image: Option<String>,
pub banner_image: Option<String>,
pub preview_music: Option<String>,
pub resolution: u32,
pub ln_type: Option<LongNoteType>,
}Expand description
ヘッダー
Fields§
§title: Stringタイトル
subtitle: Stringサブタイトル
artist: Stringアーティスト
subartists: Option<Vec<String>>サブアーティスト
genre: Stringジャンル
mode_hint: Stringプレイ方法のヒント
beat-7k・popn-5k・generic-nkeysなど
chart_name: String難易度
HYPER・FOUR DIMENSIONSなど
level: u32レベル
init_bpm: f64初期BPM
曲選択画面の表示などにも使う
judge_rank: f64判定幅
100を初期値とする
total: f64ゲージ増加の総数
全て最良判定のときのゲージの増加量
某ゲームでは、総ノーツ数をnとしたとき、7.605 * n / (0.01 * n + 6.5) となる
back_image: Option<String>背景画像
eyecatch_image: Option<String>アイキャッチ画像
title_image: Option<String>タイトル画像
バナー画像
preview_music: Option<String>プレビュー音声
resolution: u32分解能
四分音符1つに対応するパルス数
240が初期値
ln_type: Option<LongNoteType>ロングノートの種類(beatoraja拡張)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BmsonInfo
impl<'de> Deserialize<'de> for BmsonInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BmsonInfo
Auto Trait Implementations§
impl Freeze for BmsonInfo
impl RefUnwindSafe for BmsonInfo
impl Send for BmsonInfo
impl Sync for BmsonInfo
impl Unpin for BmsonInfo
impl UnwindSafe for BmsonInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more