pub enum VoicePhase {
Held,
SustainHeld,
Released,
}Expand description
The lifecycle phase of a voice in the pool.
Variants§
Held
Key is held down.
SustainHeld
Key released but held by the sustain pedal.
Released
Voice is in its release stage.
Trait Implementations§
Source§impl Clone for VoicePhase
impl Clone for VoicePhase
Source§fn clone(&self) -> VoicePhase
fn clone(&self) -> VoicePhase
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 VoicePhase
Source§impl Debug for VoicePhase
impl Debug for VoicePhase
impl Eq for VoicePhase
Source§impl PartialEq for VoicePhase
impl PartialEq for VoicePhase
impl StructuralPartialEq for VoicePhase
Auto Trait Implementations§
impl Freeze for VoicePhase
impl RefUnwindSafe for VoicePhase
impl Send for VoicePhase
impl Sync for VoicePhase
impl Unpin for VoicePhase
impl UnsafeUnpin for VoicePhase
impl UnwindSafe for VoicePhase
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