[][src]Struct fpsdk::Notes

pub struct Notes {
    pub notes: Vec<Note>,
    pub flags: NotesFlags,
    pub pattern: Option<u32>,
    pub channel: Option<u32>,
}

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: NotesFlagspattern: 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

impl Debug for Notes[src]

Auto Trait Implementations

impl RefUnwindSafe for Notes

impl Send for Notes

impl Sync for Notes

impl Unpin for Notes

impl UnwindSafe for Notes

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.