Feat: mixed bag
This commit is contained in:
@@ -20,6 +20,7 @@ pub enum PatternField {
|
||||
pub enum PatternPropsField {
|
||||
#[default]
|
||||
Name,
|
||||
Description,
|
||||
Length,
|
||||
Speed,
|
||||
Quantization,
|
||||
@@ -32,7 +33,8 @@ pub enum PatternPropsField {
|
||||
impl PatternPropsField {
|
||||
pub fn next(&self, follow_up_is_chain: bool) -> Self {
|
||||
match self {
|
||||
Self::Name => Self::Length,
|
||||
Self::Name => Self::Description,
|
||||
Self::Description => Self::Length,
|
||||
Self::Length => Self::Speed,
|
||||
Self::Speed => Self::Quantization,
|
||||
Self::Quantization => Self::SyncMode,
|
||||
@@ -47,7 +49,8 @@ impl PatternPropsField {
|
||||
pub fn prev(&self, follow_up_is_chain: bool) -> Self {
|
||||
match self {
|
||||
Self::Name => Self::Name,
|
||||
Self::Length => Self::Name,
|
||||
Self::Description => Self::Name,
|
||||
Self::Length => Self::Description,
|
||||
Self::Speed => Self::Length,
|
||||
Self::Quantization => Self::Speed,
|
||||
Self::SyncMode => Self::Quantization,
|
||||
|
||||
Reference in New Issue
Block a user