pub struct Note {
pub note_type: NoteType,
pub beat_number: u32,
pub note_length: Option<u32>,
pub note_tone: Option<i32>,
pub lyric: Option<String>,
}
Expand description
Note information
Fields§
§note_type: NoteType
§beat_number: u32
Number of beats after start of the song when this note happens
note_length: Option<u32>
Number of beats this note lasts
note_tone: Option<i32>
§lyric: Option<String>
String content for this note
Trait Implementations§
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