pub struct Note {
pub x: Option<u32>,
pub y: u32,
pub l: u32,
pub c: bool,
pub t: Option<LongNoteType>,
pub up: Option<bool>,
}
Expand description
サウンドノート
Fields§
§x: Option<u32>
演奏レーン
0 or NullでBGM
y: u32
演奏時刻(パルス数)
l: u32
長さ(パルス数)
0で普通のノート
c: bool
続行フラグ
trueでそのまま、falseで音声の最初へもどす
t: Option<LongNoteType>
ロングノートの種類(beatoraja拡張)
up: Option<bool>
終端フラグ(beatoraja拡張)
trueでかつロングノートの終点に配置される場合、終端音として鳴らす
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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 Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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