#[non_exhaustive]pub enum KitStyle {
Classic,
Acoustic,
Electronic,
Eight08,
}Expand description
Which drum-kit voicing the kit seq wave synthesizes. Every style follows
the same General MIDI note map; they differ only in how each drum is
synthesized. Classic is the original kit — omitting kit (or setting it to
classic) renders byte-identically to before this field existed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Classic
The original synthesized GM kit.
Acoustic
A deeper, more realistic acoustic kit — punchier kick, tuned snare body, ringier toms, shimmery cymbals.
Electronic
Clean synthesized electronic drums — tight, punchy, crisp.
Eight08
Roland TR-808 style — a long booming sub kick, ringy cowbell, snappy snare, tick-y percussion.
Trait Implementations§
impl Copy for KitStyle
Source§impl<'de> Deserialize<'de> for KitStyle
impl<'de> Deserialize<'de> for KitStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for KitStyle
impl JsonSchema for KitStyle
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for KitStyle
Auto Trait Implementations§
impl Freeze for KitStyle
impl RefUnwindSafe for KitStyle
impl Send for KitStyle
impl Sync for KitStyle
impl Unpin for KitStyle
impl UnsafeUnpin for KitStyle
impl UnwindSafe for KitStyle
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