Struct UncommonHeader

Source
pub struct UncommonHeader<'a> {
Show 26 fields pub ex_rank: HashMap<usize, f64>, pub character_file: Option<&'a str>, pub maker: Option<&'a str>, pub comment: Vec<&'a str>, pub text: HashMap<usize, &'a str>, pub path_wav: Option<&'a str>, pub stp: Vec<(usize, u32, f64)>, pub oct_fp: bool, pub option: Vec<(&'a str, &'a str)>, pub change_option: HashMap<usize, (&'a str, &'a str)>, pub wav_command: Vec<(i32, usize, f64)>, pub ex_wav: HashMap<usize, (&'a [Option<f64>; 3], &'a str)>, pub cdda: Option<u32>, pub midi_file: Option<&'a str>, pub ex_bmp: HashMap<usize, (&'a [u8; 4], &'a str)>, pub bga: HashMap<usize, (usize, &'a [[f64; 2]; 3])>, pub at_bga: HashMap<usize, (usize, &'a [[f64; 2]; 3])>, pub poor_bga: Option<i32>, pub argb: HashMap<usize, &'a [u8; 4]>, pub video_file: Option<&'a str>, pub video_fps: Option<f64>, pub video_colors: Option<u32>, pub video_delay: Option<u32>, pub movie: Option<&'a str>, pub ex_character: Option<ExCharacter<'a>>, pub other: Vec<(&'a str, &'a str)>,
}
Expand description

あまり使われないヘッダー

Fields§

§ex_rank: HashMap<usize, f64>

メインデータで指定可能な判定幅の設定

値はDefExRankと同じ扱いをすることが主流だが、DefExRankと同じように判定幅が実装依存

§character_file: Option<&'a str>§maker: Option<&'a str>

譜面制作者

§comment: Vec<&'a str>

曲選択時に表示するコメント

§text: HashMap<usize, &'a str>

プレイ中に表示するテキスト

§path_wav: Option<&'a str>

音声ファイルを読み込むときに参照するフォルダ

§stp: Vec<(usize, u32, f64)>§oct_fp: bool§option: Vec<(&'a str, &'a str)>§change_option: HashMap<usize, (&'a str, &'a str)>§wav_command: Vec<(i32, usize, f64)>§ex_wav: HashMap<usize, (&'a [Option<f64>; 3], &'a str)>§cdda: Option<u32>§midi_file: Option<&'a str>§ex_bmp: HashMap<usize, (&'a [u8; 4], &'a str)>§bga: HashMap<usize, (usize, &'a [[f64; 2]; 3])>§at_bga: HashMap<usize, (usize, &'a [[f64; 2]; 3])>§poor_bga: Option<i32>§argb: HashMap<usize, &'a [u8; 4]>§video_file: Option<&'a str>§video_fps: Option<f64>§video_colors: Option<u32>§video_delay: Option<u32>§movie: Option<&'a str>§ex_character: Option<ExCharacter<'a>>§other: Vec<(&'a str, &'a str)>

その他のコマンド

Trait Implementations§

Source§

impl<'a> Debug for UncommonHeader<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for UncommonHeader<'a>

Source§

fn default() -> UncommonHeader<'a>

Returns the “default value” for a type. Read more
Source§

impl<'a> PartialEq for UncommonHeader<'a>

Source§

fn eq(&self, other: &UncommonHeader<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> StructuralPartialEq for UncommonHeader<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for UncommonHeader<'a>

§

impl<'a> RefUnwindSafe for UncommonHeader<'a>

§

impl<'a> Send for UncommonHeader<'a>

§

impl<'a> Sync for UncommonHeader<'a>

§

impl<'a> Unpin for UncommonHeader<'a>

§

impl<'a> UnwindSafe for UncommonHeader<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V