pub struct NoteTarget {
pub note_id: i32,
pub port_index: i16,
pub channel: i16,
pub key: i16,
}Expand description
Note-scope fields shared by CLAP note / expression / per-note-mod events.
Fields§
§note_id: i32§port_index: i16§channel: i16§key: i16Implementations§
Source§impl NoteTarget
impl NoteTarget
pub const UNSPECIFIED: NoteTarget
Sourcepub const fn is_voice_scoped(self) -> bool
pub const fn is_voice_scoped(self) -> bool
Host scoped this event to a voice (note_id, key, or channel set).
Unspecified (-1) everywhere is mono (knob / Params).
Trait Implementations§
Source§impl Clone for NoteTarget
impl Clone for NoteTarget
Source§fn clone(&self) -> NoteTarget
fn clone(&self) -> NoteTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoteTarget
Source§impl Debug for NoteTarget
impl Debug for NoteTarget
impl Eq for NoteTarget
Source§impl PartialEq for NoteTarget
impl PartialEq for NoteTarget
impl StructuralPartialEq for NoteTarget
Auto Trait Implementations§
impl Forget for NoteTarget
impl Freeze for NoteTarget
impl RefUnwindSafe for NoteTarget
impl Send for NoteTarget
impl Sync for NoteTarget
impl Unpin for NoteTarget
impl UnsafeUnpin for NoteTarget
impl UnwindSafe for NoteTarget
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