pub struct Note {
pub period: u16,
pub sample: u8,
pub effect: u8,
pub effect_param: u8,
}Expand description
A single decoded pattern row entry for one channel.
Fields§
§period: u16Period value (0 means “no new note”).
sample: u8Sample index 1..=31 (0 means “no sample change”).
effect: u8Effect command nibble (0..=0xF).
effect_param: u8Effect parameter byte.
Trait Implementations§
impl Copy 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 UnsafeUnpin 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