pub enum NoteEchoChannelPolicy {
Preserve,
Fixed(Channel),
Offset(i8),
}Expand description
Controls which channel each echoed note is emitted on.
Variants§
Preserve
Keep the source note’s channel.
Fixed(Channel)
Force every echo onto a fixed channel.
Offset(i8)
Shift the channel by offset per repeat, wrapping within 0..=15.
Trait Implementations§
Source§impl Clone for NoteEchoChannelPolicy
impl Clone for NoteEchoChannelPolicy
Source§fn clone(&self) -> NoteEchoChannelPolicy
fn clone(&self) -> NoteEchoChannelPolicy
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 NoteEchoChannelPolicy
Source§impl Debug for NoteEchoChannelPolicy
impl Debug for NoteEchoChannelPolicy
impl Eq for NoteEchoChannelPolicy
Source§impl PartialEq for NoteEchoChannelPolicy
impl PartialEq for NoteEchoChannelPolicy
Source§fn eq(&self, other: &NoteEchoChannelPolicy) -> bool
fn eq(&self, other: &NoteEchoChannelPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NoteEchoChannelPolicy
Auto Trait Implementations§
impl Freeze for NoteEchoChannelPolicy
impl RefUnwindSafe for NoteEchoChannelPolicy
impl Send for NoteEchoChannelPolicy
impl Sync for NoteEchoChannelPolicy
impl Unpin for NoteEchoChannelPolicy
impl UnsafeUnpin for NoteEchoChannelPolicy
impl UnwindSafe for NoteEchoChannelPolicy
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