Enum xsynth_core::channel_group::SynthFormat
source · pub enum SynthFormat {
Midi,
Custom {
channels: u32,
},
}
Expand description
Controls the channel format that will be used in the synthesizer.
Variants§
Midi
Standard MIDI format with 16 channels. Channel 10 will be used for percussion.
Custom
Creates a custom number of channels with the default settings.
Trait Implementations§
source§impl Clone for SynthFormat
impl Clone for SynthFormat
source§fn clone(&self) -> SynthFormat
fn clone(&self) -> SynthFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SynthFormat
impl Debug for SynthFormat
source§impl Default for SynthFormat
impl Default for SynthFormat
source§fn default() -> SynthFormat
fn default() -> SynthFormat
Returns the “default value” for a type. Read more
source§impl PartialEq for SynthFormat
impl PartialEq for SynthFormat
impl Copy for SynthFormat
impl Eq for SynthFormat
impl StructuralPartialEq for SynthFormat
Auto Trait Implementations§
impl Freeze for SynthFormat
impl RefUnwindSafe for SynthFormat
impl Send for SynthFormat
impl Sync for SynthFormat
impl Unpin for SynthFormat
impl UnwindSafe for SynthFormat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)