Struct Performance Voice
pub struct PerformanceVoice {
pub target: Option<NoteTarget>,
pub phase: PerformancePhase,
pub velocity: f32,
pub release_velocity: f32,
pub expression: PerformanceExpression,
/* private fields */
}Expand description
One fixed slot. Owned targets always have concrete channel/key; ID is optional.
Fields§
§target: Option<NoteTarget>§phase: PerformancePhase§velocity: f32Unquantized normalized f32; a zero-velocity On remains Held.
release_velocity: f32§expression: PerformanceExpressionTrait Implementations§
§impl Clone for PerformanceVoice
impl Clone for PerformanceVoice
§fn clone(&self) -> PerformanceVoice
fn clone(&self) -> PerformanceVoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerformanceVoice
§impl Debug for PerformanceVoice
impl Debug for PerformanceVoice
§impl Default for PerformanceVoice
impl Default for PerformanceVoice
§impl PartialEq for PerformanceVoice
impl PartialEq for PerformanceVoice
impl StructuralPartialEq for PerformanceVoice
Auto Trait Implementations§
impl Freeze for PerformanceVoice
impl RefUnwindSafe for PerformanceVoice
impl Send for PerformanceVoice
impl Sync for PerformanceVoice
impl Unpin for PerformanceVoice
impl UnsafeUnpin for PerformanceVoice
impl UnwindSafe for PerformanceVoice
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more