pub struct Notes {
pub notes: Vec<Note>,
pub flags: NotesFlags,
pub pattern: Option<u32>,
pub channel: Option<u32>,
}Expand description
Collection of notes, which you can add to the piano roll using
Host::on_message with message
plugin::message::AddToPianoRoll.
Fields§
§notes: Vec<Note>Notes.
flags: NotesFlagsSee NotesFlags.
pattern: Option<u32>Pattern number. None for current.
channel: Option<u32>Channel number. None for plugin’s channel, or selected channel if plugin is an effect.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notes
impl RefUnwindSafe for Notes
impl Send for Notes
impl Sync for Notes
impl Unpin for Notes
impl UnwindSafe for Notes
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