pub enum Matching {
Exact,
Transposed,
Transformed,
Multiset,
TransposedMultiset,
TransposedInvertedMultiset,
}Expand description
How a SegmentMatcher tells a run of pitch classes the same as one
searched for.
Variants§
Exact
The same pitch classes in the same order: music21’s
SegmentMatcher.
Transposed
The same intervals in the same order: music21’s
TransposedSegmentMatcher.
Transformed
A transposition, inversion, retrograde or retrograde inversion:
music21’s TransformedSegmentMatcher.
Multiset
The same pitch classes in any order: music21’s
MultisetSegmentMatcher.
TransposedMultiset
The same pitch classes in any order, transposed: music21’s
TransposedMultisetMatcher.
TransposedInvertedMultiset
The same pitch classes in any order, transposed or inverted:
music21’s TransposedInvertedMultisetMatcher.
Trait Implementations§
impl Copy for Matching
impl Eq for Matching
impl StructuralPartialEq for Matching
Auto Trait Implementations§
impl Freeze for Matching
impl RefUnwindSafe for Matching
impl Send for Matching
impl Sync for Matching
impl Unpin for Matching
impl UnsafeUnpin for Matching
impl UnwindSafe for Matching
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more